error compiling kernel

Frank Shute frank at shute.org.uk
Mon Sep 29 12:31:45 UTC 2008


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
> #
<snip>
> 
> options 	SCHED_ULE		# ULE scheduler
> #options 	SCHED_4BSD		# 4BSD scheduler

<snip>

> 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 



More information about the freebsd-questions mailing list