Including stdio.h causing compilation failure



Typically goes something like...

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/X11R6/include
-I/usr/lib/glib/include -I../intl -I../intl -I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include -DPROFILEDIR=\"\"
-DGNOMELOCALEDIR=\"/usr/share/locale\" -DBINDIR=\"/usr/bin\"
-DDATADIR=\"/usr/share\" -O2 -m486 -fno-strength-reduce -Wall -Wunused
-c -fPIC -DPIC gnome-print.c -o gnome-print.lo
In file included from /usr/include/stdio.h:57,
                 from gnome-print.c:9:
/usr/include/libio.h:263: parse error before `size_t'

Standard(ish) RedHat 6.1 system, using latest updates.

[root@durban rossg]# rpm -qf /usr/include/stdio.h
glibc-devel-2.1.2-11
[root@durban rossg]# rpm -V glibc-devel
[root@durban rossg]# rpmfind --latest glibc-devel
Resource glibc-devel latest version already installed
[root@durban rossg]# 

Any ideas?

I can compile a simple Hello World program using stdio.h, but nothing
related to GNOME. 

Thanks in advance,

--
Ross



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]