Error Compile Kernel
Toan. Bach Quang Bao
toanbqb at vinagame.com.vn
Mon Mar 19 02:43:35 UTC 2007
Dear Kris,
I see, but not install it on FreeBSD 6.2?
If you have a solution, please help me.
Thanks and best regards.
System Engineer
-----Original Message-----
From: Kris Kennaway [mailto:kris at obsecurity.org]
Sent: Monday, March 19, 2007 9:39 AM
To: Toan. Bach Quang Bao
Cc: Kris Kennaway; freebsd-questions at freebsd.org
Subject: Re: Error Compile Kernel
On Mon, Mar 19, 2007 at 08:45:16AM +0700, Toan. Bach Quang Bao wrote:
> Dear Kris,
>
> I'm sorry,
>
> I have install FreeBSD
> # uname -an
> FreeBSD freebsd 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Sat Mar 17
11:06:39
> ICT 2007 root at freebsd:/usr/src/sys/i386/compile/GENERIC i386
>
> After I install LVS http://dragon.linux-vs.org/~dragonfly/
>
> wget
>
http://dragon.linux-vs.org/~dragonfly/software/ipvs_freebsd-0.4.0.tar.gz
>
> After I install with guide:
>
> 1. Patch the FreeBSD kernel:
> cp patch/5.4-RELEASE/* /usr/src;
> cd /usr/src;
> patch -p0 < uipc_socket.c.patch
> patch -p0 < ip_input.c.patch
> patch -p0 < socketvar.h.patch
> patch -p0 < sys_conf_options.patch
> patch -p0 < sys_i386_conf_GENERIC.patch
> 2. Rebuilding FreeBSD kernel:
> cd /usr/src/sys/arch/i386/conf;
> config GENERIC;
> cd ../compile/GENERIC;
> make depend;
> make;
> make install;
>
> And then:
>
> # make
> Have error:
>
> linking kernel.debug
> ip_input.o(.text+0x200): In function `ip_init':
> ../../../netinet/ip_input.c:312: undefined reference to
> `nf_sockopt_init'
> *** Error code 1
>
> Have a good day.
> Please help me. :)
Pretty clearly those third party patches you installed are intended
for FreeBSD 5.4-RELEASE, not 6.2-RELEASE. Anyway it is not a FreeBSD
issue.
Kris
More information about the freebsd-questions
mailing list