Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2007 06:02:11 -0400
From:      Gerard Seibert <gerard@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Error Compile Kernel
Message-ID:  <20070318060211.125e66d4@localhost>
In-Reply-To: <209FBDF00C0A3342AA3C36DA144681443D51BF@BACKEND.vinagame.com.vn>
References:  <209FBDF00C0A3342AA3C36DA144681443D51BF@BACKEND.vinagame.com.vn>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sat, 17 Mar 2007 11:35:47 +0700
"Toan. Bach Quang Bao" <toanbqb@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQFF/Q48FCqdq4D1ybYRAu0hAKDzFNVYCcXkhMFWT+ocW6qpGL9I1QCfURQt
qKRShfPTbeajBWZNhgqByzc=
=ZvLI
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070318060211.125e66d4>