Date: Wed, 23 Apr 2003 15:05:50 +0200 From: Idar Tollefsen <idart@performancedesign.no> To: freebsd-alpha@freebsd.org Subject: 4.8 buildworld fails Message-ID: <3EA68FAE.3050803@performancedesign.no>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EA68FAE.3050803>