From owner-freebsd-questions Tue Nov 26 3:56:16 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 7F7CA37B401 for ; Tue, 26 Nov 2002 03:56:14 -0800 (PST) Received: from brabys.co.za (postoffice.brabys.co.za [192.96.48.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41AF243E4A for ; Tue, 26 Nov 2002 03:56:11 -0800 (PST) (envelope-from nelis@brabys.co.za) Received: from nelis.brabys.co.za (proxy-inner.brabys.co.za [192.96.48.11]) by brabys.co.za (8.12.0/8.12.0) with ESMTP id gAQBtoqJ006876 for ; Tue, 26 Nov 2002 13:55:50 +0200 Message-Id: <5.1.0.14.2.20021126134737.013d24d0@192.96.48.11> X-Sender: nelis@192.96.48.11 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 26 Nov 2002 13:56:04 +0200 To: freebsd-questions@freebsd.org From: Nelis Lamprecht Subject: make builkernel error on Athlon Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner: Found to be clean 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 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 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