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 337247 - freebsd sysdeps need to link against libkvm
freebsd sysdeps need to link against libkvm
Status: RESOLVED FIXED
Product: libgtop
Classification: Core
Component: bsd
2.15.x
Other NetBSD
: Normal normal
: ---
Assigned To: libgtop maintainers
libgtop maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-04 19:24 UTC by Julio Merino
Modified: 2006-04-09 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample patch. (1.90 KB, patch)
2006-04-04 19:25 UTC, Julio Merino
committed Details | Review

Description Julio Merino 2006-04-04 19:24:35 UTC
The freebsd sysdeps uses a BSD specific library, known as libkvm, that is used to access kernel data.  It is easy to check this by grepping for kvm_* in the sysdeps/freebsd directory.

However, these functions are only available if the libkvm library is used.  (I can only speak for NetBSD; don't know where FreeBSD has them.)  As the library is not currently linked against libkvm, the build fails under NetBSD.

Fixing this issue is easy: link the freebsd sysdeps_suid library against libkvm if this library is available.  If we were sure that this library is _always_ available in a BSD system, we'd get rid of the additional check in configure... but better to be safe than sorry, I think.
Comment 1 Julio Merino 2006-04-04 19:25:07 UTC
Created attachment 62759 [details] [review]
Sample patch.