Compile errors

Has anyone seen this before, I get this errors when trying to compile *anything*

gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/local/include -O -DHAVE_LIBXPM -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -c -o gd.o gd.c
In file included from /usr/include/stdio.h:57,
from gd.c:1:
/usr/include/libio.h:214: parse error before `__off_t'
/usr/include/libio.h:214: warning: no semicolon at end of struct or union
/usr/include/libio.h:233: parse error before `_offset'
/usr/include/libio.h:233: warning: data definition has no type or storage class
/usr/include/libio.h:237: parse error before `}'
/usr/include/libio.h:262: parse error before `__io_read_fn'
/usr/include/libio.h:263: warning: data definition has no type or storage class
/usr/include/libio.h:271: parse error before `__io_write_fn'
/usr/include/libio.h:272: warning: data definition has no type or storage class
/usr/include/libio.h:280: parse error before `__off_t'
/usr/include/libio.h:367: parse error before `_IO_padn'
/usr/include/libio.h:367: parse error before `__ssize_t'
/usr/include/libio.h:367: warning: data definition has no type or storage class
/usr/include/libio.h:370: parse error before `_IO_seekoff'
/usr/include/libio.h:370: parse error before `__off64_t'
/usr/include/libio.h:370: warning: data definition has no type or storage class
/usr/include/libio.h:371: parse error before `_IO_seekpos'
/usr/include/libio.h:371: parse error before `__off64_t'
/usr/include/libio.h:371: warning: data definition has no type or storage class

searching around the net I just find questions and no answers, I am guessing perhaps its a gcc error


Mike

 

 

 

 

Top