Topic: WOLFSSL_API

Hi!

  i am newbie to wolfssl. i am trying to run it in cooks simulator. my udp client program on compilation shows error in recognising the WOLFSSL_API functions from the header files.
like:

undefined reference to 'wc_AesSetKey'


Kindly Advise.


thanks in advance

Share

Re: WOLFSSL_API

Hi prateekthapar,

What is the "cooks simulator"?

How is the wolfSSL library being built?

1. If you are using the autoconf system to build (IE ./configure && make) then the header file "options.h" will be auto generated.
please make sure to include wolfSSL header files like so in this case:

#include <wolfssl/options.h> /* ALWAYS INCLUDE FIRST */
#include <... any other wolfssl headers ...>

2. If you are using some other method to configure the library please make sure to include the EXACT SAME configure options in your application build process so the application and the library have the same settings.


Warm Regards,

Kaleb