[Solved] Problem with stdint.h
Closed this issue · 0 comments
antoniovj1 commented
First clarify that the program is correct, the problem is of the compiler.
Hi, when I do $make I obtained this error:
....................
from ../startup_stm32f10x.c:3:
/usr/lib/gcc/arm-none-eabi/4.8.2/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
include_next <stdint.h>
^
compilation terminated.
....................
To solve this I installed libnewlib-arm-none-eabi
( sudo apt-get install libnewlib-arm-none-eabi in Ubuntu )
After this the Makefile works fine. I think this information can help some users.
Thanks a lot.