Topic: wolfSSL integration in Contiki

Hi!

  I am trying to integrate wolfSSL in Contiki-OS and am stuck at very basics. When i instantiate WOLFSSL * ssl with
   
    if( (ssl = wolfSSL_new (ctx)) == NULL {}

the compiler gives a error of  -> undefined reference to 'wolfSSL_new'

this occurs inspite of the fact that ssl.h has been included successfully in the program.

I am not able to understand the reason for the error.. Need help.

Thanks in Advance for the help!!

regards
Prateek

Share

Re: wolfSSL integration in Contiki

Hello Prateek,

I think we are actively engaged with you through the support@wolfssl.com channel? For this issue though a wolfSSL library should be created and then linked to in order to resolve the "undefined reference" error. There is a couple ways that wolfSSL can be compiled; one is cross compiling for the intended platform, another is including all source files needed from wolfssl-root/src and wolfssl-root/wolfcrypt/src into a project. The easiest method is if ./configure && make can be ran on the system that the wolfSSL library will be used on.

Regards,
Jacob

Share