Error While Tuning the Kernel

Kris Kennaway kris at obsecurity.org
Tue Feb 7 18:20:38 PST 2006


On Tue, Feb 07, 2006 at 09:15:35PM -0500, Steve Douville wrote:
> I removed a number of devices that I know I don't have, basically all the scsi devices, printer devices, etc, careful not to remove anything I wasn't absolutely sure I didn't have. The config went fine, no errors. The make ran for a while then gave me these errors...
> 
> linking kernel
> umass.o(.text+0x15af): In function `umass_cam_attach_sim':
> : undefined reference to `cam_simq_alloc'
> umass.o(.text+0x15e1): In function `umass_cam_attach_sim':
> : undefined reference to `cam_sim_alloc'
> umass.o(.text+0x15f1): In function `umass_cam_attach_sim':
> : undefined reference to `cam_simq_free'
> umass.o(.text+0x160a): In function `umass_cam_attach_sim':
> : undefined reference to `xpt_bus_register'
> umass.o(.text+0x162f): In function `umass_cam_rescan_callback':
> : undefined reference to `xpt_free_path'
> umass.o(.text+0x1677): In function `umass_cam_rescan':
> : undefined reference to `xpt_periph'
> umass.o(.text+0x1680): In function `umass_cam_rescan':
> : undefined reference to `xpt_create_path'
> umass.o(.text+0x1693): In function `umass_cam_rescan':
> : undefined reference to `xpt_setup_ccb'
> umass.o(.text+0x16ae): In function `umass_cam_rescan':
> : undefined reference to `xpt_action'
> umass.o(.text+0x1750): In function `umass_cam_detach_sim':
> : undefined reference to `xpt_bus_deregister'
> umass.o(.text+0x1766): In function `umass_cam_detach_sim':
> : undefined reference to `cam_sim_free'
> umass.o(.text+0x17a5): In function `umass_cam_action':
> : undefined reference to `xpt_done'
> umass.o(.text+0x1805): In function `umass_cam_action':
> : undefined reference to `xpt_done'
> umass.o(.text+0x1823): In function `umass_cam_action':
> : undefined reference to `xpt_done'
> umass.o(.text+0x18a8): In function `umass_cam_action':
> : undefined reference to `xpt_done'
> umass.o(.text+0x1967): In function `umass_cam_action':
> : undefined reference to `xpt_done'
> umass.o(.text+0x199d): more undefined references to `xpt_done' follow
> umass.o(.text+0x1b46): In function `umass_cam_action':
> : undefined reference to `cam_calc_geometry'
> umass.o(.text+0x1b4c): In function `umass_cam_action':
> : undefined reference to `xpt_done'
> umass.o(.text+0x1b5e): In function `umass_cam_action':
> : undefined reference to `xpt_done'
> umass.o(.text+0x1b71): In function `umass_cam_action':
> : undefined reference to `xpt_done'
> umass.o(.text+0x1bab): In function `umass_cam_cb':
> : undefined reference to `xpt_done'
> umass.o(.text+0x1be7): In function `umass_cam_cb':
> : undefined reference to `xpt_done'
> umass.o(.text+0x1c99): more undefined references to `xpt_done' follow
> *** Error code 1
> 
> Am I just missing a lib file or something?

No, you removed too much from your kernel config (this is a FAQ;
google would have shown the answer).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060207/66857109/attachment.bin


More information about the freebsd-questions mailing list