Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 14:23:21 +0000
From:      iulian <iuliand@romtelecom.net>
To:        questions <freebsd-questions@freebsd.org>
Cc:        nelis@brabys.co.za
Subject:   Re: make builkernel error on Athlon
Message-ID:  <20021126142321.0dfa06dd.iuliand@romtelecom.net>
In-Reply-To: <5.1.0.14.2.20021126134737.013d24d0@192.96.48.11>
References:  <5.1.0.14.2.20021126134737.013d24d0@192.96.48.11>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Nov 2002 13:56:04 +0200
NL wrote:

> Hi All
> 
> I'm busy compiling a custom kernel on a AMD Athlon(tm) XP 1700+ to setup 
> sound. I am also upgrading from 4.7 RELEASE to STABLE. After cvsuping to 
> the latest stable source I run buildworld which works fine but on my 'make 
> buildkernel KERNCONF=ENIGMA' I get the following error:
> 
> 
> sh /usr/src/sys/conf/newvers.sh ENIGMA
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys 
> -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter  -D_KERNEL 
> -include opt_global.h  -mpreferred-stack-boundary=2  vers.c
> linking kernel
> umass.o: In function `umass_cam_attach_sim':
> umass.o(.text+0x137f): undefined reference to `cam_simq_alloc'
> umass.o(.text+0x13a5): undefined reference to `cam_sim_alloc'
> umass.o(.text+0x13be): undefined reference to `xpt_bus_register'
> umass.o(.text+0x13ce): undefined reference to `cam_simq_free'
> umass.o: In function `umass_cam_rescan_callback':
> umass.o(.text+0x13e7): undefined reference to `xpt_free_path'
> umass.o: In function `umass_cam_rescan':
> umass.o(.text+0x1431): undefined reference to `xpt_periph'
> umass.o(.text+0x143a): undefined reference to `xpt_create_path'
> umass.o(.text+0x144d): undefined reference to `xpt_setup_ccb'
> umass.o(.text+0x1468): undefined reference to `xpt_action'
> umass.o: In function `umass_cam_detach_sim':
> umass.o(.text+0x151f): undefined reference to `xpt_bus_deregister'
> umass.o(.text+0x153d): undefined reference to `cam_sim_free'
> umass.o: In function `umass_cam_detach':
> umass.o(.text+0x157e): undefined reference to `xpt_create_path'
> umass.o(.text+0x159f): undefined reference to `xpt_async'
> umass.o(.text+0x15a7): undefined reference to `xpt_free_path'
> umass.o: In function `umass_cam_action':
> umass.o(.text+0x1913): undefined reference to `xpt_done'
> umass.o(.text+0x1925): undefined reference to `xpt_done'
> umass.o: In function `umass_cam_cb':
> umass.o(.text+0x1a21): undefined reference to `xpt_done'
> umass.o: In function `umass_cam_sense_cb':
> umass.o(.text+0x1b28): undefined reference to `xpt_done'
> umass.o(.text+0x1b39): undefined reference to `xpt_done'
> umass.o(.text+0x1b53): more undefined references to `xpt_done' follow
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/ENIGMA.
> *** Error code 1
> 
I had exactly the same problem.
I was trying to build kernel using make buildkernel, make installkernel
I have not the same hardware
I solved that problem following 
cd /usr/src/sys/i386/conf && /usr/sbin/config NEW_KERNEL
cd ../../compile/NEW_KERNEL
make depend
make
make install
An d I have a new kernel :)
> Any suggestions, help would be greatly appreciated. I have upgraded and 
> built custom kernel's many times before without any problems on Intel 
> platform but this is my first on an AMD machine. Any specific AMD kernel 
> config's I should know about ?
> 
> Kind Regards,
> Nelis
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


-----------
Iulian
Romtelecom O&M Network Operation
IN Management Center 

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?20021126142321.0dfa06dd.iuliand>