Guest
#2942319
hello dear forum , I am trying to compile a C program for STM32F407 microcontroller with OlimexODS ( Eclipse + yagarto compiler ) I get the error; "undefined reference to memcpy" error as you can see in the attached picture ---------------------- makefile ------------ CROSS_COMPILE = arm-none-eabi- CC = $(CROSS_COMPILE)gcc SIZE = $(CROSS_COMPILE)size STRIP = $(CROSS_COMPILE)strip OBJCOPY = $(CROSS_COMPILE)objcopy OBJDUMP = $(CROSS_COMPILE)objdump LD = $(CROSS_COMPILE)ld AS = $(CROSS_COMPILE)as # Flags CFLAGS = -Wall -fno-common -c -g -mcpu=cortex-m3 -mthumb CFLAGS += -g $(OPTIMIZATION) $(INCLUDES) -DTRACE_LEVEL=$(TRACE_LEVEL) ASFLAGS = -g -mapcs-32 LDFLAGS = -g -v -nostartfiles OBJCOPYFLAGS = -O binary OBJDUMPFLAGS = -x --syms -S why the linker cannot find a libray function which is 40 years old already ?


