After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 106045 - procstate.c from libgtop-2.0.1 fails to compile on Solaris 9/X86
procstate.c from libgtop-2.0.1 fails to compile on Solaris 9/X86
Status: RESOLVED DUPLICATE of bug 89432
Product: libgtop
Classification: Core
Component: solaris
2.0.x
Other Solaris
: Normal blocker
: ---
Assigned To: Martin Baulig
Martin Baulig
Depends on:
Blocks:
 
 
Reported: 2003-02-14 00:53 UTC by the_h1ghlander
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description the_h1ghlander 2003-02-14 00:53:17 UTC
Error from compiling sysdeps/solaris/procstate.c

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/garnome/include/glib-2.0 -I/opt/garnome/lib/glib-2.0/include -O2
-pipe -falign-functions=4 -fomit-frame-pointer -mfancy-math-387
-mcpu=pentiumpro -g -g -I/usr/openwin/include
-DGTOPLOCALEDIR=\"/opt/garnome/share/locale\" -DLIBGTOP_VERSION=\"2.0.1\"
-DLIBGTOP_SERVER_VERSION=\"5\" -DLIBGTOP_VERSION_CODE=2000001
-DLIBGTOP_SERVER=\"/opt/garnome/bin/libgtop_server2\"
-I/opt/garnome/include -I/usr/openwin/include -I/opt/csw/include
-I/opt/garnome/include -O2 -pipe -falign-functions=4 -fomit-frame-pointer
-mfancy-math-387 -mcpu=pentiumpro -g -g -c procstate.c  -fPIC -DPIC -o
procstate.lo
In file included from ../../glibtop.h:33,
                 from procstate.c:24:
glibtop_machine.h:78:8: warning: extra tokens at end of #endif directive
In file included from procstate.c:27:
glibtop_private.h:68:8: warning: extra tokens at end of #endif directive
procstate.c:31: `GLIBTOP_PROC_STATE_HAS_CPU' undeclared here (not in a
function)procstate.c:31: `GLIBTOP_PROC_STATE_PROCESSOR' undeclared here
(not in a function)
procstate.c:32: `GLIBTOP_PROC_STATE_LAST_PROCESSOR' undeclared here (not in
a function)
procstate.c:35: `GLIBTOP_PROC_STATE_RUID' undeclared here (not in a function)
procstate.c:35: `GLIBTOP_PROC_STATE_RGID' undeclared here (not in a function)
procstate.c: In function `glibtop_get_proc_state_s':
procstate.c:67: structure has no member named `ruid'
procstate.c:68: structure has no member named `rgid'
procstate.c:78: structure has no member named `has_cpu'
procstate.c:79: structure has no member named `processor'
procstate.c:83: `GLIBTOP_PROCESS_RUNNING' undeclared (first use in this
function)
procstate.c:83: (Each undeclared identifier is reported only once
procstate.c:83: for each function it appears in.)
procstate.c:90: `GLIBTOP_PROCESS_ZOMBIE' undeclared (first use in this
function)procstate.c:97: `GLIBTOP_PROCESS_INTERRUPTIBLE' undeclared (first
use in this function)
procstate.c:104: `GLIBTOP_PROCESS_STOPPED' undeclared (first use in this
function)
procstate.c:111: `GLIBTOP_PROCESS_UNINTERRUPTIBLE' undeclared (first use in
this function)
procstate.c:117: structure has no member named `last_processor'
gmake[6]: *** [procstate.lo] Error 1
gmake[6]: Leaving directory
`/export/src/Garnome/garnome-0.21.2/gnome/libgtop/work/main.d/libgtop-2.0.1/sysdeps/solaris'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory
`/export/src/Garnome/garnome-0.21.2/gnome/libgtop/work/main.d/libgtop-2.0.1/sysdeps'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/export/src/Garnome/garnome-0.21.2/gnome/libgtop/work/main.d/libgtop-2.0.1'
gmake[3]: *** [all-recursive-am] Error 2
gmake[3]: Leaving directory
`/export/src/Garnome/garnome-0.21.2/gnome/libgtop/work/main.d/libgtop-2.0.1'
gmake[2]: *** [build-work/main.d/libgtop-2.0.1/Makefile] Error 2
gmake[2]: Leaving directory `/export/src/Garnome/garnome-0.21.2/gnome/libgtop'
gmake[1]: *** [../../gnome/libgtop/cookies/main.d/install] Error 2
gmake[1]: Leaving directory
`/export/src/Garnome/garnome-0.21.2/gnome/gnome-system-monitor'
gmake: *** [../../gnome/gnome-system-monitor/cookies/main.d/install] Error 2
Comment 1 the_h1ghlander 2003-02-14 23:52:52 UTC

*** This bug has been marked as a duplicate of 89432 ***