Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
More openssl fallout?
With up-to-date sources, on amd64:
dependall ===> lib/libradius
# compile libradius/radlib.pico
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Werror -fPIE -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/build/netbsd-local/dest/amd64 -I. -DOPENSSL_VERSION_NUMBER=0x10100000L -DWITH_SSL -D_FORTIFY_SOURCE=2 -c -fPIC -g /build/netbsd-local/src_ro/lib/libradius/radlib.c -o radlib.pico
In file included from /build/netbsd-local/dest/amd64/usr/include/openssl/crypto.h:130:0,
from /build/netbsd-local/dest/amd64/usr/include/openssl/bio.h:69,
from /build/netbsd-local/dest/amd64/usr/include/openssl/evp.h:75,
from /build/netbsd-local/dest/amd64/usr/include/openssl/hmac.h:67,
from /build/netbsd-local/src_ro/lib/libradius/radlib.c:42:
/build/netbsd-local/dest/amd64/usr/include/openssl/opensslv.h:33:0: error: "OPENSSL_VERSION_NUMBER" redefined [-Werror]
# define OPENSSL_VERSION_NUMBER 0x100020bfL
^
<command-line>:0:0: note: this is the location of the previous definition
/build/netbsd-local/src_ro/lib/libradius/radlib.c: In function 'insert_message_authenticator':
/build/netbsd-local/src_ro/lib/libradius/radlib.c:184:9: error: implicit declaration of function 'HMAC_CTX_new' [-Werror=implicit-function-declaration]
ctx = HMAC_CTX_new();
^
/build/netbsd-local/src_ro/lib/libradius/radlib.c:184:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
ctx = HMAC_CTX_new();
^
/build/netbsd-local/src_ro/lib/libradius/radlib.c:192:3: error: implicit declaration of function 'HMAC_CTX_free' [-Werror=implicit-function-declaration]
HMAC_CTX_free(ctx);
^
/build/netbsd-local/src_ro/lib/libradius/radlib.c: In function 'is_valid_response':
/build/netbsd-local/src_ro/lib/libradius/radlib.c:265:10: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
hctx = HMAC_CTX_new();
^
cc1: all warnings being treated as errors
*** [radlib.pico] Error code 1
+------------------+--------------------------+----------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+
Home |
Main Index |
Thread Index |
Old Index