2012-11-20 10:36 AM
hello forum
I am trying to compile a C program for STM32F4 microcontroller with Eclipse + yagarto compiler I get the error; undefined reference to `_impure_ptr' there is no function ''impure_ptr'' in whole project the error pointer points to a line only } this must be something related to C compiler however I dont know what how can I get rid of this ? #eclipse-yagarto2012-11-20 10:58 AM
Isn't this part of the Newlib C library?
What compiler version? What compiler command line options? What are you #including ?2012-11-20 12:32 PM
hello thanks ,
version txt file -------------------------------------------- This build of yagarto use the following versions:binutils: 2.20.1
gcc: 4.5.1 newlib: 1.18.0 gdb: 7.1 (13.08.2010, mifi) -----------------------------------#include
<stdio.h>
#include
<string.h>
moreover the compiler gives undefined reference error to following functions strncpy , memcpy, memset
Isn't this part of the Newlib C library?
What compiler version? What compiler command line options? What are you #including ?