FS#33087 - [avr-gcc] /usr/lib/gcc/avr/4.7.2/include/stdint.h:3:26: fatal error: stdint.h: No such file or dir..
Attached to Project:
Community Packages
Opened by andre van schoubroeck (andremo) - Thursday, 13 December 2012, 18:16 GMT
Last edited by Jakob Gruber (schuay) - Saturday, 15 December 2012, 16:49 GMT
Opened by andre van schoubroeck (andremo) - Thursday, 13 December 2012, 18:16 GMT
Last edited by Jakob Gruber (schuay) - Saturday, 15 December 2012, 16:49 GMT
|
Details
Install avr-gcc and try to compile a source file that
includes stdint.h
This will give the error message: /usr/lib/gcc/avr/4.7.2/include/stdint.h:3:26: fatal error: stdint.h: No such file or directory The header file itself includes attempt to include another header file which is not found. |
This task depends upon
Installed "avr-gcc", then:
~/test% vim main.c
~/test% gcc main.c -o main
~/test% ./main
SIZE_MAX = -1
~/test% avr-gcc main.c -o main
In file included from main.c:1:0:
/usr/lib/gcc/avr/4.7.2/include/stdint.h:3:26: fatal error: stdint.h: No such file or directory
compilation terminated.
Here's main.c: http://ix.io/3EP