>> 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:
Quick fix: configure DDB. Correct fix: add ifdefs to sio.c so that debugger support is not compiled unless debugging is configured. >===> 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 memrange.h is broken. >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 The Makefile is not smart enough to know that it should rebuild dependencies when one of the [indirect] source files went away. >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.... Don't use -DNOCLEAN; it gives precisely this type of error when headers go away. Bruce To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message