This is my first time trying Botan
, so the strategy is to try get one thing work first, one at a time.
The first thing I'm doing is simply:
#include <botan/botan.h>
class Myclass {
...
Botan::AutoSeeded_RNG rng;
}
All the .h
files in the /usr/local/include/botan
are working, but I have to add other /usr/local/include/botan/internal/*.h
file there. Also all the .cpp
files I have to add to the compile list one by one.
So now all the needed .cpp from the Botan lib seem to be complete, no more error about that. But this one last compile error seem to relate to the OS..??! and I'm completely lost with how to fix this..
In file included from /usr/local/src/botan/block/aes_ssse3/aes_ssse3.cpp:16:0:
/usr/lib/gcc/x86_64-redhat-linux/6.1.1/include/tmmintrin.h: In function ‘__m128i Botan::{anonymous}::aes_schedule_transform(__m128i, __m128i, __m128i)’:
/usr/lib/gcc/x86_64-redhat-linux/6.1.1/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘__m128i _mm_shuffle_epi8(__m128i, __m128i)’: target specific option mismatch
_mm_shuffle_epi8 (__m128i __X, __m128i __Y)
^~~~~~~~~~~~~~~~
/usr/local/src/botan/block/aes_ssse3/aes_ssse3.cpp:62:24: note: called from here
return _mm_xor_si128(
Anybody seen this before? Any help is really appreciated. Thanks!
I use NetBeans IDE 8.1
on fedora24