Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 1998 01:15:01 -0500
From:      Norman C Rice <nrice@emu.sourcee.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        dkelly@HiWAAY.net, freebsd-stable@FreeBSD.ORG, pst@FreeBSD.ORG
Subject:   Re: Tonight's cvsup'ed -stable fails "make buildword"
Message-ID:  <19980301011501.02816@emu.sourcee.com>
In-Reply-To: <199803010536.QAA32286@godzilla.zeta.org.au>; from Bruce Evans on Sun, Mar 01, 1998 at 04:36:42PM %2B1100
References:  <199803010536.QAA32286@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 01, 1998 at 04:36:42PM +1100, Bruce Evans wrote:
> >===> 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.

It also appears that `lpr' is broken for similar reasons.
-- 
Regards,
Norman C. Rice, Jr.

> 
> Bruce
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

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?19980301011501.02816>