I'm trying to compile the Java wrapper on Linux and I'm getting the following error - ‘InitCyaSSL’ was not declared in this scope. The full message is
Making JNI Library
g++ -I /usr/local/lib/include -I /usr/lib/jvm/jdk1.7.0/jdk1.7.0_15/include -I /usr/lib/jvm/jdk1.7.0/jdk1.7.0_15/include/linux -I ./src/native/include -Wno-write-strings -fpic -DPIC -c ./src/native/org_apache_harmony_xnet_provider_jsse_NativeCrypto_alt.cpp -o ./src/native/org_apache_harmony_xnet_provider_jsse_NativeCrypto_alt.o
./src/native/org_apache_harmony_xnet_provider_jsse_NativeCrypto_alt.cpp: In function ‘void Java_com_yassl_xnet_provider_jsse_SocketImpl_nativeinitstatic(JNIEnv*, jclass)’:
./src/native/org_apache_harmony_xnet_provider_jsse_NativeCrypto_alt.cpp:1251:16: error: ‘InitCyaSSL’ was not declared in this scope
I think it's something to do with having the wolfSSL library not compiled properly - although make test passes all tests, so I'm not sure. The version I'm using is cyassl-2.5.0 on Ubuntu 32 bit on an AMDx86 CPU.
The config.log is here - http://pastebin.com/fybgeZTW. Options I build wolfSSL with are --enable-sessioncerts, --enable-opensslExtra, --disable-shared, --enable-ntru
I got a warning about either autoconf or automake being newer than the one wolfSSL was written for, and the only similar post I can find on the net says to try disabling werror for the build, again unsure as how to go about that.
Anyone have any ideas?