A problem about building kernel

Kent Stewart kstewart at owt.com
Wed Aug 27 20:32:43 PDT 2003


On Wednesday 27 August 2003 07:49 pm, li wei wrote:
> Hi,Everybody:
> 	i want to build a custom kernel.That's my configuration
You have 
device          umass           # Disks/Mass storage - Requires scbus 
and  da

And you commented out scbus and da. Add them back in or comment out 
umass. 

Kent

>
>       Then i run
>       #config MYKERNEL
>       #cd ../compile/MYKERNEL
>       #make depend
>       #make
>       It's report Error here . The output info is like below:
>
> umass.o: In function `umass_cam_attach_sim':
> umass.o(.text+0x17c7): undefined reference to `cam_simq_alloc'
> umass.o(.text+0x1818): undefined reference to `cam_sim_alloc'
> umass.o(.text+0x1827): undefined reference to `cam_simq_free'
> umass.o(.text+0x1847): undefined reference to `xpt_bus_register'
> umass.o: In function `umass_cam_rescan_callback':
> umass.o(.text+0x1883): undefined reference to `xpt_free_path'
> umass.o: In function `umass_cam_rescan':
> umass.o(.text+0x18f5): undefined reference to `xpt_periph'
> umass.o(.text+0x1904): undefined reference to `xpt_create_path'
> umass.o(.text+0x1920): undefined reference to `xpt_setup_ccb'
> umass.o(.text+0x193d): undefined reference to `xpt_action'
> umass.o: In function `umass_cam_detach_sim':
> umass.o(.text+0x1a2c): undefined reference to `xpt_bus_deregister'
> umass.o(.text+0x1a48): undefined reference to `cam_sim_free'
> umass.o: In function `umass_cam_action':
> umass.o(.text+0x1ebd): undefined reference to `xpt_done'
> umass.o: In function `umass_cam_cb':
> umass.o(.text+0x202b): undefined reference to `xpt_done'
> umass.o: In function `umass_cam_sense_cb':
> umass.o(.text+0x2191): undefined reference to `xpt_done'
> umass.o: In function `umass_cam_quirk_cb':
> umass.o(.text+0x21bb): undefined reference to `xpt_done'
> *** Error code 1
>
>   I don't understand those message means. So help me !
>
>
>
>         kkndguy at hotmail.com
>           2003-08-28
>
> _________________________________________________________________
> 免费下载 MSN Explorer:   http://explorer.msn.com/lccn/
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



More information about the freebsd-questions mailing list