Topic: undefined reference to `wolfSSL_CTX_set_psk_client_callback'
Hi all,
I'm trying to compile the echoclient example and i get the following error message;
-> undefined reference to `wolfSSL_CTX_set_psk_client_callback'
Test setup: CodeBlocks+MinGW
I have linked libwolfssl.a in my linker settings as it should be.
Is there something else to link ?
Am i linking to the correct library ?
I am bit confused here ...
NOTE - I was not able to build the whole WolfSSL package using
configure --enable-static
make
make install.
as referenced in: https://www.wolfssl.com/wolfSSL/wolfssl-quickstart.html
My build setup is a regular MinGW/MSYS package.
I had to do the following to generate a static library.
configure --enable-static
make src/libwolfssl.la
Reference: https://www.wolfssl.com/wolfSSL/Docs-wo … lfssl.html
Any help or suggestions would be appreciated.
Thank.
update: problem fixed, i added --enable-psk option to make.
Mr linker is happy, no more undefined reference ...
echoclient and echoserver examples are compiling and working ok.