I've been working on building OpenSSL 0.9.8i on QNX 4.25, and so far it's
gone well.
I made a few changes to the config and Configure scripts, and the build ran
up to the following error:

making all in crypto/x509...
make-3.81[2]: Entering directory
`/home/cjohnson/build/openssl-build/crypto/x509'
cc -I.. -I../.. -I../../include -DL_ENDIAN -DTERMIO
-DOPENSSL_IMPLEMENTS_strncasecmp -DOPENSSL_NO_SHA512 -Q -5r -Wc,-mf   -c -o
x509_def.o x509_def.c
<snip>
cc -I.. -I../.. -I../../include -DL_ENDIAN -DTERMIO
-DOPENSSL_IMPLEMENTS_strncasecmp -DOPENSSL_NO_SHA512 -Q -5r -Wc,-mf   -c -o
x509_lu.o x509_lu.c
cc -I.. -I../.. -I../../include -DL_ENDIAN -DTERMIO
-DOPENSSL_IMPLEMENTS_strncasecmp -DOPENSSL_NO_SHA512 -Q -5r -Wc,-mf   -c -o
x_all.o x_all.c
../../include/openssl/rsa.h(274): Error! E1044: Variable 'RSAPublicKey_it'
has incomplete type
../../include/openssl/rsa.h(275): Error! E1044: Variable 'RSAPrivateKey_it'
has incomplete type
../../include/openssl/pkcs7.h(283): Error! E1044: Variable
'PKCS7_ISSUER_AND_SERIAL_it' has incomplete type
../../include/openssl/pkcs7.h(305): Error! E1044: Variable 'PKCS7_it' has
incomplete type
../../include/openssl/x509.h(924): Error! E1044: Variable 'X509_REQ_it' has
incomplete type
../../include/openssl/x509.h(923): Error! E1044: Variable 'X509_REQ_INFO_it'
has incomplete type
../../include/openssl/x509.h(934): Error! E1044: Variable 'X509_NAME_it' has
incomplete type
../../include/openssl/x509.h(938): Error! E1044: Variable 'X509_CINF_it' has
incomplete type
../../include/openssl/x509.h(940): Error! E1044: Variable 'X509_it' has
incomplete type
../../include/openssl/x509.h(965): Error! E1044: Variable 'X509_CRL_it' has
incomplete type
../../include/openssl/x509.h(964): Error! E1044: Variable 'X509_CRL_INFO_it'
has incomplete type
../../include/openssl/x509.h(975): Error! E1044: Variable
'NETSCAPE_SPKAC_it' has incomplete type
make-3.81[2]: *** [x_all.o] Error 12
make-3.81[2]: Leaving directory
`/home/cjohnson/build/openssl-build/crypto/x509'
make-3.81[1]: *** [subdirs] Error 1
make-3.81[1]: Leaving directory `/home/cjohnson/build/openssl-build/crypto'
make-3.81: *** [build_crypto] Error 1
[~/build/openssl-build] $

>From what I can tell, the macros for RSAPublicKey and RSAPrivateKey aren't
expanded properly while building x_all.c.

I'm using QNX 4.25 with the latest Watcom 10.6 C compiler on a Pentium 3.
Do I need to define the EXPORT_VARS_AS_FUNCTIONS macro?

Could you give me some tips on fixing this?
Thanks!

-- 
Chris Johnson
[EMAIL PROTECTED]

Reply via email to