ypes -Wno-sign-compare -fno-zero-initialized-in-bss -I../../../../../../lib/libkern/arch/i386 -Di386 -I../../. -I../../../../../../arch -I../../../../../.. -nostdinc -DLKM -DIPFILTER_DEFAULT_BLOCK -DFRENCH_KBD -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../../../lib/libkern/strlcat.c -o strlcat.o.tmp ld -x -r strlcat.o.tmp -o strlcat.o rm -f strlcat.o.tmp # compile kern/xlat_mbr_fstype.o cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -I../../../../../../lib/libkern/arch/i386 -Di386 -I../../. -I../../../../../../arch -I../../../../../.. -nostdinc -DLKM -DIPFILTER_DEFAULT_BLOCK -DFRENCH_KBD -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../../../lib/libkern/xlat_mbr_fstype.c -o xlat_mbr_fstype.o.tmp ld -x -r xlat_mbr_fstype.o.tmp -o xlat_mbr_fstype.o rm -f xlat_mbr_fstype.o.tmp building standard kern library # create SHAPAI/.gdbinit rm -f .gdbinit echo "source ../../../../gdbscripts/bdump" >> .gdbinit echo "source ../../../../gdbscripts/kdump" >> .gdbinit echo "source ../../../../gdbscripts/msgbuf" >> .gdbinit echo "source ../../../../gdbscripts/pgrpdump" >> .gdbinit echo "source ../../../../gdbscripts/stats" >> .gdbinit echo "source ../../../../gdbscripts/vchain" >> .gdbinit echo "source ../../../../gdbscripts/vdump" >> .gdbinit echo "source ../../../../gdbscripts/xps" >> .gdbinit # create vers.c sh ../../../../conf/newvers.sh # compile SHAPAI/vers.o cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DIPFILTER_DEFAULT_BLOCK -DFRENCH_KBD -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c vers.c # link SHAPAI/netbsd ld -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o fd.o(.text+0x5ae): In function `fdstrategy': : undefined reference to `fd_cd' fd.o(.text+0x5b9): In function `fdstrategy': : undefined reference to `fd_cd' fd.o(.text+0xb72): In function `fdopen': : undefined reference to `fd_cd' fd.o(.text+0xb7d): In function `fdopen': : undefined reference to `fd_cd' fd.o(.text+0xc7d): In function `fdclose': : undefined reference to `fd_cd' fd.o(.text+0xc84): more undefined references to `fd_cd' follow *** Error code 1 Stop. make: stopped in /usr/src/sys/arch/i386/compile/SHAPAI bash-3.1#