Date: Mon, 19 Mar 2007 08:45:16 +0700 From: "Toan. Bach Quang Bao" <toanbqb@vinagame.com.vn> To: "Kris Kennaway" <kris@obsecurity.org> Cc: freebsd-questions@freebsd.org Subject: RE: Error Compile Kernel Message-ID: <209FBDF00C0A3342AA3C36DA144681443D5274@BACKEND.vinagame.com.vn> References: <209FBDF00C0A3342AA3C36DA144681443D51BF@BACKEND.vinagame.com.vn> <20070317052009.GA32220@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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=20 patch -p0 < ip_input.c.patch patch -p0 < socketvar.h.patch patch -p0 < sys_conf_options.patch patch -p0 < sys_i386_conf_GENERIC.patch=20 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. :) Thanks & Best Regard, Bach Quang Bao Toan System Engineer -----Original Message----- From: Kris Kennaway [mailto:kris@obsecurity.org]=20 Sent: Saturday, March 17, 2007 12:20 PM To: Toan. Bach Quang Bao Cc: freebsd-questions@freebsd.org Subject: Re: Error Compile Kernel On Sat, Mar 17, 2007 at 11:35:47AM +0700, Toan. Bach Quang Bao wrote: > ip_input.o(.text+0x200): In function `ip_init': >=20 > ../../../netinet/ip_input.c:312: undefined reference to > `nf_sockopt_init' You forgot to mention what version of FreeBSD you are trying to compile, but I can't find any remotely similar function call in that file (or in the entire kernel) in either 6.x or 7.x. Are you sure this isn't a local modification you made? Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?209FBDF00C0A3342AA3C36DA144681443D5274>