Dear friends,

I have been in trouble for the past couple of days trying to compile
openssl-0.9.8k for mipsel-linux. Actually I was able to compile it but
running 'make test' generates the following error:

        make[2]: Leaving directory
        `/home/marcel/Desktop/TEMP/openssl-0.9.8k_mipsel_linux'
        ../util/shlib_wrap.sh ./destest
        ERROR: ld.so: object '../util/../libcrypto.so.0.9.8' from
        LD_PRELOAD cannot be preloaded: ignored.
        ERROR: ld.so: object '../util/../libssl.so.0.9.8' from
        LD_PRELOAD cannot be preloaded: ignored.
        ./destest: 1: Syntax error: "(" unexpected
        make[1]: *** [test_des] Error 2
        make[1]: Leaving directory
        `/home/marcel/Desktop/TEMP/openssl-0.9.8k_mipsel_linux/test'
        make: *** [tests] Error 2
        

Here's my compiler info:

mar...@marcel-desktop:~/Desktop/TEMP/openssl-0.9.8k_mipsel_linux
$ /opt/mipsel-linux/bin/mipsel-uclibc-gcc -v
Using built-in specs.
Target: mipsel-linux-uclibc
Configured with: ../gcc-4.2.0-20070124/configure
--prefix=/opt/toolchains/crosstools_hf-linux-2.6.18.0_gcc-4.2-10ts_uclibc-nptl-0.9.29-20070423_20080721/
 --build=mipsel-linux --host=mipsel-linux --target=mipsel-linux-uclibc 
--with-build-sysroot=/usr/src/redhat/BUILD/build_uClibc 
--enable-languages=c,c++ --disable-__cxa_atexit --enable-target-optspace 
--with-gnu-ld --with-float=hard --enable-threads 
--infodir=/opt/toolchains/crosstools_hf-linux-2.6.18.0_gcc-4.2-10ts_uclibc-nptl-0.9.29-20070423_20080721/info
 
--mandir=/opt/toolchains/crosstools_hf-linux-2.6.18.0_gcc-4.2-10ts_uclibc-nptl-0.9.29-20070423_20080721/man
 --with-arch=mips32 --disable-libmudflap --disable-nls --with-gnu-plts
Thread model: posix
gcc version 4.2.0 20070124 (prerelease) - BRCM 10ts-20080721


I added the folowing entry to my Configure file to compile openssl:

        "mipsel-linux","/opt/mipsel-linux/bin/mipsel-uclibc-gcc:-DTERMIO
        -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG
        RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no
        _asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\
        $(SHLIB_MINOR)",


Does anyone have already been successful doing this?

I have already searched the maillist archive and noticed that some
people had trouble even compiling previous versions of openssl-0.9.8. I
wonder if they solved their problem and were able to properly use it.

Please let me know if you need more information.

Thanks in advance,
Marcel Moura

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to