On Fri, 29 Sep 2006, Roger Cornelius wrote: > (I've attempted to break long lines below so mail/news readers won't.) > > I'm attempting to build openssl 0.9.8d on SCO Openserver 507 w/MP5. > I've tried using both gcc 2.95.3 and the SCO native compiler. With gcc, > make fails when compiling ui_openssl.c: > > gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED \ > -DZLIB -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -I/u/include \ > -R/u/lib:/u/gnu/lib -s -O3 -fomit-frame-pointer \ > -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM \ > -DMD5_ASM -DRMD160_ASM -DAES_ASM -c -o ui_openssl.o ui_openssl.c > In file included from /usr/include/posix/signal.h:35, > from /usr/include/signal.h:11, > from ui_openssl.c:126: > /usr/include/sys/signal.h:175: syntax error before `siginfo_t'
Same problem with native compiler. > I worked around this with this small patch to sys/signal.h: Instead of patching sys/signal.h you could patch crypto/ui/ui_openssl.c to comment out the "#define _POSIX_C_SOURCE 1" line. That will allow OpenServer 5 to include sys/siginfo.h where siginfo_t is. I don't have time right now to come up with a "correct" solution that will not break other platforms. > If I build using SCO's native compiler, the compile dies here: > > cc -I. -I.. -I../include -Kpic -DOPENSSL_PIC -DZLIB_SHARED -DZLIB \ > -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -I/u/include \ > -R/u/lib:/u/gnu/lib -s -belf -DOPENSSL_BN_ASM_PART_WORDS \ > -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM \ > -c -o x86cpuid-elf.o x86cpuid-elf.s > UX:i386as: ERROR: x86cpuid-elf.s:144:invalid operand combination: pxor Native compiler works here (w/ the HACK mentioned above) but you need to specify no-sse2 and no-sha512 at configure time. I just tried gcc. (don't need no-sha512 w/ gcc) All tests pass -- Tim Rice Multitalents (707) 887-1469 [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
