This is a discussion on Re: Openssl 0.9.8x on SCO Openserver 5 - Openssl ; On 09/30/2006 12:05, Tim Rice wrote: > 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 ...
On 09/30/2006 12:05, Tim Rice wrote:
> 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.
Thanks. All of the above does allow successful compile and test using
the native compiler.
> I just tried gcc. (don't need no-sha512 w/ gcc)
> All tests pass
Regardless of what I do, I'm unable to get past the core dumping sh512t
test mentioned in my original message when building with gcc. How are
you invoking config? Do you have MP5 installed? Are you using version
5.0.7Kj of the GNU dev tools that SCO provides? For what it's worth, I
had this problem pre-MP5 and with the previous version of the gnu dev
Roger Cornelius firstname.lastname@example.org
OpenSSL Project http://www.openssl.org
Development Mailing List email@example.com
Automated List Manager firstname.lastname@example.org