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 337246 - Missing GLIBTOP_SUID_* declarations in sysdeps
Missing GLIBTOP_SUID_* declarations in sysdeps
Status: RESOLVED FIXED
Product: libgtop
Classification: Core
Component: bsd
2.15.x
Other NetBSD
: Normal major
: ---
Assigned To: libgtop maintainers
libgtop maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-04 19:01 UTC by Julio Merino
Modified: 2006-04-04 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (4.65 KB, patch)
2006-04-04 19:02 UTC, Julio Merino
committed Details | Review

Description Julio Merino 2006-04-04 19:01:59 UTC
Many of the sysdeps OS-specific implementations fail to declare some of the GLIBTOP_SUID_* macros.  In other words, they are out of synch with the most maintained sysdeps code, the linux one.

As a result, the build of the lib/sysdeps.c file fails because it needs to use these missing constants.

In my specific case, it failed because the freebsd sysdep (used in NetBSD) does not define GLIBTOP_SUID_NETLIST.  (This is why I've filed this as a bsd specific issue.)  However, upon further inspection, I noticed that the other sysdeps modules are also desynchronized so they cannot built at the moment either.

The attached patch fixes them all.
Comment 1 Julio Merino 2006-04-04 19:02:37 UTC
Created attachment 62758 [details] [review]
Proposed patch.