# uname -a FreeBSD ck.com 7.0-STABLE FreeBSD 7.0-STABLE #1: Tue Jul 15 11:38:41 EDT 2008 ck@friendlybearonskates.com:/usr/obj/usr/src/sys/CK i386 # Make buildkernel kernconf=CK fails here : linking kernel.debug sbp.o(.text+0xd9d): In function `sbp_free_ocb': /usr/src/sys/dev/firewire/sbp.c:2905: undefined reference to `xpt_release_devq' sbp.o(.text+0x123e): In function `sbp_abort_all_ocbs': /usr/src/sys/dev/firewire/sbp.c:2939: undefined reference to `xpt_done' sbp.o(.text+0x1377): In function `sbp_cam_detach_sdev': /usr/src/sys/dev/firewire/sbp.c:2204: undefined reference to `xpt_release_devq' sbp.o(.text+0x1398):/usr/src/sys/dev/firewire/sbp.c:2207: undefined reference to `xpt_async' sbp.o(.text+0x13a3):/usr/src/sys/dev/firewire/sbp.c:2208: undefined reference to `xpt_free_path' sbp.o(.text+0x15b3): In function `sbp_cam_scan_lun': /usr/src/sys/dev/firewire/sbp.c:1027: undefined reference to `xpt_setup_ccb' sbp.o(.text+0x15be):/usr/src/sys/dev/firewire/sbp.c:1029: undefined reference to `xpt_action' sbp.o(.text+0x15d9):/usr/src/sys/dev/firewire/sbp.c:1030: undefined reference to `xpt_release_devq' sbp.o(.text+0x2000): In function `sbp_post_explore': /usr/src/sys/dev/firewire/sbp.c:744: undefined reference to `xpt_freeze_devq' sbp.o(.text+0x2266):/usr/src/sys/dev/firewire/sbp.c:779: undefined reference to `xpt_freeze_devq' sbp.o(.text+0x2365):/usr/src/sys/dev/firewire/sbp.c:888: undefined reference to `xpt_release_simq' sbp.o(.text+0x2460): In function `sbp_post_busreset': /usr/src/sys/dev/firewire/sbp.c:810: undefined reference to `xpt_freeze_simq' sbp.o(.text+0x265a): In function `sbp_cam_scan_target': /usr/src/sys/dev/firewire/sbp.c:1056: undefined reference to `xpt_setup_ccb' sbp.o(.text+0x26cb):/usr/src/sys/dev/firewire/sbp.c:1065: undefined reference to `xpt_action' sbp.o(.text+0x26e6):/usr/src/sys/dev/firewire/sbp.c:1066: undefined reference to `xpt_release_devq' sbp.o(.text+0x2820): In function `sbp_timeout': /usr/src/sys/dev/firewire/sbp.c:2303: undefined reference to `xpt_freeze_devq' sbp.o(.text+0x2943):/usr/src/sys/dev/firewire/sbp.c:2245: undefined reference to `xpt_freeze_devq' sbp.o(.text+0x2ba7): In function `sbp_agent_reset_callback': /usr/src/sys/dev/firewire/sbp.c:1132: undefined reference to `xpt_release_devq' sbp.o(.text+0x2cb7): In function `sbp_detach': /usr/src/sys/dev/firewire/sbp.c:2169: undefined reference to `xpt_async' sbp.o(.text+0x2cc2):/usr/src/sys/dev/firewire/sbp.c:2170: undefined reference to `xpt_free_path' sbp.o(.text+0x2cd0):/usr/src/sys/dev/firewire/sbp.c:2171: undefined reference to `xpt_bus_deregister' sbp.o(.text+0x2ce3):/usr/src/sys/dev/firewire/sbp.c:2172: undefined reference to `cam_sim_free' sbp.o(.text+0x2f38): In function `sbp_attach': /usr/src/sys/dev/firewire/sbp.c:2014: undefined reference to `cam_simq_alloc' sbp.o(.text+0x2fb4):/usr/src/sys/dev/firewire/sbp.c:2023: undefined reference to `cam_sim_alloc' sbp.o(.text+0x2fc3):/usr/src/sys/dev/firewire/sbp.c:2031: undefined reference to `cam_simq_free' sbp.o(.text+0x302c):/usr/src/sys/dev/firewire/sbp.c:2036: undefined reference to `xpt_bus_register' sbp.o(.text+0x3056):/usr/src/sys/dev/firewire/sbp.c:2039: undefined reference to `xpt_periph' sbp.o(.text+0x3062):/usr/src/sys/dev/firewire/sbp.c:2039: undefined reference to `xpt_create_path' sbp.o(.text+0x3075):/usr/src/sys/dev/firewire/sbp.c:2041: undefined reference to `xpt_bus_deregister' sbp.o(.text+0x31cf):/usr/src/sys/dev/firewire/sbp.c:2067: undefined reference to `xpt_async' sbp.o(.text+0x327a):/usr/src/sys/dev/firewire/sbp.c:2073: undefined reference to `cam_sim_free' sbp.o(.text+0x359e): In function `sbp_do_attach': /usr/src/sys/dev/firewire/sbp.c:1096: undefined reference to `xpt_periph' sbp.o(.text+0x35aa):/usr/src/sys/dev/firewire/sbp.c:1096: undefined reference to `xpt_create_path' sbp.o(.text+0x38e7): In function `sbp_orb_pointer': /usr/src/sys/dev/firewire/sbp.c:1261: undefined reference to `xpt_done' sbp.o(.text+0x407b): In function `sbp_recv': /usr/src/sys/dev/firewire/sbp.c:1791: undefined reference to `xpt_freeze_devq' sbp.o(.text+0x4722):/usr/src/sys/dev/firewire/sbp.c:1902: undefined reference to `xpt_done' sbp.o(.text+0x4c4b): In function `sbp_action': /usr/src/sys/dev/firewire/sbp.c:2371: undefined reference to `xpt_done' sbp.o(.text+0x4cb1):/usr/src/sys/dev/firewire/sbp.c:2391: undefined reference to `xpt_done' sbp.o(.text+0x4e52):/usr/src/sys/dev/firewire/sbp.c:2434: undefined reference to `xpt_done' sbp.o(.text+0x4ee2):/usr/src/sys/dev/firewire/sbp.c:2454: undefined reference to `xpt_freeze_devq' sbp.o(.text+0x4f3d):/usr/src/sys/dev/firewire/sbp.c:2458: undefined reference to `xpt_done' sbp.o(.text+0x50da):/usr/src/sys/dev/firewire/sbp.c:2522: undefined reference to `xpt_done' sbp.o(.text+0x515f):/usr/src/sys/dev/firewire/sbp.c:2556: undefined reference to `cam_calc_geometry' sbp.o(.text+0x5167):/usr/src/sys/dev/firewire/sbp.c:2558: undefined reference to `xpt_done' sbp.o(.text+0x51ab):/usr/src/sys/dev/firewire/sbp.c:2570: undefined reference to `xpt_done' sbp.o(.text+0x52d5):/usr/src/sys/dev/firewire/sbp.c:2602: undefined reference to `xpt_done' sbp.o(.text+0x536c):/usr/src/sys/dev/firewire/sbp.c:2627: undefined reference to `xpt_done' sbp.o(.text+0x537d):/usr/src/sys/dev/firewire/sbp.c:2632: undefined reference to `xpt_done' sbp.o(.text+0x538e):/usr/src/sys/dev/firewire/sbp.c:2638: more undefined references to `xpt_done' follow if_ural.o(.text+0x743): In function `ural_free_tx_list': /usr/src/sys/dev/usb/if_ural.c:627: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x93a): In function `ural_detach': /usr/src/sys/dev/usb/if_ural.c:567: undefined reference to `ieee80211_ifdetach' if_ural.o(.text+0xe1c): In function `ural_attach': /usr/src/sys/dev/usb/if_ural.c:499: undefined reference to `ieee80211_init_channels' if_ural.o(.text+0xe24):/usr/src/sys/dev/usb/if_ural.c:501: undefined reference to `ieee80211_ifattach' if_ural.o(.text+0xe7e):/usr/src/sys/dev/usb/if_ural.c:513: undefined reference to `ieee80211_media_status' if_ural.o(.text+0xe8e):/usr/src/sys/dev/usb/if_ural.c:513: undefined reference to `ieee80211_media_init' if_ural.o(.text+0xeb0):/usr/src/sys/dev/usb/if_ural.c:515: undefined reference to `ieee80211_amrr_init' if_ural.o(.text+0xf22):/usr/src/sys/dev/usb/if_ural.c:531: undefined reference to `ieee80211_announce' if_ural.o(.text+0x1152): In function `ural_raw_xmit': /usr/src/sys/dev/usb/if_ural.c:2402: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x1181):/usr/src/sys/dev/usb/if_ural.c:2408: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x13b5):/usr/src/sys/dev/usb/if_ural.c:2438: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x15b9): In function `ural_set_chan': /usr/src/sys/dev/usb/if_ural.c:1823: undefined reference to `ieee80211_chan2ieee' if_ural.o(.text+0x1c5d): In function `ural_start': /usr/src/sys/dev/usb/if_ural.c:1461: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x1f13):/usr/src/sys/dev/usb/if_ural.c:1479: undefined reference to `ieee80211_cancel_scan' if_ural.o(.text+0x1f42):/usr/src/sys/dev/usb/if_ural.c:1486: undefined reference to `ieee80211_find_txnode' if_ural.o(.text+0x1f87):/usr/src/sys/dev/usb/if_ural.c:1493: undefined reference to `ieee80211_encap' if_ural.o(.text+0x1f98):/usr/src/sys/dev/usb/if_ural.c:1495: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x1ff5):/usr/src/sys/dev/usb/if_ural.c:1366: undefined reference to `ieee80211_crypto_encap' if_ural.o(.text+0x21e5):/usr/src/sys/dev/usb/if_ural.c:1503: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x227a): In function `ural_txeof': /usr/src/sys/dev/usb/if_ural.c:882: undefined reference to `ieee80211_process_callback' if_ural.o(.text+0x2309):/usr/src/sys/dev/usb/if_ural.c:901: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x2b89): In function `ural_amrr_update': /usr/src/sys/dev/usb/if_ural.c:2508: undefined reference to `ieee80211_amrr_choose' if_ural.o(.text+0x2c7b): In function `ural_media_change': /usr/src/sys/dev/usb/if_ural.c:705: undefined reference to `ieee80211_media_change' if_ural.o(.text+0x2e26): In function `ural_ioctl': /usr/src/sys/dev/usb/if_ural.c:1578: undefined reference to `ieee80211_ioctl' if_ural.o(.text+0x309a): In function `ural_task': /usr/src/sys/dev/usb/if_ural.c:755: undefined reference to `ieee80211_beacon_alloc' if_ural.o(.text+0x32bc):/usr/src/sys/dev/usb/if_ural.c:2450: undefined reference to `ieee80211_amrr_node_init' if_ural.o(.text+0x38a4): In function `ural_rxeof': /usr/src/sys/dev/usb/if_ural.c:990: undefined reference to `ieee80211_find_rxnode' if_ural.o(.text+0x38e6):/usr/src/sys/dev/usb/if_ural.c:993: undefined reference to `ieee80211_input' if_ural.o(.text+0x38ee):/usr/src/sys/dev/usb/if_ural.c:996: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x823): In function `rum_free_tx_list': /usr/src/sys/dev/usb/if_rum.c:666: undefined reference to `ieee80211_free_node' if_rum.o(.text+0xa42): In function `rum_detach': /usr/src/sys/dev/usb/if_rum.c:605: undefined reference to `ieee80211_ifdetach' if_rum.o(.text+0x12c6): In function `rum_attach': /usr/src/sys/dev/usb/if_rum.c:506: undefined reference to `ieee80211_init_channels' if_rum.o(.text+0x12fd):/usr/src/sys/dev/usb/if_rum.c:514: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x1347):/usr/src/sys/dev/usb/if_rum.c:520: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x1391):/usr/src/sys/dev/usb/if_rum.c:526: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x13de):/usr/src/sys/dev/usb/if_rum.c:532: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x1413):/usr/src/sys/dev/usb/if_rum.c:538: undefined reference to `ieee80211_ifattach' if_rum.o(.text+0x1463):/usr/src/sys/dev/usb/if_rum.c:550: undefined reference to `ieee80211_media_status' if_rum.o(.text+0x1476):/usr/src/sys/dev/usb/if_rum.c:550: undefined reference to `ieee80211_media_init' if_rum.o(.text+0x149b):/usr/src/sys/dev/usb/if_rum.c:552: undefined reference to `ieee80211_amrr_init' if_rum.o(.text+0x1513):/usr/src/sys/dev/usb/if_rum.c:569: undefined reference to `ieee80211_announce' if_rum.o(.text+0x1a2d): In function `rum_start': /usr/src/sys/dev/usb/if_rum.c:1396: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x1cd3):/usr/src/sys/dev/usb/if_rum.c:1414: undefined reference to `ieee80211_cancel_scan' if_rum.o(.text+0x1d02):/usr/src/sys/dev/usb/if_rum.c:1421: undefined reference to `ieee80211_find_txnode' if_rum.o(.text+0x1d47):/usr/src/sys/dev/usb/if_rum.c:1428: undefined reference to `ieee80211_encap' if_rum.o(.text+0x1d59):/usr/src/sys/dev/usb/if_rum.c:1430: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x1dbf):/usr/src/sys/dev/usb/if_rum.c:1302: undefined reference to `ieee80211_crypto_encap' if_rum.o(.text+0x1f93):/usr/src/sys/dev/usb/if_rum.c:1438: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x203a): In function `rum_txeof': /usr/src/sys/dev/usb/if_rum.c:844: undefined reference to `ieee80211_process_callback' if_rum.o(.text+0x20c9):/usr/src/sys/dev/usb/if_rum.c:863: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x2129): In function `rum_set_chan': /usr/src/sys/dev/usb/if_rum.c:1792: undefined reference to `ieee80211_chan2ieee' if_rum.o(.text+0x2b26): In function `rum_rxeof': /usr/src/sys/dev/usb/if_rum.c:937: undefined reference to `ieee80211_find_rxnode' if_rum.o(.text+0x2c61):/usr/src/sys/dev/usb/if_rum.c:957: undefined reference to `ieee80211_input' if_rum.o(.text+0x2c6c):/usr/src/sys/dev/usb/if_rum.c:960: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x2cce):/usr/src/sys/dev/usb/if_rum.c:937: undefined reference to `ieee80211_find_rxnode' if_rum.o(.text+0x2e07): In function `rum_amrr_update': /usr/src/sys/dev/usb/if_rum.c:2421: undefined reference to `ieee80211_amrr_choose' if_rum.o(.text+0x308d): In function `rum_task': /usr/src/sys/dev/usb/if_rum.c:2282: undefined reference to `ieee80211_beacon_alloc' if_rum.o(.text+0x315f):/usr/src/sys/dev/usb/if_rum.c:2364: undefined reference to `ieee80211_amrr_node_init' if_rum.o(.text+0x34d4): In function `rum_ioctl': /usr/src/sys/dev/usb/if_rum.c:1493: undefined reference to `ieee80211_ioctl' if_rum.o(.text+0x35bb): In function `rum_media_change': /usr/src/sys/dev/usb/if_rum.c:742: undefined reference to `ieee80211_media_change' if_rum.o(.text+0x3802): In function `rum_raw_xmit': /usr/src/sys/dev/usb/if_rum.c:2316: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x3831):/usr/src/sys/dev/usb/if_rum.c:2322: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x3a48):/usr/src/sys/dev/usb/if_rum.c:2352: undefined reference to `ieee80211_free_node' umass.o(.text+0x1c): In function `umass_cam_detach_sim': /usr/src/sys/dev/usb/umass.c:2708: undefined reference to `xpt_bus_deregister' umass.o(.text+0x38):/usr/src/sys/dev/usb/umass.c:2709: undefined reference to `cam_sim_free' umass.o(.text+0x44d): In function `umass_cam_quirk_cb': /usr/src/sys/dev/usb/umass.c:3259: undefined reference to `xpt_done' umass.o(.text+0x465):/usr/src/sys/dev/usb/umass.c:3268: undefined reference to `xpt_done' umass.o(.text+0x493): In function `umass_cam_sense_cb': /usr/src/sys/dev/usb/umass.c:3159: undefined reference to `xpt_done' umass.o(.text+0x5c2):/usr/src/sys/dev/usb/umass.c:3233: undefined reference to `xpt_done' umass.o(.text+0x5d3):/usr/src/sys/dev/usb/umass.c:3240: undefined reference to `xpt_done' umass.o(.text+0x619):/usr/src/sys/dev/usb/umass.c:3066: more undefined references to `xpt_done' follow umass.o(.text+0xdae): In function `umass_cam_action': /usr/src/sys/dev/usb/umass.c:3010: undefined reference to `cam_calc_geometry' umass.o(.text+0xdb6):/usr/src/sys/dev/usb/umass.c:3011: undefined reference to `xpt_done' umass.o(.text+0xdc7):/usr/src/sys/dev/usb/umass.c:3022: undefined reference to `xpt_done' umass.o(.text+0xddb):/usr/src/sys/dev/usb/umass.c:3034: undefined reference to `xpt_done' umass.o(.text+0x1221): In function `umass_attach': /usr/src/sys/dev/usb/umass.c:2601: undefined reference to `cam_simq_alloc' umass.o(.text+0x1275):/usr/src/sys/dev/usb/umass.c:2605: undefined reference to `cam_sim_alloc' umass.o(.text+0x1284):/usr/src/sys/dev/usb/umass.c:2614: undefined reference to `cam_simq_free' umass.o(.text+0x12a7):/usr/src/sys/dev/usb/umass.c:2618: undefined reference to `xpt_bus_register' umass.o(.text+0x13b1): In function `umass_cam_rescan_callback': /usr/src/sys/dev/usb/umass.c:2639: undefined reference to `xpt_free_path' umass.o(.text+0x2632): In function `umass_cam_rescan': /usr/src/sys/dev/usb/umass.c:2658: undefined reference to `xpt_periph' umass.o(.text+0x2641):/usr/src/sys/dev/usb/umass.c:2658: undefined reference to `xpt_create_path' umass.o(.text+0x2673):/usr/src/sys/dev/usb/umass.c:2665: undefined reference to `xpt_setup_ccb' umass.o(.text+0x2690):/usr/src/sys/dev/usb/umass.c:2669: undefined reference to `xpt_action' *** Error code 1 Stop in /usr/obj/usr/src/sys/CK. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # It worked previously, the only change in my kernel configuration was "option MROUTING", which doesn't seem related to this failure. I could comment out all the usb/firewire options I suppose ,but I thought I'd get some insight hopefully from stable first. Thanks. ~k
On Thu, Sep 25, 2008 at 11:13:52AM -0400, Kevin wrote:> # uname -a > FreeBSD ck.com 7.0-STABLE FreeBSD 7.0-STABLE #1: Tue Jul 15 11:38:41 EDT > 2008 ck@friendlybearonskates.com:/usr/obj/usr/src/sys/CK i386 > # > > Make buildkernel kernconf=CK fails here : > > linking kernel.debug > sbp.o(.text+0xd9d): In function `sbp_free_ocb': > /usr/src/sys/dev/firewire/sbp.c:2905: undefined reference to > `xpt_release_devq'> snip and skip...> umass.o(.text+0x1c): In function `umass_cam_detach_sim': > /usr/src/sys/dev/usb/umass.c:2708: undefined reference to > `xpt_bus_deregister'xpt_* missing symbols are due to CAM being removed from your kernel configuration. You'll need "device scbus" and "device da".> /usr/src/sys/dev/usb/if_ural.c:627: undefined reference to > `ieee80211_free_node'ieee80211_* missing symbols are due to you attempting to include some wireless USB drivers; you'll need "device wlan".> It worked previously, the only change in my kernel configuration was "option > MROUTING", which doesn't seem related to this failure. I could comment out > all the usb/firewire options I suppose ,but I thought I'd get some insight > hopefully from stable first.A few things: 1) Your kernel configuration may be "out of date" compared to GENERIC. GENERIC is updated often; sometimes device names change, or things are removed/replaced or added for needed features. I assume your CK config is outdated since the box was last built in July. I recommend doing cp GENERIC CK and then editing CK to your needs. 2) Did you rm -fr /usr/obj/* before starting this build? If not, try it. There may be old cruft in there from July. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |