December 06, 2023, 03:33:33 AM

Problem with string.h library on openods

Started by redon, May 24, 2013, 11:49:04 AM

Previous topic - Next topic


Hello ,

I wont use strncmp function of string library .

How I can add this library on my new project run on openods

when I build my project I have this error :

C:\OlimexODS\examples\STM32-P103-TEST/main.c:197: undefined reference to `strncmp'

board : STM32_P103

main :

#include "stm32f10x.h"
#include "main.h"
#include <string.h>

if (!strncmp(buff, "GPGGA", 6)){

makefile :



Hello redon,

please take a look at this thread:

Best Regards,
Software developer at Olimex