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 357839 - gnome-nettool doesn't compiles on OpenBSD
gnome-nettool doesn't compiles on OpenBSD
Status: RESOLVED FIXED
Product: gnome-nettool
Classification: Applications
Component: general
2.16.x
Other OpenBSD
: Normal normal
: ---
Assigned To: Germán Poo-Caamaño
Rodrigo Moya
Depends on:
Blocks: 340195
 
 
Reported: 2006-09-26 15:43 UTC by Marc Brockschmidt
Modified: 2006-12-01 15:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
fixes compiles on !linux (1.00 KB, patch)
2006-09-26 15:44 UTC, Marc Brockschmidt
reviewed Details | Review

Description Marc Brockschmidt 2006-09-26 15:43:36 UTC
Heya,

Some missing #ifdefs lead to linker errors on !Linux systems, so I've created the attached patch for building it under OpenBSD.
Comment 1 Marc Brockschmidt 2006-09-26 15:44:20 UTC
Created attachment 73440 [details] [review]
fixes compiles on !linux
Comment 2 Germán Poo-Caamaño 2006-09-26 15:53:58 UTC
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.
Comment 3 Germán Poo-Caamaño 2006-09-26 15:55:28 UTC
Updated the summary for a better one.
Comment 4 Marc Brockschmidt 2006-09-26 16:14:43 UTC
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...
Comment 5 Germán Poo-Caamaño 2006-12-01 15:37:28 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.