0.9.8a Build Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

0.9.8a Build Error

jfenlason
Message
I'm trying to build OpenSSL 0.9.8a on Solaris 8 and I'm running into problems.  Any pointers would be greatly appreciated.
 
Here is my build process:
./config --openssldir=/home/snow/jfenlason/solaris/lib/opensslSharedDist threads shared
make
 
Then I get the following error:
...
gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM   -c -o qud_cksm.o qud_cksm.c
gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM   -c -o rand_key.o rand_key.c
gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM -c   -c -o des_enc-sparc.o des_enc-sparc.S
des_enc-sparc.S: Assembler messages:
des_enc-sparc.S:2052: Error: Bad expression
des_enc-sparc.S:2052: Error: Rest of line ignored. First ignored character is `r'.
make[2]: *** [des_enc-sparc.o] Error 1
make[2]: Leaving directory `/home/snow/jfenlason/solaris/openssl-0.9.8a/crypto/des'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/snow/jfenlason/solaris/openssl-0.9.8a/crypto'
make: *** [build_crypto] Error 1
Here are some details about my build environment.
bash-2.03$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
gcc version 2.95.2 19991024 (release)

ash-2.03$ make -v
GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.7
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
 
Report bugs to <[hidden email]>.
 
bash-2.03$
Reply | Threaded
Open this post in threaded view
|

Re: 0.9.8a Build Error

Andy Polyakov
> gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
> -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3
> -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM -c   -c -o
> des_enc-sparc.o des_enc-sparc.S
> des_enc-sparc.S: Assembler messages:
> des_enc-sparc.S:2052: Error: Bad expression
> des_enc-sparc.S:2052: Error: Rest of line ignored. First ignored
> character is `r'.
> make[2]: *** [des_enc-sparc.o] Error 1

I can think of only one possibility: your gcc is using outdated gnu
assembler. Upgrade your assembler, switch to vendor assembler or omit
assembler support by configuring with no-asm. A.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]