Solaris compile failure of libgtop 2.0 - last chance



I tried compiling libgtop and get this:

rm -f .libs/cpu.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE 
-DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/solaris -I../../include 
-DNEED_GNOMESUPPORT_H -I../../support -I../../support 
-I/opt/sis/gnome2/include/glib-2.0 -I/opt/sis/gnome2/lib/glib-2.0/include -g 
-O2 -I/usr/openwin/include -DGTOPLOCALEDIR=\"/opt/sis/gnome2/share/locale\" 
-DLIBGTOP_VERSION=\"2.0.0\" -DLIBGTOP_SERVER_VERSION=\"5\" 
-DLIBGTOP_VERSION_CODE=2000000 
-DLIBGTOP_SERVER=\"/opt/sis/gnome2/bin/libgtop_server\" -g -O2 -c cpu.c  
-fPIC -DPIC -o cpu.o
cpu.c:39: `GLIBTOP_XCPU_FLAGS' undeclared here (not in a function)
cpu.c:41: initializer element is not constant
cpu.c: In function `glibtop_get_cpu_s':
cpu.c:84: structure has no member named `xcpu_flags'
gmake[3]: *** [cpu.lo] Error 1
gmake[3]: Leaving directory `/folks/salman/libgtop-2.0.0/sysdeps/solaris'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/folks/salman/libgtop-2.0.0/sysdeps'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/folks/salman/libgtop-2.0.0'
gmake: *** [all-recursive-am] Error 2


Any ideas what is wrong?

Salman

-- 
Salman Sheikh
NASA/GSFC
Code 564
Greenbelt, MD 20771
301-286-3763
301-286-0220 (fax)




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