Error Compile Kernel

Gerard Seibert gerard at seibercom.net
Sun Mar 18 10:02:39 UTC 2007


On Sat, 17 Mar 2007 11:35:47 +0700
"Toan. Bach Quang Bao" <toanbqb at vinagame.com.vn> wrote:

> I have compile kernel:
> 
>  cd /usr/src/sys/i386/conf
> 
>  mkdir /root/kernels
> 
>  cp GENERIC /root/kernels/MYKERNEL   
> 
>  ln -s /root/kernels/MYKERNEL
> 
>  /usr/sbin/config MYKERNEL
> 
>  cd ../compile/MYKERNEL
> 
>  make depend
> 
>  make
> 
>  make install
> 
> But when I "make" it have error:
> 
> # make
> 
> 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

You failed to mention what version of FBSD you are employing. However,
it appears that you are using an antiquated method of building a new
kernel.

You should probably check out these URLS for further information.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


-- 
Gerard

Living in New York City gives people real incentives
to want things that nobody else wants.

	Andy Warhol
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070318/4d68bb71/signature.pgp


More information about the freebsd-questions mailing list