I'm building a project using gcc and coming up with a couple of missing defines. I've tried this with both native gcc with 686 for a target and ppc-elf-gcc with a ppc target.
When it includes stdio.h there are a couple of undefined symbols, off_t and clock_t.
In file included from ..\a01\a0101.c:70: /usr/include/stdio.h:232: error: parse error before "off_t" /usr/include/stdio.h:233: error: parse error before "ftello" /usr/include/stdio.h:362: error: parse error before "__getdelim" /usr/include/stdio.h:363: error: parse error before "__getline"
#ifndef __STRICT_ANSI__ #ifdef _COMPILING_NEWLIB int _EXFUN(fseeko, (FILE *, _off_t, int)); _off_t _EXFUN(ftello, ( FILE *)); #else int _EXFUN(fseeko, (FILE *, off_t, int));