Public bug reported:

Binary package hint: wireless-tools

wireless-tools appears to FTBFS because the ifmap, ifreq and ifconf
structures are duplicated in linux/if.h and net/if.h. It appears that
iwlib.h includes net/if.h and later (probably through wireless.h),
includes linux/if.h which redefines those structures.

This was with:
libc6-dev 2.12.1-0ubuntu8
linux-libc-dev 2.6.37-2.10

Here is the log from attempting to build wireless-tools from a clean
copy of lp:ubuntu/wireless-tools on natty:

gcc -O2 -W -Wall -Wstrict-prototypes -I. -DIW_USES_ITS_OWN_DOGFOOD -MMD     -c 
iwevent.c
In file included from /usr/include/linux/netdevice.h:28:0,
                 from /usr/include/linux/rtnetlink.h:9,
                 from iwevent.c:23:
/usr/include/linux/if.h:135:8: error: redefinition of ‘struct ifmap’
/usr/include/net/if.h:112:8: note: originally defined here
/usr/include/linux/if.h:169:8: error: redefinition of ‘struct ifreq’
/usr/include/net/if.h:127:8: note: originally defined here
/usr/include/linux/if.h:218:8: error: redefinition of ‘struct ifconf’
/usr/include/net/if.h:177:8: note: originally defined here
make[1]: *** [iwevent.o] Erreur 1
make[1]: quittant le répertoire « 
/home/mtrudel/Projects/ubuntu/build-area/wireless-tools-30~pre9 »
make: *** [build-stamp] Erreur 2
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de 
type 2
debuild: fatal error at line 1337:
dpkg-buildpackage -rfakeroot -D -us -uc failed
bzr: ERROR: The build failed.

** Affects: wireless-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
wireless-tools FTBFS with latest kernel headers on natty
https://bugs.launchpad.net/bugs/672584
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to