Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 16:29:26 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Karim Forsthofer <karim_f@xmail.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel compiling. gcc stops at warnings
Message-ID:  <20040622232926.GB25077@xor.obsecurity.org>
In-Reply-To: <1087934482.40d890120e50c@www.xmail.net>
References:  <1087934482.40d890120e50c@www.xmail.net>

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

--7iMSBzlTiPOCCT2k
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 22, 2004 at 01:01:22PM -0800, Karim Forsthofer wrote:
> Good evening
>=20
> I tried to compile a new kernel from my 5.1 bsd cd.
> "Config" and "make depend" worked well, but "make" has put
> out some warnings about unused functions in npx.c (or something else).
> I searched in the newsgroup and found some similar postings to this
> subject
> It seems to me, that the problem appears when the RealTek pci NIC
> device is included in the config file. Someone wrote in the newsgroup,
> that gcc works with the wrong compiler flags, that means that the
> compiler stops at warnings, but he didn`t mention how the solve this
> problem or how to change the flags.
> Any suggestions?

Warnings aren't fatal unless you ask them to be (with -Werror).  If
you're seeing compiler *errors*, it's usually because you have an
incomplete kernel config file.  Compare it to the sample config files
(pay careful attention to the comments that tell you what options are
required by the drivers and systems you add or remove), and post it
here together with the errors you receive from the build, if you
require further help.

Kris

--7iMSBzlTiPOCCT2k
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA2MDVWry0BWjoQKURAjbrAKDqlILHPyjD5L9Lyei8RSNnBV9t8ACfW3Ju
VYh3PU4cXO1hyQYDfzSeqf8=
=Lwfo
-----END PGP SIGNATURE-----

--7iMSBzlTiPOCCT2k--



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