Topic: [SOLVED] Can libc functions be totally avoided?
Hi All.
Via awesome help via https://www.wolfssl.com/forums/topic113 … u1404.html , I have been able to run our application on Ubuntu-14.04, with all data being secured-over-wire. Thanks Kaleb !!!
Now, I am trying to port the application to a SOC, using an ARM-processor.
Compilation has proceeded forward a good deal, however, I get the following errors ::
undefined reference to _open
undefined reference to _gettimeofday
Upon some googling, it looks that these are being caused due to linking of libc.a (I am using Atmel-Studio for compiling for SOC).
Also, following are the (additional) settings ::
#define HAVE_ECC
#define HAVE_ECC_SIGN
#define HAVE_ECC_VERIFY
#define HAVE_ECC_DHE
#define HAVE_ECC_KEY_IMPORT
#define HAVE_ECC_KEY_EXPORT
#define XMALLOC_USER
#define SINGLE_THREADED
#define NO_WRITEV
#define NO_AES
#define NO_FILESYSTEM
#define WOLFSSL_SMALL_STACK
Is there a way to overcome the errors? Or better still, to totally avoid linking of libc.a?
Thanks and Regards,
Ajay