[openssl-dev] [openssl.org #3844] FW: regarding shared library for openssl -1.0.2a

Bhupathi Sumanth via RT rt at openssl.org
Fri May 8 16:11:08 UTC 2015




Hi all,
                I want cross compile openssl for arm-xilinx-linux-gnueabi-gcc platform   .I have downloaded source code openssl-1.02a and I have looked  options for
for  configure file. Arm-xilinx-linux-gnueabi  is not found in list of os/compiler option .so I selected linux-armv4 and configure like this
./configure no-threads shared linux-armv4 --prefix=/home/sum/  --openssl=/home/sum/

Configuration is successful when I going for make itt has given me error stating that

relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libcrypto.a(armcap.o): error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [link_a.gnu] Error 1
make[4]: Leaving directory `/home/sumanth/SNTP/openssl-1.0.2a'
make[3]: *** [do_linux-shared] Error 2
make[3]: Leaving directory `/home/sumanth/SNTP/openssl-1.0.2a'
make[2]: *** [libcrypto.so.1.0.0] Error 2
make[2]: Leaving directory `/home/sumanth/SNTP/openssl-1.0.2a'
make[1]: *** [shared] Error 2
make[1]: Leaving directory `/home/sumanth/SNTP/openssl-1.0.2a/crypto'
make: *** [build_crypto] Error 1

please suggest a solution for this?under compiler options why arm-none-linux-gneabi support is not there?

Regards
sumanth


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------



More information about the openssl-dev mailing list