[strongSwan] Compile error on raspbian due to aesni
greearb at candelatech.com
Wed Nov 13 19:43:39 CET 2019
On 11/13/19 6:48 AM, Alarig Le Lay wrote:
> On mer. 13 nov. 06:38:55 2019, Ben Greear wrote:
>> Anyone know the proper way to fix this?
>> make: Leaving directory '/home/greearb/git/btbits/3plibs/strongswan/src/libstrongswan/plugins/curve25519'
>> Making all in plugins/aesni
>> make: Entering directory '/home/greearb/git/btbits/3plibs/strongswan/src/libstrongswan/plugins/aesni'
>> CC aesni_key.lo
>> gcc: error: unrecognized command line option ‘-maes’; did you mean ‘-mapcs’?
>> gcc: error: unrecognized command line option ‘-mpclmul’
>> gcc: error: unrecognized command line option ‘-mssse3’; did you mean ‘-mcmse’?
>> make: *** [Makefile:605: aesni_key.lo] Error 1
>> make: Leaving directory '/home/greearb/git/btbits/3plibs/strongswan/src/libstrongswan/plugins/aesni'
> Don’t compile the AES-NI plugin.
I had forgotten I was enabling that.
For what its worth, I think some Arm boards do support aesni, but disabling it works fine
for my purpose.
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Users