Kris Kennaway kris at
Wed Feb 11 03:19:31 PST 2004

On Wed, Feb 11, 2004 at 12:03:39PM +0100, molj wrote:
> t-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev 
> -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL 
> -include opt_global.h -fno-common  -mno-align-long-strings 
> -mpreferred-stack-boundary=2 -ffreestanding -Werror  
> /usr/src/sys/i386/isa/npx.c
> cc1: warnings being treated as errors
> /usr/src/sys/i386/isa/npx.c:1075: warning: `npx_driver' defined but not used
> /usr/src/sys/i386/isa/npx.c:1081: warning: `npx_devclass' defined but not used
> *** Error code 1
> Stop in /usr/obj/usr/src/sys/MEGATRON.
> *** Error code 1

You truncated the output, but this still shows enough to tell that you
have added nonstandard compiler flags to the build.  Specifically, you
told gcc to treat warnings as errors (-Werror), and then,
unsurprisingly, the build stopped when it encountered a warning.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list