From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 07:24:49 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 879F51065689 for ; Wed, 1 Oct 2008 07:24:49 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51111.mail.re2.yahoo.com (web51111.mail.re2.yahoo.com [206.190.39.88]) by mx1.freebsd.org (Postfix) with SMTP id 349A88FC0C for ; Wed, 1 Oct 2008 07:24:49 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 28787 invoked by uid 60001); 1 Oct 2008 07:24:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=VQzmivYZR2HNAF0TFW4QOP0f+4wmm1Iis+Y80lAgKaK1IDXOK+EeskTc9PNOQ0WTZVNQUAWoVvTwzaYXQcgDx0enTqaVjFBQYda1fk2PP3OD/fn5mY8N1k20w3j3YoqiMYNg/bFlLNWRtDVdi2QCAoDZ8VsdRwwHd72eDz5mS9I=; X-YMail-OSG: DJ4zkSoVM1mSvAuhFVK1vGECyo5gKHo3Kche_23VRtLc8W9tIWWJ4ZrcQKi4G0AW7S4PyU8PsMkPSkM.5W2rTpi3cd5yzlXWPSQP3SjGOZVsDGzRd.FIZag9nIJ9GL0DzboixT147kTFLW03wWDRZ1i8rRG4yxTG99.2nSczjM9jlBSXQQ-- Received: from [82.136.213.253] by web51111.mail.re2.yahoo.com via HTTP; Wed, 01 Oct 2008 00:24:48 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 1 Oct 2008 00:24:48 -0700 (PDT) From: Dino Vliet To: Frank Shute In-Reply-To: <20080929123132.GA59725@melon.esperance-linux.co.uk> MIME-Version: 1.0 Message-ID: <669615.28563.qm@web51111.mail.re2.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 07:24:49 -0000 --- On Mon, 9/29/08, Frank Shute wrote: From: Frank Shute Subject: Re: error compiling kernel To: "Dino Vliet" Cc: freebsd-questions@freebsd.org Date: Monday, September 29, 2008, 2:31 PM 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 Hi Frank, It worked! Thanks for the tips. I've reenabled sched_bsd and added options NETGRAPH. The latter is strange though, because I managed to compile the p1 kernel in the past without it, so why would that fail now? Anyway, it worked so I can look at my other problems now. This machine was disconnected from the internet a few months so I had a very long package list that needed to be updated. Thanks for your reply! Dino