Created attachment 4398 Build log of xfce4-wavelan-plugin 0.5.10 I try to build the latest version, under FreeBSD (8.2, i386), but it failed. In attachment, build log (if it can help you).
Comment on attachment 4398 Build log of xfce4-wavelan-plugin 0.5.10 Can you track down which version broke it ? (ie which is the last one known working ?) Can you retry with commit c9616d3a from bug #6963 reverted ? And lastly, can you provide a fix ? :)
Created attachment 5343 Remove FreeBSD obsolete code
I found workaround (perhaps FreeBSD's specific code needs to be cleaned), if I remove obsolete code, everything works fine (tested with FreeBSD 9.2 and 10). In fact struct wi_req is not any more defined (below excerpt of if_wavelan_ieee.h header file). [...] #if 0 struct wi_req { u_int16_t wi_len; u_int16_t wi_type; u_int16_t wi_val[WI_MAX_DATALEN]; }; #endif [...] http://svnweb.freebsd.org/base/releng/9.2/sys/dev/wi/if_wavelan_ieee.h?view=markup
Hi Olivier, wavelan master build is borken on freebsd since age (I'm looking at broken components on buildbot.xfce.org ) I see that FreeBSD has patches to build wavelan on https://svnweb.freebsd.org/ports/head/sysutils/xfce4-wavelan-plugin/files/ , any reason to not merge them upstream ? If it's ok, I'll merge them soon.
Romain B referenced this bugreport in commit 3bee79de2e70ffd8b07ed2190c0ccabe7f56e7a7 Fix build under and usage under FreeBSD https://git.xfce.org/panel-plugins/xfce4-wavelan-plugin/commit?id=3bee79de2e70ffd8b07ed2190c0ccabe7f56e7a7
(In reply to Git Bot from comment #5) > Romain B referenced this bugreport in commit > 3bee79de2e70ffd8b07ed2190c0ccabe7f56e7a7 > > Fix build under and usage under FreeBSD > > https://git.xfce.org/panel-plugins/xfce4-wavelan-plugin/ > commit?id=3bee79de2e70ffd8b07ed2190c0ccabe7f56e7a7 Your commit message is wrong, the predecessor __FreeBSD_kernel__ is for Debian GNU/kFreeBSD, and it is not for FreeBSD system. We can build this plugin without this plague (in the past, it was required by corsac@).
Hm, I simply applied the patch provided by FreeBSD which clean up the source a little bit, and allow compilation on freebsd. I haven't tested in the GNU/kFreeBSD context.