On 2003-01-13 10:24, [EMAIL PROTECTED] (Scottman) wrote:
> I'm trying to add sound support to my FreeBSD Release 4.6.2 kernel
> but it will not build successfully. Here is the error output I get
> (tail of make output):
> <<<<<<<<<<<<<<<<<<<<<<<<<<
> touch hack.c
> cc -elf -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> sh ../../conf/newvers.sh PATKERNEL 
> cc -c -O -pipe  -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes  -c
> linking kernel
> if.o: In function `if_setlladdr':
> if.o(.text+0x1bc4): undefined reference to
> `arp_ifinit'
> *** Error code 1
> Stop in /usr/src/sys/compile/PATKERNEL.
> >>>>>>>>>>>>>>>>>>>>>>>

This is not a copy paste of the message.  Nevertheless, you will need
to add the `options ether' line that you removed from your GENERIC
kernel to get things to work correctly.  The `options ether' stuff is
not used only by ethernet drivers.  Since it doesn't cost much, I keep
it in my kernel configs anyway.

> I'm only one month old in the Unix/FreeBSD environment and don't
> really know what should be done to fix this.  I have included my
> kernel at the end of this message for reference. I just know that I
> get some warnings about some NET, INET and INET6 files... Could this
> be related to these options?
> options INET    #InterNETworking
> options INET6  #IPv6 communications protocols

Possibly.  I suggest that you start with GENERIC and run buildkernel a
few times deleting or adding options a few at a time.  It's also a
nice idea to avoid mailers that do evil things to whitespace, since it
took me too long to read through the differences of your kernel and
GENERIC to see if what I suspected (the `ether' stuff) was true.

- Giorgos

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to