Subject: openssl compilation fun
To: None <netbsd-users@netbsd.org>
From: None <spambait-1@sik.oulu.fi>
List: netbsd-users
Date: 06/08/2004 18:22:10
Hello all,
I recently tried to bring a netbsd 1.6.1 machine up-to-date wrt. patches.
When trying to compile the libcrypto library, compilation stopped.
Tons of following error messages appeared. Did I do something wrong?
I ran the 'make includes' from top-level build tree, before going into
lib-directory, and running 'make dependall'. Anyone know, what the problem
is?
/usr/include/openssl/conf.h:166: unbalanced `#endif'
In file included from /usr/include/openssl/evp.h:76,
from /usr/include/openssl/x509.h:64,
from /usr/include/openssl/x509v3.h:62,
from
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/x509v3/v3_crld.c:64:
/usr/include/openssl/des.h:60: warning: garbage at end of `#ifdef'
argument
In file included from /usr/include/openssl/evp.h:76,
from /usr/include/openssl/x509.h:64,
from /usr/include/openssl/x509v3.h:62,
from
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/x509v3/v3_crld.c:64:
/usr/include/openssl/des.h:69: unbalanced `#endif'
/usr/include/openssl/des.h:262: unbalanced `#endif'
In file included from /usr/include/openssl/evp.h:81,
from /usr/include/openssl/x509.h:64,
from /usr/include/openssl/x509v3.h:62,
from
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/x509v3/v3_crld.c:64:
/usr/include/openssl/cast.h:83: unterminated `#ifdef' conditional
In file included from /usr/include/openssl/mdc2.h:62,
from /usr/include/openssl/evp.h:83,
from /usr/include/openssl/x509.h:64,
from /usr/include/openssl/x509v3.h:62,
from
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/x509v3/v3_crld.c:64:
/usr/include/openssl/des.h:60: warning: garbage at end of `#ifdef'
argument
In file included from /usr/include/openssl/mdc2.h:62,
from /usr/include/openssl/evp.h:83,
from /usr/include/openssl/x509.h:64,
from /usr/include/openssl/x509v3.h:62,
from
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/x509v3/v3_crld.c:64:
/usr/include/openssl/des.h:69: unbalanced `#endif'
/usr/include/openssl/des.h:262: unbalanced `#endif'
/usr/include/openssl/des.h:60: warning: garbage at end of `#ifdef'
argument
In file included from
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:79,
from rnd_keys.c:3:
/usr/include/openssl/des.h:69: unbalanced `#endif'
/usr/include/openssl/des.h:262: unbalanced `#endif'
In file included from rnd_keys.c:3:
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:171:
`#else' not within a conditional
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:172:
warning: `LOAD_DATA_tmp' redefined
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:164:
warning: this is the location of the previous definition
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:175:
warning: `LOAD_DATA' redefined
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:170:
warning: this is the location of the previous definition
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:176:
unbalanced `#endif'
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:261:
`#else' not within a conditional
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:319:
warning: `D_ENCRYPT' redefined
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:244:
warning: this is the location of the previous definition
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:322:
`#else' not within a conditional
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:335:
warning: `D_ENCRYPT' redefined
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:319:
warning: this is the location of the previous definition
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:336:
unbalanced `#endif'
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:337:
unbalanced `#endif'
/usr/src/src/lib/libcrypto/../../crypto/dist/openssl/crypto/des/des_locl.h:404:
unbalanced `#endif'
nbmkdep: compile failed.
*** Error code 1
Stop.
make: stopped in /usr/src/src/lib/libcrypto
*** Error code 1
Stop.
make: stopped in /usr/src/src/lib