From owner-freebsd-alpha@FreeBSD.ORG Wed Apr 23 06:05:58 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3358C37B401 for ; Wed, 23 Apr 2003 06:05:58 -0700 (PDT) Received: from mail.performancedesign.no (a217-118-41-78.bluecom.no [217.118.41.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CE7643FBF for ; Wed, 23 Apr 2003 06:05:56 -0700 (PDT) (envelope-from idart@performancedesign.no) Received: from performancedesign.no (blackbird.performancedesign.no [217.118.41.78]) by mail.performancedesign.no (Postfix) with ESMTP id 8F18020AD0 for ; Wed, 23 Apr 2003 15:04:43 +0200 (CEST) Message-ID: <3EA68FAE.3050803@performancedesign.no> Date: Wed, 23 Apr 2003 15:05:50 +0200 From: Idar Tollefsen Organization: Performance Design User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-alpha@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 4.8 buildworld fails X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: idar.tollefsen@baerum.kommune.no List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 13:05:58 -0000 Hello, 4.8 buildworld fails (on an Alpha) with this message: /usr/obj/usr/src/alpha/usr/include/openssl/ui.h:220: warning: function declaration isn't a prototype beacuse it's treating warnings as errors. It's been like this since 4.8 was released. The offending line looks like this: int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f)()); What is it he's complaining about? Here's the output leading up to this: ===> secure/lib/libtelnet cc -O1 -pipe -mcpu=ev56 -DENCRYPTION -DAUTHENTICATION -DSRA -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet -DNO_IDEA -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/genget.c -o genget.o cc -O1 -pipe -mcpu=ev56 -DENCRYPTION -DAUTHENTICATION -DSRA -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet -DNO_IDEA -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/getent.c -o getent.o cc -O1 -pipe -mcpu=ev56 -DENCRYPTION -DAUTHENTICATION -DSRA -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet -DNO_IDEA -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/misc.c -o misc.o cc1: warnings being treated as errors In file included from /usr/obj/usr/src/alpha/usr/include/openssl/ui_compat.h:63, from /usr/obj/usr/src/alpha/usr/include/openssl/des_old.h:439, from /usr/obj/usr/src/alpha/usr/include/openssl/des.h:101, from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64, from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/misc.c:53: /usr/obj/usr/src/alpha/usr/include/openssl/ui.h:220: warning: function declaration isn't a prototype *** Error code 1 It complains about the same "problem" earlier in the build process as well, but whatever is compiled then doesn't treat warnings as errors and continues building anyway. Any pointers would be appreciated. - IT