Link error when sprintf() used
Greetings,
I'm trying to get compiler working with C::B. Compiler's instalator: gcc-arm-
<stdlib.h> atoi(), <string.h> strchr(), strcpy() causes no problems.
That's not the case of <stdio.h> sprintf().
=== build log ====
Linking console executable: bin\Debug\test.elf
C:\GNU ARM Emb\lib\
unwind-
unwind-
C:\GNU ARM Emb\lib\
unwind-
C:\GNU ARM Emb\lib\
unwind-
unwind-
C:\GNU ARM Emb\lib\
pr-support.
C:\GNU ARM Emb\lib\
pr-support.
C:\GNU ARM Emb\arm-
sbrkr.c:
====
Translation passes if I add void functions named like undefined references in build log. Same effect can be achieved adding so named sections into linker script.
I'm sure it isn't correct solution of problem. What could cause this?
Thanks fo your time.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- chengbin
- Solved:
- Last query:
- Last reply: