I have been trying to generate a program for the "Make Controller" but I have
been frustrated at every turn. In the Linux IDE tools, I could not even get a
simple HelloWorld.c to compile without a multitude of errors in the include
files. I have even tried a simple command-line compile, but it, too, barfs on
the include files.
Here is the error log:
ed@ed-hp:~$ gcc HelloWorld.c
In file included from /usr/include/stdio.h:75,
from HelloWorld.c:23:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before
`size_t'
/usr/include/libio.h:364: error: expected declaration specifiers or `...' before
`size_t'
/usr/include/libio.h:373: error: expected declaration specifiers or `...' before
`size_t'
/usr/include/libio.h:493: error: expected `=', `,', `;', `asm' or
`__attribute__' before `_IO_sgetn'
In file included from HelloWorld.c:23:
/usr/include/stdio.h:312: error: expected declaration specifiers or `...' before
`size_t'
/usr/include/stdio.h:319: error: expected declaration specifiers or `...' before
`size_t'
/usr/include/stdio.h:361: error: expected declaration specifiers or `...' before
`size_t'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:365: error: expected declaration specifiers or `...' before
`size_t'
/usr/include/stdio.h:678: error: expected `=', `,', `;', `asm' or
`__attribute__' before `fread'
/usr/include/stdio.h:684: error: expected `=', `,', `;', `asm' or
`__attribute__' before `fwrite'
/usr/include/stdio.h:706: error: expected `=', `,', `;', `asm' or
`__attribute__' before `fread_unlocked'
/usr/include/stdio.h:708: error: expected `=', `,', `;', `asm' or
`__attribute__' before `fwrite_unlocked'
ed@ed-hp:~$
The file /usr/include/stdio.h is 30.3 KB and /usr/libio.h is 17.3 KB. They were
both last modified on 17AUG2009, which may have been when I installed one or
more IDEs or yagarto, or the gnu-arm toolchain. Do these file sizes sound about
right? I tried re-installing gcc, but that had no effect on the errors.