Thanks, you are right! Our system admin corrected something in the gcc setup and it fixed this error. Richard
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kyle Hamilton Sent: Thursday, January 19, 2006 8:46 PM To: openssl-users@openssl.org Subject: Re: compile error in randfile.c on Solaris 10 Opteron That looks like your system headers are corrupt. Try running this command: 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 -E -o randfile.e randfile.c and see what randfile.e looks like, searching for the string 'ctid_t'. -Kyle H On 1/19/06, Tinnerello, Richard <[EMAIL PROTECTED]> wrote: > > > 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 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]