GNOME Bugzilla – Bug 337247
freebsd sysdeps need to link against libkvm
Last modified: 2006-04-09 10:12:29 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.
Created attachment 62759 [details] [review] Sample patch.