GLIBTOP_SUID_PROC_* undefined on OpenSolaris
Submitted by David Adam
Link to original bug (#576421)
Description
On OpenSolaris Nevada build 101, libgda r2815 fails to build with the following error:
make[3]: Entering directory /space/buildbot/checkout/gnome2/libgtop/lib' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../sysdeps/solaris -I../include -I/space/buildbot/prefix/include/glib-2.0 -I/space/buildbot/prefix/lib/glib-2.0/include -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -g -O2 -MT sysdeps.lo -MD -MP -MF .deps/sysdeps.Tpo -c -o sysdeps.lo sysdeps.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../sysdeps/solaris -I../include -I/space/buildbot/prefix/include/glib-2.0 -I/space/buildbot/prefix/lib/glib-2.0/include -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -g -O2 -MT sysdeps.lo -MD -MP -MF .deps/sysdeps.Tpo -c sysdeps.c -fPIC -DPIC -o .libs/sysdeps.o sysdeps.c:49: error:
GLIBTOP_SUID_PROC_WD' undeclared here (not in a function)
sysdeps.c:50: error: `GLIBTOP_SUID_PROC_AFFINITY' undeclared here (not in a function)
make[3]: *** [sysdeps.lo] Error 1
The preprocessed source shows that GLIBTOP_SUID_PROC_WD and GLIBTOP_SUID_PROC_AFFINITY have not been appropriately defined in sysdeps/solaris/glibtop_server.h
Full uname: SunOS manduba 5.11 snv_101 sun4u sparc SUNW,Ultra-Enterprise Solaris