Hi, I'm having trouble rebuilding my kernel (first time). It's actually happening in a linking stage. I tried deleting all of my /usr/src directory and using cvsup to get a fresh stable copy, but it's still wigging out. The method I am using is "make buildkernel KERNCONF=MYKERNEL." Here's the portion that has the problem:
... MAKE=make sh /usr/src/sys/conf/newvers.sh FAST cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror vers.c linking kernel sbp.o(.text+0x2b8): In function `sbp_post_busreset': : undefined reference to `xpt_freeze_simq' sbp.o(.text+0x440): In function `sbp_free_ocb': : undefined reference to `xpt_release_devq' sbp.o(.text+0x4b4): In function `sbp_cam_scan_lun': : undefined reference to `xpt_setup_ccb' sbp.o(.text+0x4bd): In function `sbp_cam_scan_lun': : undefined reference to `xpt_action' sbp.o(.text+0x4cc): In function `sbp_cam_scan_lun': : undefined reference to `xpt_release_devq' sbp.o(.text+0x573): In function `sbp_cam_scan_target': : undefined reference to `xpt_setup_ccb' sbp.o(.text+0x598): In function `sbp_cam_scan_target': : undefined reference to `xpt_action' sbp.o(.text+0x5a7): In function `sbp_cam_scan_target': : undefined reference to `xpt_release_devq' sbp.o(.text+0x668): In function `sbp_do_attach': : undefined reference to `xpt_periph' sbp.o(.text+0x671): In function `sbp_do_attach': : undefined reference to `xpt_create_path' sbp.o(.text+0x76f): In function `sbp_agent_reset_callback': : undefined reference to `xpt_release_devq' sbp.o(.text+0xa0a): In function `sbp_orb_pointer': : undefined reference to `xpt_done' sbp.o(.text+0x166a): In function `sbp_action': : undefined reference to `xpt_done' sbp.o(.text+0x16c2): In function `sbp_action': : undefined reference to `cam_calc_geometry' sbp.o(.text+0x1acd): In function `sbp_action': : undefined reference to `xpt_freeze_devq' sbp.o(.text+0x1bd9): In function `sbp_abort_all_ocbs': : undefined reference to `xpt_done' sbp.o(.text+0x1c6e): In function `sbp_cam_detach_sdev': : undefined reference to `xpt_release_devq' sbp.o(.text+0x1c83): In function `sbp_cam_detach_sdev': : undefined reference to `xpt_async' sbp.o(.text+0x1c8b): In function `sbp_cam_detach_sdev': : undefined reference to `xpt_free_path' sbp.o(.text+0x1d4a): In function `sbp_detach': : undefined reference to `xpt_async' sbp.o(.text+0x1d52): In function `sbp_detach': : undefined reference to `xpt_free_path' sbp.o(.text+0x1d60): In function `sbp_detach': : undefined reference to `xpt_bus_deregister' sbp.o(.text+0x1d6a): In function `sbp_detach': : undefined reference to `cam_sim_free' sbp.o(.text+0x2245): In function `sbp_recv': : undefined reference to `xpt_done' sbp.o(.text+0x23fa): In function `sbp_recv': : undefined reference to `xpt_freeze_devq' sbp.o(.text+0x2ace): In function `sbp_timeout': : undefined reference to `xpt_freeze_devq' sbp.o(.text+0x2b08): In function `sbp_timeout': : undefined reference to `xpt_freeze_devq' sbp.o(.text+0x3141): In function `sbp_post_explore': : undefined reference to `xpt_release_simq' sbp.o(.text+0x32a2): In function `sbp_post_explore': : undefined reference to `xpt_freeze_devq' sbp.o(.text+0x35d6): In function `sbp_post_explore': : undefined reference to `xpt_freeze_devq' sbp.o(.text+0x37a4): In function `sbp_attach': : undefined reference to `cam_simq_alloc' sbp.o(.text+0x37f5): In function `sbp_attach': : undefined reference to `cam_sim_alloc' sbp.o(.text+0x380d): In function `sbp_attach': : undefined reference to `xpt_bus_register' sbp.o(.text+0x3827): In function `sbp_attach': : undefined reference to `xpt_periph' sbp.o(.text+0x3830): In function `sbp_attach': : undefined reference to `xpt_create_path' sbp.o(.text+0x38fb): In function `sbp_attach': : undefined reference to `xpt_async' sbp.o(.text+0x3910): In function `sbp_attach': : undefined reference to `xpt_bus_deregister' sbp.o(.text+0x391b): In function `sbp_attach': : undefined reference to `cam_sim_free' sbp.o(.text+0x394d): In function `sbp_attach': : undefined reference to `cam_simq_free' umass.o(.text+0xef3): In function `umass_cam_rescan_callback': : undefined reference to `xpt_free_path' umass.o(.text+0xf3d): In function `umass_cam_rescan': : undefined reference to `xpt_periph' umass.o(.text+0xf46): In function `umass_cam_rescan': : undefined reference to `xpt_create_path' umass.o(.text+0xf67): In function `umass_cam_rescan': : undefined reference to `xpt_setup_ccb' umass.o(.text+0xf82): In function `umass_cam_rescan': : undefined reference to `xpt_action' umass.o(.text+0xfa8): In function `umass_cam_detach_sim': : undefined reference to `xpt_bus_deregister' umass.o(.text+0xfbc): In function `umass_cam_detach_sim': : undefined reference to `cam_sim_free' umass.o(.text+0x12ff): In function `umass_attach': : undefined reference to `cam_simq_alloc' umass.o(.text+0x132f): In function `umass_attach': : undefined reference to `cam_sim_alloc' umass.o(.text+0x1343): In function `umass_attach': : undefined reference to `cam_simq_free' umass.o(.text+0x1496): In function `umass_attach': : undefined reference to `xpt_bus_register' umass.o(.text+0x16a5): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x16d9): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1726): In function `umass_cam_action': : undefined reference to `cam_calc_geometry' umass.o(.text+0x172c): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1a18): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x1a49): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x1b3e): In function `umass_cam_sense_cb': : undefined reference to `xpt_done' umass.o(.text+0x1b55): In function `umass_cam_sense_cb': : undefined reference to `xpt_done' umass.o(.text+0x1c17): more undefined references to `xpt_done' follow *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Any ideas on what I might be doing wrong? Thanks! _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"