Problem with make buildkernel

From: Carlos Corona <cdk1_at_bsd.cl>
Date: Tue, 10 Mar 2009 12:12:12 -0300
Hi *:

        I had some problems when compiling my new kernel, any thoughts on
this?;

Reina-Tonia src # time make buildkernel KERNCONF=Segvfault


=========================================




MAKE=make sh /usr/src/sys/conf/newvers.sh Segvfault
/usr/local/libexec/ccache/world-cc -c -O2 -fno-strict-aliasing -pipe -s
-funroll-loops -fomit-frame-pointer -march=athlon-mp -std=c99  -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-fformat-extensions -nostdinc  -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 -fstack-protector -Werror  vers.c
linking kernel
atapi-cam.o(.text+0x120): In function `reinit_bus':
: undefined reference to `xpt_async'
atapi-cam.o(.text+0x12f): In function `reinit_bus':
: undefined reference to `xpt_alloc_ccb_nowait'
atapi-cam.o(.text+0x14b): In function `reinit_bus':
: undefined reference to `xpt_periph'
atapi-cam.o(.text+0x162): In function `reinit_bus':
: undefined reference to `xpt_create_path'
atapi-cam.o(.text+0x16d): In function `reinit_bus':
: undefined reference to `xpt_free_ccb'
atapi-cam.o(.text+0x1a1): In function `reinit_bus':
: undefined reference to `xpt_setup_ccb'
atapi-cam.o(.text+0x1be): In function `reinit_bus':
: undefined reference to `xpt_action'
atapi-cam.o(.text+0x291): In function `setup_async_cb':
: undefined reference to `xpt_setup_ccb'
atapi-cam.o(.text+0x2b7): In function `setup_async_cb':
: undefined reference to `xpt_action'
atapi-cam.o(.text+0x2ff): In function `cam_rescan_callback':
: undefined reference to `xpt_free_path'
atapi-cam.o(.text+0x3f7): In function `free_hcb_and_ccb_done':
: undefined reference to `xpt_done'
atapi-cam.o(.text+0x490): In function `free_softc':
: undefined reference to `xpt_free_path'
atapi-cam.o(.text+0x4bc): In function `free_softc':
: undefined reference to `cam_sim_free'
atapi-cam.o(.text+0x4f9): In function `free_softc':
: undefined reference to `xpt_bus_deregister'
atapi-cam.o(.text+0x553): In function `atapi_cam_detach':
: undefined reference to `xpt_sim_opened'
atapi-cam.o(.text+0x598): In function `atapi_cam_detach':
: undefined reference to `xpt_freeze_simq'
atapi-cam.o(.text+0x698): In function `atapi_cam_attach':
: undefined reference to `cam_simq_alloc'
atapi-cam.o(.text+0x6dc): In function `atapi_cam_attach':
: undefined reference to `cam_sim_alloc'
atapi-cam.o(.text+0x720): In function `atapi_cam_attach':
: undefined reference to `xpt_bus_register'
atapi-cam.o(.text+0x756): In function `atapi_cam_attach':
: undefined reference to `xpt_create_path'
atapi-cam.o(.text+0xa24): In function `atapi_async':
: undefined reference to `xpt_path_target_id'
atapi-cam.o(.text+0xa2e): In function `atapi_async':
: undefined reference to `xpt_print_path'
atapi-cam.o(.text+0xad2): In function `atapi_action':
: undefined reference to `xpt_done'
atapi-cam.o(.text+0xe52): In function `atapi_action':
: undefined reference to `cam_calc_geometry'
atapi-cam.o(.text+0x10ef): In function `atapi_action':
: undefined reference to `xpt_print_path'
atapi-cam.o(.text+0x1205): In function `atapi_action':
: undefined reference to `xpt_print_path'
atapi-cam.o(.text+0x1228): In function `atapi_action':
: undefined reference to `xpt_freeze_simq'
atapi-cam.o(.text+0x1237): In function `atapi_action':
: undefined reference to `xpt_done'
atapi-cam.o(.text+0x30c): In function `cam_rescan_callback':
: undefined reference to `xpt_free_ccb'
atapi-cam.o(.text+0xb3a): In function `atapi_action':
: undefined reference to `xpt_done'
umass.o(.text+0x9e): In function `umass_detach':
: undefined reference to `xpt_bus_deregister'
umass.o(.text+0xc5): In function `umass_detach':
: undefined reference to `cam_sim_free'
umass.o(.text+0x3fb): In function `umass_std_transform':
: undefined reference to `xpt_done'
umass.o(.text+0x413): In function `umass_std_transform':
: undefined reference to `xpt_done'
umass.o(.text+0xd7a): In function `umass_attach':
: undefined reference to `cam_simq_alloc'
umass.o(.text+0xdc6): In function `umass_attach':
: undefined reference to `cam_sim_alloc'
umass.o(.text+0xe16): In function `umass_attach':
: undefined reference to `xpt_bus_register'
umass.o(.text+0x112b): In function `umass_attach':
: undefined reference to `xpt_periph'
umass.o(.text+0x113e): In function `umass_attach':
: undefined reference to `xpt_create_path'
umass.o(.text+0x11c3): In function `umass_attach':
: undefined reference to `cam_simq_free'
umass.o(.text+0x120d): In function `umass_attach':
: undefined reference to `xpt_setup_ccb'
umass.o(.text+0x122a): In function `umass_attach':
: undefined reference to `xpt_action'
umass.o(.text+0x1284): In function `umass_cam_rescan_callback':
: undefined reference to `xpt_free_path'
umass.o(.text+0x316b): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x31ee): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x32db): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x33a0): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x3454): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x369f): more undefined references to `xpt_done' follow
umass.o(.text+0x3709): In function `umass_cam_action':
: undefined reference to `cam_calc_geometry'
umass.o(.text+0x3711): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x383d): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x39bf): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x39fd): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x490): In function `umass_cam_quirk_cb':
: undefined reference to `xpt_done'
umass.o(.text+0x530): more undefined references to `xpt_done' follow
*** Error code 1

Stop in /usr/obj/usr/src/sys/Segvfault.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

real    10m10.591s
user    3m3.481s
sys     2m7.263s
Reina-Tonia src # uname -a
FreeBSD Reina-Tonia 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Mar  4 12:46:51
CLST 2009     CdK1_at_Reina-Tonia:/usr/obj/usr/src/sys/Segvfault  i386
Reina-Tonia src #


Any ideas?

-- 
Carlos Corona
CdK1
BSD Chile
http://www.bsd.cl
http://segvfault.wordpress.com
Received on Tue Mar 10 2009 - 14:42:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC