exit.c:(.text.exit+0x1a): undefined reference to `_exit' error in Eclipse
Asked by
Sagar
I am using ARM-GNU-Eclipse plugin to build code for arm7 mcu.in mac os x 11.1
but i am getting error.
exit.c:
my console output is
make all
Building target: lpc.elf
Invoking: Cross ARM C Linker
arm-none-eabi-gcc -mcpu=arm7tdmi -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g -Xlinker --gc-sections -Wl,-Map,"lpc.map" -o "lpc.elf" ./main.o
/usr/local/
exit.c:
collect2: error: ld returned 1 exit status
make: *** [lpc.elf] Error 1
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Thomas Preud'homme
- Solved:
- Last query:
- Last reply:
To post a message you must log in.