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     [EMAIL PROTECTED]:/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. :)

Thanks & Best Regard,

Bach Quang Bao Toan

System Engineer
-----Original Message-----
From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
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':
> 
> ../../../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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to