From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 12:31:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84F671065687 for ; Mon, 29 Sep 2008 12:31:45 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 134DD8FC19 for ; Mon, 29 Sep 2008 12:31:44 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KkHud-0003Iy-Kn; Mon, 29 Sep 2008 13:31:39 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m8TCVcDB026337; Mon, 29 Sep 2008 13:31:39 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id E83C8FCA4AD; Mon, 29 Sep 2008 13:31:32 +0100 (BST) Date: Mon, 29 Sep 2008 13:31:32 +0100 From: Frank Shute To: Dino Vliet Message-ID: <20080929123132.GA59725@melon.esperance-linux.co.uk> Mail-Followup-To: Dino Vliet , freebsd-questions@freebsd.org References: <790826.29163.qm@web51102.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <790826.29163.qm@web51102.mail.re2.yahoo.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Mon, 29 Sep 2008 13:31:39 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: error compiling kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 12:31:45 -0000 On Sun, Sep 28, 2008 at 11:09:01PM -0700, Dino Vliet wrote: > > Hi all, > > In an effort to compile a new kernel on my amd64 system running > freebsd 6.3 I get the following error message after the make > buildkernel KERNCONF=MYKERNEL step. > > The error I get is: > > /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to 'ng_parse_int32_type' udbp.o (.rodata + 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to 'ng_parse_int32_type' > > *** Error code 1 > Stop in /usr/obj/usr/src/sys/MYKERNEL > *** Error code 1 > Stop in /usr/src > *** Error code 1 > Stop in /usr/src > > My kernel configuration called MYKERNEL looks like this: > > # > # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 > # > > options SCHED_ULE # ULE scheduler > #options SCHED_4BSD # 4BSD scheduler > What is causing this error? > > Brgds > Dino > device fwe # Ethernet over FireWire (non-standard!) Dino, I don't know if it's possibly related but IIRC the SCHED_ULE scheduler is deprecated for use in 6.* (I stand to be corrected!:) although I believe it works with 7.* So I suggest trying SCHED_4BSD and see if that works better. As to the specific error, it looks like you might need: options NETGRAPH in your kernel conf. See: netgraph(4) You might also want to use the tag: RELENG_6_4 for your source supfile. I'm pretty sure there is a 6.4 branch now the BETA has come out. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html