Subject: Compile fail in -current kame/racoon
To: None <current-users@netbsd.org>
From: Dheeraj Reddy <dheeraj@ece.gatech.edu>
List: current-users
Date: 07/29/2003 10:59:48
Hello all..
   I get this error when make building today.
maybe something to do with some gcc options i believe.

this is gcc-3.3 

----------------------------------------------------------------------------
/usr/src/tools/tools-i386/bin/i386--netbsdelf-gcc -g -O2 -mcpu=pentiumpro -march=
pentiumpro -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-si
gn-compare -Wno-uninitialized  -Werror   -DHAVE_OPENSSL_IDEA_H -DHAVE_OPENSSL_RC5
_H -DINET6 -DHAVE_FUNCTION_MACRO=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBL=1 -DHAVE_LIBY=1
 -DENABLE_IPV6=1 -DADVAPI=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DSTDC_HEAD
ERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_STDARG_H=1 -DHAVE_VARARGS_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -D
HAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRER
ROR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRDUP=1 -DHAVE_GETIFADDRS=1 -DHAVE
_ARC4RANDOM=1 -DHAVE_PFKEYV2 -DYIPS_DEBUG -DIPSEC  -I. -I/usr/src/crypto/dist/kam
e/racoon -DSYSCONFDIR=\"/etc/racoon\" -DHAVE_OPENSSL_OPENSSLV_H=1 -DYY_NO_UNPUT -
I/usr/src/crypto/dist/kame/libipsec -I/usr/src/crypto/dist/kame/racoon/missing -D
RACOON_PKG_VERSION="\"netbsd-20030712\"" -I/usr/src/dist/tcpdump -I/usr/src/dist/
tcpdump/lbl -DHAVE_PRINT_ISAKMP_C=1 -DHAVE_SIGNING_C=1 -DHAVE_OPENSSL_PEM_H=1 -DH
AVE_OPENSSL_X509_H=1  -DHAVE_OPENSSL_EVP_H=1 -nostdinc -isystem /usr/obj/vagisha-
build/usr/include  -c    /usr/src/crypto/dist/kame/racoon/crypto_openssl.c
/usr/src/crypto/dist/kame/racoon/crypto_openssl.c: In function `eay_str2asn1dn':
/usr/src/crypto/dist/kame/racoon/crypto_openssl.c:183: warning: dereferencing typ
e-punned pointer will break strict-aliasing rules
/usr/src/crypto/dist/kame/racoon/crypto_openssl.c: In function `eay_cmp_asn1dn':
/usr/src/crypto/dist/kame/racoon/crypto_openssl.c:212: warning: dereferencing typ
e-punned pointer will break strict-aliasing rules
/usr/src/crypto/dist/kame/racoon/crypto_openssl.c:215: warning: dereferencing typ
e-punned pointer will break strict-aliasing rules
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.sbin/racoon/racoon
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.sbin/racoon/racoon
*** Error code 1

----------------------------------------------------------------------------

dheeraj