From owner-freebsd-questions Tue Nov 26 4:24: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D64F37B401 for ; Tue, 26 Nov 2002 04:24:03 -0800 (PST) Received: from ns2.romtelecom.net (ns2.romtelecom.net [193.231.100.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4606C43EC2 for ; Tue, 26 Nov 2002 04:24:01 -0800 (PST) (envelope-from iuliand@romtelecom.net) Received: from x1webcsc4.romtelecom.net (ns1.romtelecom.net [193.231.100.2]) by ns2.romtelecom.net (8.11.3/8.11.3) with SMTP id gAQCMZK10866; Tue, 26 Nov 2002 14:22:35 +0200 Date: Tue, 26 Nov 2002 14:23:21 +0000 From: iulian To: questions 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> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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