Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 18:55:10 -0700
From:      "Michael Wells" <michael-wells@swampwolf.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Kernel Failure
Message-ID:  <01a801c23447$7c5fca10$0a01a8c0@mswolf>

next in thread | raw e-mail | index | archive | help
Hello,
 
I am getting a bunch of link errors when I try
and rebuild my kernel.  I just did cvsup and a
make build/install world and was trying to rebuild the kernel
as suggested.  I didn't make any changes to
the kernel but it started complaining about things
it never had before.  It was complaining about devices
that didn't exist on my system (raid stuff) so I removed 
them.  The build seems to go fine until link time.
I am attaching the link part of the output.  If any
one has ideas I would appreciate your input greatly!

Michael
 
============
linking kernel
scsi_low.o: In function `scsi_low_cam_rescan_callback':
scsi_low.o(.text+0x1e7): undefined reference to `xpt_free_path'
scsi_low.o: In function `scsi_low_rescan_bus_cam':
scsi_low.o(.text+0x233): undefined reference to `xpt_periph'
scsi_low.o(.text+0x23c): undefined reference to `xpt_create_path'
scsi_low.o(.text+0x24f): undefined reference to `xpt_setup_ccb'
scsi_low.o(.text+0x26a): undefined reference to `xpt_action'
scsi_low.o: In function `scsi_low_scsi_action_cam':
scsi_low.o(.text+0x7be): undefined reference to `xpt_done'
scsi_low.o(.text+0x7d4): undefined reference to `xpt_done'
scsi_low.o(.text+0x81f): undefined reference to `xpt_done'
scsi_low.o(.text+0x97f): undefined reference to `xpt_done'
scsi_low.o(.text+0x9a1): undefined reference to `xpt_done'
scsi_low.o: In function `scsi_low_attach_cam':
scsi_low.o(.text+0x9df): undefined reference to `cam_simq_alloc'
scsi_low.o(.text+0xa33): undefined reference to `cam_sim_alloc'
scsi_low.o(.text+0xa43): undefined reference to `cam_simq_free'
scsi_low.o(.text+0xa52): undefined reference to `xpt_bus_register'
scsi_low.o(.text+0xa6e): undefined reference to `xpt_create_path'
scsi_low.o(.text+0xa8f): undefined reference to `xpt_bus_deregister'
scsi_low.o(.text+0xa99): undefined reference to `cam_sim_free'
scsi_low.o: In function `scsi_low_dettach_cam':
scsi_low.o(.text+0xae2): undefined reference to `xpt_async'
scsi_low.o(.text+0xaea): undefined reference to `xpt_free_path'
scsi_low.o(.text+0xaf8): undefined reference to `xpt_bus_deregister'
scsi_low.o(.text+0xb02): undefined reference to `cam_sim_free'
scsi_low.o: In function `scsi_low_done_cam':
scsi_low.o(.text+0xc6f): undefined reference to `xpt_done'
advansys.o: In function `adv_action':
advansys.o(.text+0x258): undefined reference to `xpt_freeze_simq'
advansys.o(.text+0x542): undefined reference to `xpt_done'
advansys.o(.text+0x584): undefined reference to `xpt_done'
advansys.o(.text+0x62b): undefined reference to `xpt_done'
advansys.o(.text+0x640): undefined reference to `xpt_done'
advansys.o: In function `adv_execute_ccb':
advansys.o(.text+0x65f): undefined reference to `xpt_path_sim'
advansys.o(.text+0x7ff): undefined reference to `xpt_freeze_simq'
advansys.o(.text+0x862): undefined reference to `xpt_done'
advansys.o: In function `adv_timeout':
advansys.o(.text+0x958): undefined reference to `xpt_path_sim'
advansys.o(.text+0x966): undefined reference to `xpt_print_path'
advansys.o(.text+0x9b2): undefined reference to `xpt_freeze_simq'
advansys.o(.text+0x9e4): undefined reference to `xpt_print_path'
advansys.o(.text+0xa28): undefined reference to `xpt_print_path'
advansys.o: In function `adv_done':
advansys.o(.text+0x121c): undefined reference to `xpt_print_path'
advansys.o(.text+0x1344): undefined reference to `xpt_print_path'
advansys.o(.text+0x138b): undefined reference to `xpt_freeze_devq'
advansys.o(.text+0x13ce): undefined reference to `xpt_done'
advansys.o: In function `adv_attach':
advansys.o(.text+0x152d): undefined reference to `cam_simq_alloc'
advansys.o(.text+0x155a): undefined reference to `cam_sim_alloc'
advansys.o(.text+0x1576): undefined reference to `xpt_bus_register'
advansys.o(.text+0x1592): undefined reference to `xpt_create_path'
advansys.o(.text+0x15a8): undefined reference to `xpt_setup_ccb'
advansys.o(.text+0x15c6): undefined reference to `xpt_action'
advansys.o(.text+0x15d7): undefined reference to `xpt_bus_deregister'
advansys.o(.text+0x15e1): undefined reference to `cam_sim_free'
advlib.o: In function `advasync':
advlib.o(.text+0x39): undefined reference to `scsi_inquiry_match'
advlib.o(.text+0x4b): undefined reference to `cam_quirkmatch'
advlib.o(.text+0xb8): undefined reference to `xpt_path_target_id'
advlib.o(.text+0xd3): undefined reference to `xpt_path_target_id'
advlib.o: In function `adv_isr_chip_halted':
advlib.o(.text+0xb0b): undefined reference to `xpt_freeze_devq'
advlib.o(.text+0xc19): undefined reference to `xpt_freeze_devq'
advlib.o: In function `adv_set_syncrate':
advlib.o(.text+0xdbb): undefined reference to `xpt_setup_ccb'
advlib.o(.text+0xdca): undefined reference to `xpt_async'
advlib.o: In function `adv_reset_bus':
advlib.o(.text+0x1ecf): undefined reference to `xpt_async'
adwcam.o: In function `adwexecuteacb':
adwcam.o(.text+0x1ce): undefined reference to `xpt_freeze_devq'
adwcam.o(.text+0x257): undefined reference to `xpt_done'
adwcam.o(.text+0x3db): undefined reference to `xpt_done'
adwcam.o: In function `adw_action':
adwcam.o(.text+0x5f5): undefined reference to `xpt_freeze_simq'
adwcam.o(.text+0x7c1): undefined reference to `xpt_freeze_simq'
adwcam.o(.text+0x87a): undefined reference to `xpt_print_path'
adwcam.o(.text+0xe45): undefined reference to `xpt_print_path'
adwcam.o(.text+0xe74): undefined reference to `xpt_done'
adwcam.o(.text+0xf20): undefined reference to `xpt_done'
adwcam.o(.text+0xf34): undefined reference to `xpt_done'
adwcam.o: In function `adw_attach':
adwcam.o(.text+0x16ab): undefined reference to `cam_simq_alloc'
adwcam.o(.text+0x16e0): undefined reference to `cam_sim_alloc'
adwcam.o(.text+0x16fe): undefined reference to `xpt_bus_register'
adwcam.o(.text+0x170f): undefined reference to `cam_sim_free'
adwcam.o(.text+0x1731): undefined reference to `xpt_create_path'
adwcam.o(.text+0x1747): undefined reference to `xpt_setup_ccb'
adwcam.o(.text+0x1765): undefined reference to `xpt_action'
adwcam.o: In function `adw_intr':
adwcam.o(.text+0x199b): undefined reference to `xpt_freeze_devq'
adwcam.o(.text+0x1a12): undefined reference to `xpt_done'
adwcam.o: In function `adwprocesserror':
adwcam.o(.text+0x1adc): undefined reference to `xpt_print_path'
adwcam.o(.text+0x1b6d): undefined reference to `xpt_freeze_devq'
adwcam.o(.text+0x1be6): undefined reference to `xpt_done'
adwcam.o: In function `adwtimeout':
adwcam.o(.text+0x1c0a): undefined reference to `xpt_print_path'
adwcam.o(.text+0x1c2e): undefined reference to `xpt_print_path'
adwcam.o(.text+0x1c8e): undefined reference to `xpt_print_path'
adwcam.o: In function `adw_handle_device_reset':
adwcam.o(.text+0x1cc0): undefined reference to `xpt_create_path'
adwcam.o(.text+0x1cd4): undefined reference to `xpt_async'
adwcam.o(.text+0x1cdc): undefined reference to `xpt_free_path'
adwcam.o: In function `adw_handle_bus_reset':
adwcam.o(.text+0x1d5c): undefined reference to `xpt_async'
adwlib.o: In function `adw_reset_bus':
adwlib.o(.text+0xd5): undefined reference to `xpt_print_path'
adwlib.o(.text+0x104): undefined reference to `xpt_print_path'
aha.o: In function `aha_attach':
aha.o(.text+0x726): undefined reference to `cam_simq_alloc'
aha.o(.text+0x75c): undefined reference to `cam_sim_alloc'
aha.o(.text+0x76c): undefined reference to `cam_simq_free'
aha.o(.text+0x77e): undefined reference to `xpt_bus_register'
aha.o(.text+0x79a): undefined reference to `xpt_create_path'
aha.o(.text+0x7b3): undefined reference to `xpt_bus_deregister'
aha.o(.text+0x7bd): undefined reference to `cam_sim_free'
aha.o: In function `ahaaction':
aha.o(.text+0xb03): undefined reference to `xpt_freeze_simq'
aha.o(.text+0xd15): undefined reference to `xpt_freeze_simq'
aha.o(.text+0xf6b): undefined reference to `xpt_done'
aha.o(.text+0xf7d): undefined reference to `xpt_done'
aha.o: In function `ahaexecuteccb':
aha.o(.text+0xfdb): undefined reference to `xpt_freeze_devq'
aha.o(.text+0x1055): undefined reference to `xpt_done'
aha.o(.text+0x11f5): undefined reference to `xpt_done'
aha.o(.text+0x1325): undefined reference to `xpt_freeze_simq'
aha.o(.text+0x1335): undefined reference to `xpt_done'
aha.o: In function `ahadone':
aha.o(.text+0x150e): undefined reference to `xpt_create_path'
aha.o(.text+0x1522): undefined reference to `xpt_async'
aha.o(.text+0x172c): undefined reference to `xpt_freeze_devq'
aha.o(.text+0x179b): undefined reference to `xpt_freeze_devq'
aha.o(.text+0x181d): undefined reference to `xpt_done'
aha.o(.text+0x18a1): undefined reference to `xpt_done'
aha.o: In function `ahareset':
aha.o(.text+0x19f8): undefined reference to `xpt_async'
aha.o: In function `ahafetchtransinfo':
aha.o(.text+0x1f87): undefined reference to `scsi_calc_syncparam'
aha.o(.text+0x1fac): undefined reference to `xpt_async'
aha.o: In function `ahatimeout':
aha.o(.text+0x2015): undefined reference to `xpt_print_path'
aha.o(.text+0x203c): undefined reference to `xpt_print_path'
aha.o(.text+0x206e): undefined reference to `xpt_freeze_simq'
aha.o: In function `aha_detach':
aha.o(.text+0x219a): undefined reference to `xpt_async'
aha.o(.text+0x21a2): undefined reference to `xpt_free_path'
aha.o(.text+0x21b0): undefined reference to `xpt_bus_deregister'
aha.o(.text+0x21ba): undefined reference to `cam_sim_free'
aic.o: In function `aic_action':
aic.o(.text+0x101): undefined reference to `xpt_freeze_simq'
aic.o(.text+0x38d): undefined reference to `xpt_done'
aic.o(.text+0x39d): undefined reference to `xpt_done'
aic.o: In function `aic_execute_scb':
aic.o(.text+0x3da): undefined reference to `xpt_done'
aic.o: In function `aic_reconnect':
aic.o(.text+0x713): undefined reference to `xpt_async'
aic.o: In function `aic_handle_msgin':
aic.o(.text+0xba8): undefined reference to `xpt_setup_ccb'
aic.o(.text+0xbb6): undefined reference to `xpt_async'
aic.o: In function `aic_done':
aic.o(.text+0x1143): undefined reference to `xpt_create_path'
aic.o(.text+0x1157): undefined reference to `xpt_async'
aic.o(.text+0x115f): undefined reference to `xpt_free_path'
aic.o(.text+0x129e): undefined reference to `xpt_done'
aic.o: In function `aic_timeout':
aic.o(.text+0x12d4): undefined reference to `xpt_print_path'
aic.o(.text+0x1340): undefined reference to `xpt_print_path'
aic.o(.text+0x1379): undefined reference to `xpt_freeze_simq'
aic.o: In function `aic_intr':
aic.o(.text+0x15c5): undefined reference to `xpt_async'
aic.o: In function `aic_reset':
aic.o(.text+0x180c): undefined reference to `xpt_async'
aic.o: In function `aic_attach':
aic.o(.text+0x1a36): undefined reference to `cam_simq_alloc'
aic.o(.text+0x1a6b): undefined reference to `cam_sim_alloc'
aic.o(.text+0x1a7b): undefined reference to `cam_simq_free'
aic.o(.text+0x1a92): undefined reference to `xpt_bus_register'
aic.o(.text+0x1aae): undefined reference to `xpt_create_path'
aic.o(.text+0x1ac1): undefined reference to `xpt_bus_deregister'
aic.o(.text+0x1acb): undefined reference to `cam_sim_free'
aic.o: In function `aic_detach':
aic.o(.text+0x1b66): undefined reference to `xpt_async'
aic.o(.text+0x1b6e): undefined reference to `xpt_free_path'
aic.o(.text+0x1b7c): undefined reference to `xpt_bus_deregister'
aic.o(.text+0x1b86): undefined reference to `cam_sim_free'
bt.o: In function `bt_attach':
bt.o(.text+0xbb3): undefined reference to `cam_simq_alloc'
bt.o(.text+0xbe7): undefined reference to `cam_sim_alloc'
bt.o(.text+0xbf7): undefined reference to `cam_simq_free'
bt.o(.text+0xc0e): undefined reference to `xpt_bus_register'
bt.o(.text+0xc2a): undefined reference to `xpt_create_path'
bt.o(.text+0xc3d): undefined reference to `xpt_bus_deregister'
bt.o(.text+0xc47): undefined reference to `cam_sim_free'
bt.o: In function `btaction':
bt.o(.text+0x103a): undefined reference to `xpt_freeze_simq'
bt.o(.text+0x12f1): undefined reference to `xpt_freeze_simq'
bt.o(.text+0x1472): undefined reference to `xpt_done'
bt.o(.text+0x1508): undefined reference to `xpt_done'
bt.o(.text+0x1520): undefined reference to `xpt_done'
bt.o(.text+0x15ed): undefined reference to `xpt_done'
bt.o(.text+0x1600): undefined reference to `xpt_done'
bt.o: In function `btexecuteccb':
bt.o(.text+0x1653): undefined reference to `xpt_freeze_devq'
bt.o(.text+0x16cd): undefined reference to `xpt_done'
bt.o(.text+0x1801): undefined reference to `xpt_done'
bt.o(.text+0x193d): undefined reference to `xpt_freeze_simq'
bt.o(.text+0x194d): undefined reference to `xpt_done'
bt.o: In function `btdone':
bt.o(.text+0x1af8): undefined reference to `xpt_create_path'
bt.o(.text+0x1b0c): undefined reference to `xpt_async'
bt.o(.text+0x1d53): undefined reference to `xpt_print_path'
bt.o(.text+0x1d79): undefined reference to `xpt_setup_ccb'
bt.o(.text+0x1d87): undefined reference to `xpt_async'
bt.o(.text+0x1e25): undefined reference to `xpt_freeze_devq'
bt.o(.text+0x1ebc): undefined reference to `xpt_done'
bt.o(.text+0x1f5e): undefined reference to `xpt_done'
bt.o: In function `btreset':
bt.o(.text+0x20c0): undefined reference to `xpt_async'
bt.o: In function `btfetchtransinfo':
bt.o(.text+0x26d6): undefined reference to `xpt_setup_ccb'
bt.o(.text+0x26e6): undefined reference to `xpt_action'
bt.o(.text+0x27ba): undefined reference to `scsi_calc_syncparam'
bt.o(.text+0x27ea): undefined reference to `xpt_async'
bt.o: In function `bttimeout':
bt.o(.text+0x2861): undefined reference to `xpt_print_path'
bt.o(.text+0x2888): undefined reference to `xpt_print_path'
bt.o(.text+0x28ba): undefined reference to `xpt_freeze_simq'
*** 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.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01a801c23447$7c5fca10$0a01a8c0>