Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 09:05:19 -0400 (EDT)
From:      "Geoffrey C. Speicher" <geoff@speicher.org>
To:        Zoran Kolic <kolicz@eunet.yu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: my mistake compiling kernel
Message-ID:  <Pine.BSF.4.05.10304110841590.27022-100000@speicher.org>
In-Reply-To: <200304110958.12789.kolicz@eunet.yu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Apr 2003, Zoran Kolic wrote:

> 
>    Dear FreeBSD!
>    On my home machine I`ve tried to
> compile custom kernel for 5_0 release.
> In a script commented out all scsi, raid,
> ethernet, nfs options, I had not. So I`ve
> included atapicam options and "device
> pcm" for AC97 sound chip. After all,
> result was an error:
> 
> linking kernel
> if.o: In function 'if_setlladdr':
> if.o(.text+0x2725): undefined reference to 'arp_ifinit'
> stop in /usr/orj/usr/src/sys/NEWKERN

As you said, you removed "device ether", which for no good reason is
required by "options INET".  See the recent thread on hackers@ for more:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=97462+0+current/freebsd-hackers

This shouldn't be the case, (you may want ppp support for internet dial-up
without ethernet support, or you may want ethernet without IP), but for
now, either replace "device ether" or remove the following if you don't
need any networking at all:

options INET
options INET6
device sl
device ppp
device tun
device gif

I'd be interested to hear what anyone else thinks about these
dependencies.

> I am shure that mistake is mine, but don't know
> what option to include. Must be something
> I threw away, without knowlidge what it is.
> Is there someone, who knows what to do
> for linking kernel to finaly compile? Script
> excludes and includes exactly what I said.
>
> Yes, 5_0 is very unstable and behaves a
> lot different than stable 4_. Best regards

Depends on what you mean by unstable, but it's been pretty stable for me.
Did your 4.x kernel run without device ether but with INET?

Geoff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10304110841590.27022-100000>