Date: Sun, 18 Mar 2007 22:39:24 -0400 From: Kris Kennaway <kris@obsecurity.org> To: "Toan. Bach Quang Bao" <toanbqb@vinagame.com.vn> Cc: freebsd-questions@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: Error Compile Kernel Message-ID: <20070319023924.GA35032@xor.obsecurity.org> In-Reply-To: <209FBDF00C0A3342AA3C36DA144681443D5274@BACKEND.vinagame.com.vn> References: <209FBDF00C0A3342AA3C36DA144681443D51BF@BACKEND.vinagame.com.vn> <20070317052009.GA32220@xor.obsecurity.org> <209FBDF00C0A3342AA3C36DA144681443D5274@BACKEND.vinagame.com.vn>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070319023924.GA35032>