Topic: SSL_Tutorial - compilation error

When compile finished example compiler give me this error:

mimmo@LeoNida:~/SSL_Tutorial/finished_src/echoclient$ make
gcc -o echoclient ../lib/*.c tcpcli01.c -I ../include -I /usr/local/cyassl/include -L/usr/local/cyassl/lib -lcyassl
../lib/error.c: In function ‘err_doit’:
../lib/error.c:102: warning: format not a string literal and no format arguments
tcpcli01.c: In function ‘str_cli’:
tcpcli01.c:19: warning: comparison between pointer and integer
/usr/local/cyassl/lib/libcyassl.so: undefined reference to `log'
/usr/local/cyassl/lib/libcyassl.so: undefined reference to `pow'
collect2: ld returned 1 exit status
make: *** [echoclient] Errore 1

to resolve add into Makefile before -lcyassl, -lm

Share

Re: SSL_Tutorial - compilation error

mimmooz,

Good catch.  I'll make the change and upload the corrected version to our site.  If you don't mind me asking, what OS are you compiling on?

Thanks,
Chris

Re: SSL_Tutorial - compilation error

Hi chris, i'm running Ubuntu x64; Linux LeoNida 2.6.35-23-generic #41-Ubuntu SMP.
I use this library for my thesis; I want ask your opinion about the possibility of adding support to mobi-d (tools.ietf.org/html/draft-barrett-mobile-dtls) into wolfSSL.
Possible? hard or soft change to source code?

Thanks,

mimmo

Share

Re: SSL_Tutorial - compilation error

mimmo,

Adding Mobi-D would require several changes to the internal wolfSSL code base.  We'll keep our ears open and if it seems to become a widely desired feature, we'll look further into it.  Thanks for bringing it to our attention.

Being open source, you are always free to grab our source code and experiment with implementing it yourself if you would like.

Regards,
Chris