Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 1998 00:26:25 -0500
From:      Norman C Rice <nrice@emu.sourcee.com>
To:        David Kelly <dkelly@HiWAAY.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Tonight's cvsup'ed -stable fails "make buildword"
Message-ID:  <19980301002625.29916@emu.sourcee.com>
In-Reply-To: <199803010451.WAA25777@nospam.hiwaay.net>; from David Kelly on Sat, Feb 28, 1998 at 10:51:34PM -0600
References:  <199803010451.WAA25777@nospam.hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 28, 1998 at 10:51:34PM -0600, David Kelly wrote:
> Am not sure if this is operator error on my part or what. Had some 
> cvsup problems earlier this (or last) week. Wonder if I got my sources 
> hosed? If so, thought cvsup was supposed to detect that and fix my 
> source tree?
> 
> As an attempt to cure I have "make clean", "make cleandepend",
> "rm -rf /usr/obj/*", and finally "rm /usr/src/include/*" followed by a 
> cvsup. That last one is compiling right now.
> 
> ===> 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 
                                                                             ^^^^^^^
The `-Werror' option is causing the compiler to abort just because some macros
were defined but not used. IMO, this seems a little too stringent; even for
stable/secure code. I am not sure why it's being used, but I believe if you get 
rid of the option, the compiler will get by this.
-- 
Regards,
Norman C. Rice, Jr.

> -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
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> 
> 
> 
> --
> David Kelly N4HHE, dkelly@nospam.hiwaay.net
> =====================================================================
> The human mind ordinarily operates at only ten percent of its
> capacity -- the rest is overhead for the operating system.
> 
> 
> 
> 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?19980301002625.29916>