libgtop 0.99.8 compile fails



Hi,

Running 
SunOS stat01 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-4

I get the following error compiling libgtop 0.99.8 with gcc 2.8.1:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/stub -I../../include -I../../intl -I/usr/local/pkg/gnome//include -DNEED_GNOMESUPPORT_H -I/usr/local/pkg/gnome//lib/gnome-libs/include -I/usr/local/pkg/glib1.2/glib-1.1.16/lib/glib/include -I/usr/local/pkg/glib1.2/glib-1.1.16/include -I/usr/local/pkg/ORBit/ORBit-0.3.98/include -I/usr/local/pkg/gtk+1.2/gtk+-1.1.16/include -I/usr/local/X11R6.4/include -I/usr/local/pkg/glib1.2/glib-1.1.16/lib/glib/include -I/usr/local/pkg/glib1.2/glib-1.1.16/include -g -O2 -Wall -Wno-unused -I/usr/local/X11R6.4/include -DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES -I/usr/local/pkg/guile/guile-1.3/include -DGTOPLOCALEDIR=\"/usr/local/pkg/gnome/share/locale\" -DLIBGTOP_VERSION=\"0.99.8\" -DLIBGTOP_SERVER_VERSION=\"3\" -DLIBGTOP_SERVER=\"/usr/local/pkg/gnome/bin/libgtop_server\" -g -O2 -Wall -Wno-unused -c -fPIC -DPIC open.c -o open.lo
In file included from ../../glibtop.h:25,
                 from ../../include/glibtop/open.h:23,
                 from open.c:22:
../../include/glibtop/global.h:151: parse error before `__END_DECLS'
In file included from ../../include/glibtop/open.h:23,
                 from open.c:22:
../../glibtop.h:38: syntax error before `typedef'
In file included from ../../glibtop.h:40,
                 from ../../include/glibtop/open.h:23,
                 from open.c:22:
../../include/glibtop/sysdeps.h:57: syntax error before `typedef'
../../include/glibtop/sysdeps.h:93: parse error before `__P'
In file included from ../../include/glibtop/open.h:23,
                 from open.c:22:
../../glibtop.h:42: syntax error before `struct'
../../glibtop.h:75: parse error before `__P'
../../glibtop.h:76: parse error before `__P'
../../glibtop.h:82: parse error before `__P'
../../glibtop.h:90: parse error before `__P'
In file included from ../../include/glibtop/read.h:26,
                 from ../../include/glibtop/open.h:24,
                 from open.c:22:
../../include/glibtop/error.h:40: syntax error before `extern'
../../include/glibtop/error.h:40: parse error before `__P'
../../include/glibtop/error.h:41: parse error before `__P'
../../include/glibtop/error.h:43: parse error before `__P'
../../include/glibtop/error.h:44: parse error before `__P'
In file included from ../../include/glibtop/open.h:24,
                 from open.c:22:
../../include/glibtop/read.h:32: syntax error before `extern'
../../include/glibtop/read.h:32: parse error before `__P'
../../include/glibtop/read.h:33: parse error before `__P'
In file included from open.c:22:
../../include/glibtop/open.h:52: syntax error before `extern'
../../include/glibtop/open.h:52: parse error before `__P'
../../include/glibtop/open.h:54: parse error before `__P'
../../include/glibtop/open.h:55: parse error before `__P'
../../include/glibtop/open.h:56: parse error before `__P'
open.c:26: syntax error before `void'
make[3]: *** [open.lo] Error 1
make[3]: Leaving directory `/usr/local/src/libgtop-0.99.8/sysdeps/stub'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/libgtop-0.99.8/sysdeps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libgtop-0.99.8'
make: *** [all-recursive-am] Error 2


Lyndon



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