I attached the user_settings.h I used. I have it in the root of my wolfssl folder where I am running all the configure/make commands from (Maybe this is the problem, finding the wrong user_settings.h?)
I am building version 5.8.4.
If I just run ./configure --host=x86_64-lynxos --enable-usersettings, I get errors in wolfcrypt/types.h due to sign/unsigned compare (-Werror=sign-compare) on line 528.
So I ran this:
./configure --host=x86_64-lynxos --enable-usersettings EXTRA_CLAGS="-Wno-error -Wno-error=sign-compare"
That got past that error, but hit another one in wolfcrypt/src/aes.c line 51.. "inlining failed in call to 'always_inline' '_mm_aesimc_si128'.
The only way I can get everything to build properly is this way:
./configure --host=x86_64-lynxos --enable-wolfssh --enable-keygen --enable-intelasm --disable-examples --disable-crypttests --enable-aesni --enable-static EXTRA_CFLAGS="-Wno-error -Wno-error=sign-compare -DSIZEOF_LONG=8"
Then modify options.h to add the WOLFSSL_NO_ATOMIC_H.
I can convert this into a support ticket email in a bit, Thank you.