Date: Wed, 6 Nov 2002 03:02:04 -0800 From: Maxime Henrion <mux@freebsd.org> To: Bri <brian@ukip.com> Cc: freebsd-sparc@freebsd.org Subject: Re: Compiling Kernel from todays sources Message-ID: <20021106110203.GL26605@elvis.mu.org> In-Reply-To: <NEBBKKNOEKKNLLNMEOHFAEAELAAA.brian@ukip.com> References: <NEBBKKNOEKKNLLNMEOHFAEAELAAA.brian@ukip.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bri wrote: > when doing a make -DNO_WERROR in my compile directory I get error compiling > ../../../ddb/db_examine.c > > /arch/sparc64/hosted/bin/gcc -c -O -pipe -Wall -Wredundant-decls -Wnested-e > xterns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -W > cast-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../ > contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include > opt_global.h -mcmodel=medlow -msoft-float -fno-common -ffreestanding -Werro > r ../../../ddb/db_examine.c > cc1: warnings being treated as errors > ../../../ddb/db_examine.c: In function `db_examine': > ../../../ddb/db_examine.c:132: warning: unknown conversion type character > `y' in format > ../../../ddb/db_examine.c:132: warning: too many arguments for format > ../../../ddb/db_examine.c: In function `db_print_cmd': > ../../../ddb/db_examine.c:216: warning: unknown conversion type character > `y' in format > ../../../ddb/db_examine.c:216: warning: too many arguments for format > *** Error code 1 Please use the recommended upgrade procedure. You need to do a make world first, in order to recompile gcc. Also, this has been explained in cvs-all@FreeBSD, in reply to the commit that caused this. You should probably read commit logs if you're running -CURRENT. Finally, make -DNO_WERROR is no longer the way to remove -Werror (as you may have noticed since your command line still use the -Werror flag thus causing the build to fail), you have to use make WERROR=. Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021106110203.GL26605>