Date: Sun, 1 Mar 1998 16:36:42 +1100 From: Bruce Evans <bde@zeta.org.au> To: dkelly@HiWAAY.net, freebsd-stable@FreeBSD.ORG Cc: pst@FreeBSD.ORG Subject: Re: Tonight's cvsup'ed -stable fails "make buildword" Message-ID: <199803010536.QAA32286@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>===> libscsi >cc -pipe -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libscsi/scsi.c -o scsi.o >building standard scsi library >ranlib libscsi.a >cc -fpic -DPIC -pipe -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libscsi/scsi.c -o scsi.so >building shared scsi library (version 2.0) >===> libskey >cc -pipe -DPERMIT_CONSOLE -D_SKEY_INTERNAL -I/usr/src/lib/libskey -W -Wall -Werror -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libskey/skeyaccess.c -o skeyaccess.o >cc1: warnings being treated as errors >/usr/obj/usr/src/tmp/usr/include/stdio.h:366: warning: `__sputc' defined but not used >/usr/obj/usr/src/tmp/usr/include/ctype.h:143: warning: `__istype' defined but not used >/usr/obj/usr/src/tmp/usr/include/ctype.h:157: warning: `__toupper' defined but not used >/usr/obj/usr/src/tmp/usr/include/ctype.h:164: warning: `__tolower' defined but not used >*** Error code 1 This is caused by dubious configuration: 1) you don't have -O in CFLAGS for some reason (it looks like you have -pipe without -O in /etc/make.conf). 2) libskey/Makefile now puts -W in CFLAGS. In combination with (1), this causes gcc t emit a warning for every static inline declaration in every header file that it parses. 3) libskey now puts -Werror in CFLAGS. This makes the combination of (1) and (2) fatal. In other words, libskey is now broken even in -stable if -O isn't in CFLAGS. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803010536.QAA32286>
