[strongSwan] Compile error on raspbian due to aesni

Ben Greear 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[6]: Leaving directory '/home/greearb/git/btbits/3plibs/strongswan/src/libstrongswan/plugins/curve25519'
>> Making all in plugins/aesni
>> make[6]: 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[6]: *** [Makefile:605: aesni_key.lo] Error 1
>> make[6]: Leaving directory '/home/greearb/git/btbits/3plibs/strongswan/src/libstrongswan/plugins/aesni'
> 
> Don’t compile the AES-NI plugin.
> 

Thanks,

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.

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Users mailing list