Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 1999 17:29:44 -0600 (MDT)
From:      Doug Russell <drussell@saturn-tech.com>
To:        Paul van der Zwan <paulz@trantor.xs4all.nl>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: sio.c breaks kernel ( even GENERIC)
Message-ID:  <Pine.BSF.3.96.990507171948.28866A-100000@calvin.saturn-tech.com>
In-Reply-To: <199905072053.WAA18539@trantor.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 7 May 1999, Paul van der Zwan wrote:

> I haven't been able to get a kernel built because of some undefined references 
> in sio.o. Even GENERIC is broken.
> (cvsupped just a few minutes ago )
> 
> loading kernel
> sio.o: In function `siocnprobe':
> sio.o(.text+0x286e): undefined reference to `gdbdev'
> sio.o(.text+0x2874): undefined reference to `gdb_getc'
> sio.o(.text+0x287e): undefined reference to `gdb_putc'
> sio.o(.text+0x2895): undefined reference to `gdbdev'
> sio.o(.text+0x28c9): undefined reference to `gdbdev'
> sio.o(.text+0x28cf): undefined reference to `gdb_getc'
> sio.o(.text+0x28d9): undefined reference to `gdb_putc'
> *** Error code 1

I've supped many times in the past 18 hours or so and I also get the
above error trying to compile a kernel.  My world also still fails at:

===> usr.bin/kdump
/bin/sh /usr/src/usr.bin/kdump/mkioctls > ioctl.c
In file included from :47:
/usr/obj/usr/src/tmp/usr/include/sys/memrange.h:16: warning: `MDF_ACTIVE'
redefined
/usr/obj/usr/src/tmp/usr/include/pccard/cardinfo.h:77: warning: this is
the location of the previous definition
rm -f .depend
mkdep -f .depend -a   -nostdinc -I/usr/src/usr.bin/kdump/../ktrace
-I/usr/src/usr.bin/kdump/../.. -I/usr/obj/usr/src/tmp/usr/include
/usr/src/usr.bin/kdump/kdump.c ioctl.c
/usr/src/usr.bin/kdump/../ktrace/subr.c
ioctl.c:7: sys/disk.h: No such file or directory
In file included from ioctl.c:76:
/usr/obj/usr/src/tmp/usr/include/sys/memrange.h:16: warning: `MDF_ACTIVE'
redefined
/usr/obj/usr/src/tmp/usr/include/pccard/cardinfo.h:77: warning: this is
the location of the previous definition
mkdep: compile failed
*** Error code 1

Stop.

If I go to /usr/src/usr.bin/kdump and 'make depend', it gives me the same
warnings, but it works...  Then if I continue my world with a -DNOCLEAN,
it fails at usr.bin/truss with a similar error.  If I make depend there as
well, the world completes....

Later......						<Doug>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990507171948.28866A-100000>