4.8 buildworld fails
Idar Tollefsen
idart at performancedesign.no
Wed Apr 23 06:05:58 PDT 2003
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
More information about the freebsd-alpha
mailing list