Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OpenSSL cross-compile for ARM

1,935 views
Skip to first unread message

William Estrada

unread,
Dec 22, 2008, 3:59:39 AM12/22/08
to
Hi group,

I just built OpenSSL on my FC8 system for my ARM processor. The build
went well but failed the 'make test' with this:

$ make test
Doing certs
touch rehash.time
testing...
make[1]: Entering directory `/src/ARM/openssl/openssl-0.9.8h/test'
make[2]: Entering directory `/src/ARM/openssl/openssl-0.9.8h'
making all in apps...
make[3]: Entering directory `/src/ARM/openssl/openssl-0.9.8h/apps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/ARM/openssl/openssl-0.9.8h/apps'
make[2]: Leaving directory `/src/ARM/openssl/openssl-0.9.8h'
../util/shlib_wrap.sh ./destest
../util/shlib_wrap.sh: line 91:
/src/ARM/openssl/openssl-0.9.8h/test/destest: cannot execute binary file
../util/shlib_wrap.sh: line 91:
/src/ARM/openssl/openssl-0.9.8h/test/destest: Success
make[1]: *** [test_des] Error 1
make[1]: Leaving directory `/src/ARM/openssl/openssl-0.9.8h/test'
make: *** [tests] Error 2

I also can't find libcrytpo.so, I have libvcrypto.a and libssl.a, but
no *.so files?
Where does the build put them??

--
William Estrada
MrUm...@popdial.com
Mt-Umunhum-Wireless.net ( http://64.124.13.3 )
Ymessenger: MrUmunhum

______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List opens...@openssl.org
Automated List Manager majo...@openssl.org

Kyle Hamilton

unread,
Dec 22, 2008, 5:38:42 AM12/22/08
to
You are cross-compiling, which means that the platform that you're on
cannot actually run the binaries that it builds.

If you do not have any .so files, it may not be able to create shared
libraries in that environment. The .a files, in that case, are static
libraries.

-Kyle H

William Estrada

unread,
Dec 25, 2008, 5:05:31 PM12/25/08
to
Larry,

I used:

Configure --prefix=/usr/arm /usr/arm/bin/gcc

and then modified the make file with:

CC= /usr/arm/bin/arm-gcc
AR= /usr/arm/bin/arm-ar $(ARFLAGS) r

/*
------------------------------------------------------------------------------------------------------
*/

Larry Bugbee wrote:
>> I also can't find libcrytpo.so, I have libvcrypto.a and libssl.a, but
>> no *.so files?
>> Where does the build put them??
>

> Did you build with -shared?

Larry Bugbee

unread,
Dec 26, 2008, 1:35:02 AM12/26/08
to
>
> I used:
>
> Configure --prefix=/usr/arm /usr/arm/bin/gcc
>
> and then modified the make file with:
>
> CC= /usr/arm/bin/arm-gcc
> AR= /usr/arm/bin/arm-ar $(ARFLAGS) r
>
>
> Larry Bugbee wrote:
>>> I also can't find libcrytpo.so, I have libvcrypto.a and libssl.a,
>>> but no *.so files?
>>> Where does the build put them??
>>
>> Did you build with -shared?

Personally, I use ./config -shared --prefix=......

William Estrada

unread,
Dec 26, 2008, 4:57:21 PM12/26/08
to
Larry,

I tried that and it did not work either. Thanks for the suggestion.

Larry Bugbee wrote:
>>
>> I used:
>>
>> Configure --prefix=/usr/arm /usr/arm/bin/gcc
>>
>> and then modified the make file with:
>>
>> CC= /usr/arm/bin/arm-gcc
>> AR= /usr/arm/bin/arm-ar $(ARFLAGS) r
>>
>>
>> Larry Bugbee wrote:
>>>> I also can't find libcrytpo.so, I have libvcrypto.a and libssl.a,
>>>> but no *.so files?
>>>> Where does the build put them??
>>>
>>> Did you build with -shared?
>
> Personally, I use ./config -shared --prefix=......
>
>
>
>

--
William Estrada
MrUm...@popdial.com
Mt-Umunhum-Wireless.net ( http://64.124.13.3 )
Ymessenger: MrUmunhum

______________________________________________________________________

0 new messages