[As-users] WMWiFi build error on FC6

Jeff Krebs (jkrebs@tconl.com)
Sun, 15 Apr 2007 00:01:05 -0500

wmwifi has built fine under FC5 and FC6.  A kernel (and headers) update ago, wmwifi refused to build; the .src.rpm is:


using the tarball found at:


I'm building with the following (prefix is "/usr" and mandir is "/usr/share/man"):

./configure --prefix=%{_prefix} --with-x --mandir=%{_mandir}

The error message is:

In file included from wmwifi.h:15,
                 from wmwifi.c:32:
/usr/include/linux/wireless.h:882: error: 'IFNAMSIZ' undeclared here (not in a function)
make[2]: *** [wmwifi.o] Error 1

Grep gives the following:

[root@localhost i386]# grep -R 'IFNAMSIZ' /usr/include/* | grep '#define'
grep: warning: /usr/include/gnome-xml/libxml: recursive directory loop

/usr/include/linux/isdn_ppp.h:#define PPPIOCGIFNAME      _IOR('t',136, char [IFNAMSIZ] )
/usr/include/linux/wireless.h:#define IW_EV_CHAR_LEN    (IW_EV_LCP_LEN + IFNAMSIZ)
/usr/include/linux/if.h:#define IFNAMSIZ        16
/usr/include/valgrind/vki-linux.h:#define       VKI_IFNAMSIZ    16
/usr/include/wireless.h:#define IW_EV_CHAR_LEN  (IW_EV_LCP_LEN + IFNAMSIZ)
[root@localhost i386]# 

I've tried patching wmwifi.h and wmwifi.c with an added "#define <linux/if.h>" to no avail.

Does anyone have an idea?

Jeff Krebs

As-users mailing list