Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2002 11:34:50 -0700
From:      Brent Kearney <brent@kearneys.ca>
To:        questions@freebsd.org
Subject:   kernel build fails
Message-ID:  <20020807113450.A33453@kearneys.ca>

next in thread | raw e-mail | index | archive | help

Hello,

I installed FreeBSD 4.5 from CD, created a custom kernel config, 
ran 'config MYNEWKERNEL', 'cd ../../compile/MYNEWKERNEL ; make 
depend ; make', and the build fails.  I updated the sources 
using cvsup, then tried again, (after a 'make clean'), and got 
the same results.  
It does this consistently, and using the 'make buildkernel 
KERNEL=MYNEWKERNEL' method gives the same results (last part 
of the output is below).  Something must be missing...  Any 
constructive suggestions are most welcome.  

Thanks,

Brent


cc -c -O -pipe -march=pentium -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  config.c
cc -c -O -pipe -march=pentium -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  setdef1.c
touch hack.c
cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh ../../conf/newvers.sh MYNEWKERNEL 
cc -c -O -pipe -march=pentium -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  vers.c
linking kernel
umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x13af): undefined reference to `cam_simq_alloc'
umass.o(.text+0x13d5): undefined reference to `cam_sim_alloc'
umass.o(.text+0x13ee): undefined reference to `xpt_bus_register'
umass.o(.text+0x13fe): undefined reference to `cam_simq_free'
umass.o: In function `umass_cam_rescan_callback':
umass.o(.text+0x141c): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_rescan':
umass.o(.text+0x1469): undefined reference to `xpt_periph'
umass.o(.text+0x1473): undefined reference to `xpt_create_path'
umass.o(.text+0x1487): undefined reference to `xpt_setup_ccb'
umass.o(.text+0x14a2): undefined reference to `xpt_action'
umass.o: In function `umass_cam_detach_sim':
umass.o(.text+0x1564): undefined reference to `xpt_bus_deregister'
umass.o(.text+0x1581): undefined reference to `cam_sim_free'
umass.o: In function `umass_cam_detach':
umass.o(.text+0x15c8): undefined reference to `xpt_create_path'
umass.o(.text+0x15e8): undefined reference to `xpt_async'
umass.o(.text+0x15f1): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_action':
umass.o(.text+0x1919): undefined reference to `xpt_done'
umass.o(.text+0x1929): undefined reference to `xpt_done'
umass.o: In function `umass_cam_cb':
umass.o(.text+0x1a2d): undefined reference to `xpt_done'
umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x1aa8): undefined reference to `xpt_done'
umass.o(.text+0x1ab9): undefined reference to `xpt_done'
*** Error code 1

Stop in /usr/src/sys/compile/MYNEWKERNEL.

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?20020807113450.A33453>