Title: compile error in randfile.c on Solaris 10 Opteron

Hello,
I'm having trouble building 0.9.7i on a Solaris 10 on x86 (Opteron) machine. I configured manually with:
./Configure solaris-x86-gcc --prefix=/sci/openssl-0.9.7i no-idea no-rc5 no-mdc2 fiips

make depend is OK, but make gets this compile error:

making all in crypto/rand...
make[2]: Entering directory `/data/OpenSSL/openssl-0.9.7i/crypto/rand'
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -fomit-frame-pointer -mcpu=i486 -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o md_rand.o md_rand.c

gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -fomit-frame-pointer -mcpu=i486 -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o randfile.o randfile.c

In file included from /usr/include/sys/wait.h:24,
                 from /usr/include/stdlib.h:22,
                 from randfile.c:64:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:22,
                 from randfile.c:64:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /usr/include/stdlib.h:22,
                 from randfile.c:64:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
make[2]: *** [randfile.o] Error 1
make[2]: Leaving directory `/data/OpenSSL/openssl-0.9.7i/crypto/rand'

Has anyone seen this error? Any suggestion would be welcome. Thanks,
Richard

Reply via email to