Subject: build problems...
To: None <current-users@netbsd.org>
From: Rui Paulo <goteki@pixeloverflow.com>
List: current-users
Date: 04/19/2004 22:12:47
Hi, I'm getting the folowing problem with building NetBSD-2.0C

# ./build.sh -u build
dependall ===> usr.sbin/racoon/racoon
#   compile  racoon/crypto_openssl.o
/usr/src/obj/tooldir.NetBSD-2.0C-i386/bin/i386--netbsdelf-gcc -g -O2 -mcpu=pentiumpro -O2 -mcpu=pentiumpro  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror   -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_HEADERS=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 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=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/kame/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 -DHAVE_GSSAPI -I/usr/src/obj/destdir.i386/usr/include/krb5 -DHAVE_SIGNING_C=1 -DHAVE_OPENSSL_PEM_H=1 -DHAVE_OPENSSL_X509_H=1  -DHAVE_OPENSSL_EVP_H=1  -nostdinc -isystem /usr/src/obj/destdir.i386/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:185: warning: dereferencing type-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:214: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/crypto/dist/kame/racoon/crypto_openssl.c:217: warning: dereferencing type-punned pointer will break strict-aliasing rules

*** Failed target:  crypto_openssl.o
*** Failed command: /usr/src/obj/tooldir.NetBSD-2.0C-i386/bin/i386--netbsdelf-gcc -g -O2 -mcpu=pentiumpro -O2 -mcpu=pentiumpro -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Werror -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_HEADERS=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 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=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/kame/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 -DHAVE_GSSAPI -I/usr/src/obj/destdir.i386/usr/include/krb5 -DHAVE_SIGNING_C=1 -DHAVE_OPENSSL_PEM_H=1 -DHAVE_OPENSSL_X509_H=1 -DHAVE_OPENSSL_EVP_H
=1 -nostdinc -isystem /usr/src/obj/destdir.i386/usr/include -c /usr/src/crypto/dist/kame/racoon/crypto_openssl.c
*** Error code 1
[...]
ERROR: Failed to make build
*** BUILD ABORTED ***

I have no ideia what's happening.


-
Rui Paulo <goteki@pixeloverflow.com>
3F1E DB64 40B0 B027 1F3C  4A4A 1384 42C6 B05A DCB7

  "Simplicity is the ultimate 
    sophistication." 
    -- Leonardo da Vinci