hello, newbe here. i've been having nightmares building my kernel and world on a clean system: System: P4 celeron 128M freebsd5.1 standard no fluff integrated motherboard. following the handbook Chapter 21, i am led to believe that the correct order for making world is as follows: reboot edit kernel cvsup standard-supfile && ports-supfile mergemaster -p shutdown now make -j4 buildworld make buildkernel KERNCONF=SERVER3 make installkernel KERNCONF=SERVER3 reboot to single user mount drives and share make installworld reboot The following outlines the frustrations i'm having. buildworld fails in single user mode build in multi user: no problem. buildkernel fails in either mode at the same point in the build. (last logfile attached) i've tried to build GENERIC but this fails also i've tried to build with or without -j4 rerunning cvsup changes the spot that the build fails in. since formatting and reinstalling; i've installed X11, cvsup and portupgrade and after running cvsup run portupgrade with mergemaster - committing all changes. any help -> even directions to a new manual would be greatly appreciated. <truncated logfile> server3# cd /usr/src[10`make buildkernel KERNCONF=SERVER3 -------------------------------------------------------------- >>> Kernel build for SERVER3 started on Tue Nov 4 19:17:13 AST 2003 -------------------------------------------------------------- ===> SERVER3 mkdir -p /usr/obj/usr/src/sys cd /usr/src/sys/i386/conf; <!-- SNIP --> cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vnode_if.c touch hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c sh /usr/src/sys/conf/newvers.sh SERVER3 cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c linking kernel.debug udbp.o: In function `udbp_attach': /usr/src/sys/dev/usb/udbp.c:361: undefined reference to `ng_newtype' /usr/src/sys/dev/usb/udbp.c:367: undefined reference to `ng_make_node_common' /usr/src/sys/dev/usb/udbp.c:370: undefined reference to `ng_name_node' udbp.o: In function `udbp_attach': /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:457: undefined reference to `ng_unref_node' /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' udbp.o: In function `udbp_detach': /usr/src/sys/dev/usb/udbp.c:435: undefined reference to `ng_rmnode_self' udbp.o: In function `udbp_detach': /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:457: undefined reference to `ng_unref_node' udbp.o: In function `udbp_in_transfer_cb': /usr/src/sys/dev/usb/udbp.c:516: undefined reference to `ng_package_data' /usr/src/sys/dev/usb/udbp.c:516: undefined reference to `ng_address_hook' /usr/src/sys/dev/usb/udbp.c:516: undefined reference to `ng_snd_item' udbp.o: In function `ng_udbp_newhook': /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:177: undefined reference to `dumphook' udbp.o: In function `ng_udbp_rcvmsg': /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' udbp.o: In function `ng_udbp_rcvmsg': /usr/src/sys/dev/usb/udbp.c:690: undefined reference to `M_NETGRAPH_MSG' /usr/src/sys/dev/usb/udbp.c:718: undefined reference to `ng_address_ID' /usr/src/sys/dev/usb/udbp.c:718: undefined reference to `ng_snd_item' udbp.o: In function `ng_udbp_rcvmsg': /usr/src/sys/netgraph/netgraph.h:689: undefined reference to `dumpitem' udbp.o: In function `ng_udbp_rcvmsg': /usr/src/sys/dev/usb/udbp.c:718: undefined reference to `ng_free_item' /usr/src/sys/dev/usb/udbp.c:719: undefined reference to `M_NETGRAPH_MSG' udbp.o: In function `ng_udbp_rcvdata': /usr/src/sys/netgraph/netgraph.h:177: undefined reference to `dumphook' /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:689: undefined reference to `dumpitem' udbp.o: In function `ng_udbp_rcvdata': /usr/src/sys/dev/usb/udbp.c:738: undefined reference to `ng_free_item' /usr/src/sys/dev/usb/udbp.c:768: undefined reference to `M_NETGRAPH_META' udbp.o: In function `ng_udbp_rmnode': /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:457: undefined reference to `ng_unref_node' udbp.o: In function `ng_udbp_rmnode': /usr/src/sys/dev/usb/udbp.c:802: undefined reference to `ng_make_node_common' /usr/src/sys/dev/usb/udbp.c:805: undefined reference to `ng_name_node' udbp.o: In function `ng_udbp_rmnode': /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:457: undefined reference to `ng_unref_node' /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' udbp.o: In function `ng_udbp_connect': /usr/src/sys/netgraph/netgraph.h:177: undefined reference to `dumphook' /usr/src/sys/netgraph/netgraph.h:177: undefined reference to `dumphook' udbp.o: In function `ng_udbp_disconnect': /usr/src/sys/netgraph/netgraph.h:177: undefined reference to `dumphook' /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:177: undefined reference to `dumphook' /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:177: undefined reference to `dumphook' /usr/src/sys/netgraph/netgraph.h:419: undefined reference to `dumpnode' /usr/src/sys/netgraph/netgraph.h:177: undefined reference to `dumphook' /usr/src/sys/netgraph/netgraph.h:248: undefined reference to `ng_rmnode_self' udbp.o: In function `udbp_match': /usr/src/sys/dev/usb/udbp.c:226: undefined reference to `ng_parse_int32_type' /usr/src/sys/dev/usb/udbp.c:227: undefined reference to `ng_parse_int32_type' /usr/src/sys/dev/usb/udbp.c:231: undefined reference to `ng_parse_struct_type' /usr/src/sys/dev/usb/udbp.c:250: undefined reference to `ng_parse_int32_type' *** Error code 1 Stop in /usr/obj/usr/src/sys/SERVER3. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ken easson justken.net ken_at_justken.net justken web programming and technical support.Received on Wed Nov 05 2003 - 19:19:15 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:27 UTC