Hi All, 

 I am trying to cross compile OpenSSL FIPS module for linux-mips architecture 
(there is no direct support for the same). 
On building my test application using fipsld, 

$CC fips_mode.c -o fips_mode.exe -L ../openssl-1.0.1e -ldl -lcrypto 
where CC = ../fips/bin/fipsld 

I get the error : ELF64 is supported only natively at 
../FIPs/openssl-fips-2.0.2/util/incore line 45. 

Steps done: 

export HOSTCC=gcc 
export MACHINE=mips64 
export RELEASE=2.6.32.27-Cavium-Octeon 
export SYSTEM=Linux 
export ARCH=linux-mips64 
export CROSS_COMPILE=../bin/mips64-octeon-linux-gnu-gcc 

Also i have appended the Makefile to support linux mips architecture as 
specified in : 
http://tiebing.blogspot.in/2010/12/compile-openssl-for-linux-mips.html 

OpenSSL libcrypto and fipscanister.o are built successfully. But i am seeing 
the issue during linking test application - ELF64 is supported only natively at 
../FIPs/openssl-fips-2.0.2/util/incore line 45 

Please let me know  any suggestions. 

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

Reply via email to