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
--Sig_S/xSl9BXm9zKQ.eKZlITaXU
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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

> I have compile kernel:
>=20
>  cd /usr/src/sys/i386/conf
>=20
>  mkdir /root/kernels
>=20
>  cp GENERIC /root/kernels/MYKERNEL  =20
>=20
>  ln -s /root/kernels/MYKERNEL
>=20
>  /usr/sbin/config MYKERNEL
>=20
>  cd ../compile/MYKERNEL
>=20
>  make depend
>=20
>  make
>=20
>  make install
>=20
> But when I "make" it have error:
>=20
> # make
>=20
> linking kernel.debug
>=20
> ip_input.o(.text+0x200): In function `ip_init':
>=20
> ../../../netinet/ip_input.c:312: undefined reference to
> `nf_sockopt_init'
>=20
> *** 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


--=20
Gerard

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

	Andy Warhol

--Sig_S/xSl9BXm9zKQ.eKZlITaXU
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

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

--Sig_S/xSl9BXm9zKQ.eKZlITaXU--



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