GNOME Bugzilla – Bug 357839
gnome-nettool doesn't compiles on OpenBSD
Last modified: 2006-12-01 15:59:12 UTC
Heya, Some missing #ifdefs lead to linker errors on !Linux systems, so I've created the attached patch for building it under OpenBSD.
Created attachment 73440 [details] [review] fixes compiles on !linux
Probably the problem comes from other part. Why to hide the call for mii_get_basic? mii_get_basic tries to get the basic information of a network device, and it is not Linux specific. mii_get_basic is implemented in util-mii.c. Have you see it? http://cvs.gnome.org/viewcvs/gnome-nettool/src/util-mii.c?rev=1.2&view=markup Thanks for helping with OpenBSD.
Updated the summary for a better one.
Yes, I have seen the file - it is completly wrapped in a #ifdef __linux__. This *could* be because it is plastered with linux-specific stuff...
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.