Kernel compile errors
Stefan Malte Schumacher
s.schumacher at netcologne.de
Thu Aug 14 14:11:38 PDT 2003
Hi
I hope I am using the correct mailinglist. I am using
FreeBSD avalon.fantasy.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5
02:55:
42 GMT 2003 root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
and I am having problems with make lint as well as with building a new kernel.
I have just updated /usr/src/sys with cvsup using tag=RELENG_5_1. "Make
lint" exits with the following messages - note that I also did not work
before the update :
putchar used( sysdep.c(61) ), but not defined
putchar value declared inconsistently dict.c?(60) :: fileaccess.c?(5)
__mb_cur_max declared( fileaccess.c?(4) ), but never used or defined
===> boot/i386
===> boot/i386/mbr
lint -cghapbx
usage: lint [-abceghprvwxzHF] [-s|-t] [-i|-nu] [-Dname[=def]] [-Uname] [-X
<id>[
,<id>]...
[-Idirectory] [-Ldirectory] [-llibrary] [-ooutputfile] file...
lint [-abceghprvwzHF] [-s|-t] -Clibrary [-Dname[=def]]
[-X <id>[,<id>]...
[-Idirectory] [-Uname] [-Bpath] file ...
*** Error code 1
Stop in /usr/src/sys/boot/i386/mbr.
*** Error code 1
Stop in /usr/src/sys/boot/i386.
*** Error code 1
Stop in /usr/src/sys/boot.
*** Error code 1
Stop in /usr/src/sys.
Building the kernel exits with the following error message.
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
What is the cause of these problems and how do I fix it ?
Bye
Stefan
More information about the freebsd-current
mailing list