This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

having issues trying to compile openswan on the beaglebone black

Hello Everyone,

I picked up the beagle bone black, and wanted to see if i could get openswan to run on it.

I looked up instructions on how to do this and came across the following wiki:

http://processors.wiki.ti.com/index.php/Build_OpenSwan_for_Sitara

I followed the instructions, and got to the point of downloading the latest gmp.  I tried to configure it as per the instruction to make an arm target.  It crashed with the following error:

configure error:  Oops, mp_limb_t is 64 bits, but the assembler code in this configuration expects 32bits.

My host machine is a netbook, with dual core atom processor running Ubuntu.

3.5.0-17-generic #28-Ubuntu SMP

  • Hi Benny,

    Which cross compiler are you using?

    I'm using the arm-linux-gnueabihf cross compiler and a 64-bit Ubuntu as host OS.

    This is the configure command I ran and everything completed successfully:

    ./configure --host=arm-linux-gnueabihf

    Do you have your cross compiler exported to the $PATH? Please share the generated configure log including the error.

    Best regards,
    Miroslav