spider:~# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
spider:~# ld -v
GNU ld version 2.17 Debian GNU/Linux

spider:/opt/openssl-0.9.8e-etch/apps# gcc -DMONOLITH -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT \
>  -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall \
>  -DMD32_REG_T=int -DMD5_ASM   -c -S -o s_server.s s_server.c

gives no message at all, so it seems to work

spider:/opt/openssl-0.9.8e-etch/apps# gcc -DMONOLITH -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT \
>  -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall \
>  -DMD32_REG_T=int -DMD5_ASM   -c -o s_server.o s_server.s
s_server.s: Assembler messages:
s_server.s:437: Error: Incorrect register `%rax' used with `l' suffix
s_server.s:445: Error: Incorrect register `%rbx' used with `l' suffix
s_server.s:465: Error: Incorrect register `%rdx' used with `l' suffix
s_server.s:466: Error: Incorrect register `%rbx' used with `l' suffix
spider:/opt/openssl-0.9.8e-etch/apps#

as you can see this gives the errors i had

what do you want me to make available online ?
the log ?


Florian



Darryl Miles wrote:

Please take a look at this thread for assistance.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg22972.html


In your case manually run these 3 commands:

cd apps

gcc -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT \
 -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall \
 -DMD32_REG_T=int -DMD5_ASM   -c -S -o s_server.s s_server.c

gcc -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT \
 -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall \
 -DMD32_REG_T=int -DMD5_ASM   -c -o s_server.o s_server.s


All I did was take your "gcc" command line and change "-o s_server.o" for "-S -o s_server.s" this causes the compiler to emit the assembler code in the file s_server.s, in there at line 437 is the error.

If you make that available somewhere online (rather than post it to the list) I can confirm the problem is a broken compiler or not.


Please confirm your binutils and gcc version.  gcc -v, ld -v

Darryl


Florian Schnabel wrote:
still noone has any ideas why it wont compile ?
i'm rather lost without openssl and i can't just reinstall the box without a lot of extra work
______________________________________________________________________
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]

Reply via email to