Public bug reported: Binary package hint: wpasupplicant
I'll just *assume* it's the kernel headers, but the jist of the issue is duplication of the ifmap, ifreq, and ifconf structures in linux/if.h and net/if.h. AFAICT, this is because those would now be also included in linux/if.h while first loaded through net/if.h. This is the exact error I get from 'bzr bd' in a clean copy of lp:ubuntu/wpasupplicant: cc -c -o ../src/drivers/driver_nl80211.o -MMD -Wall -g -O2 -I../src -I../src/crypto -I../src/utils -I../src/common -I../src/rsn_supp -DCONFIG_BACKEND_FILE -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_NL80211 -DCONFIG_DRIVER_WIRED -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP -DEAP_PSK -DEAP_AKA -DEAP_PAX -DCONFIG_WPS -DEAP_WSC -DIEEE8021X_EAPOL -DPCSC_FUNCS -I/usr/include/PCSC -DEAP_TLS_FUNCS -DEAP_TLS_OPENSSL -DPKCS12_FUNCS -DCONFIG_SMARTCARD -DINTERNAL_SHA256 -DNEED_SHA256 -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_CTRL_IFACE_DBUS -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=4 -DCONFIG_READLINE -DCONFIG_PEERKEY -DCONFIG_IEEE80211R -DCONFIG_NO_T_PRF -DCONFIG_DEBUG_SYSLOG -DCONFIG_DEBUG_FILE -DCONFIG_DEBUG_SYSLOG -DCONFIG_DELAYED_MIC_ERROR_REPORT ../src/drivers/driver_nl80211.c In file included from ../src/common/wireless_copy.h:88:0, from ../src/drivers/driver_nl80211.c:29: /usr/include/net/if.h:45:5: error: expected identifier before numeric constant /usr/include/net/if.h:112:8: error: redefinition of ‘struct ifmap’ /usr/include/linux/if.h:135:8: note: originally defined here /usr/include/net/if.h:127:8: error: redefinition of ‘struct ifreq’ /usr/include/linux/if.h:169:8: note: originally defined here /usr/include/net/if.h:177:8: error: redefinition of ‘struct ifconf’ /usr/include/linux/if.h:218:8: note: originally defined here ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_event_rtm_newlink’: ../src/drivers/driver_nl80211.c:818:24: error: ‘IFF_UP’ undeclared (first use in this function) ../src/drivers/driver_nl80211.c:818:24: note: each undeclared identifier is reported only once for each function it appears in ../src/drivers/driver_nl80211.c:819:24: error: ‘IFF_RUNNING’ undeclared (first use in this function) ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_finish_drv_init’: ../src/drivers/driver_nl80211.c:1532:21: error: ‘IFF_UP’ undeclared (first use in this function) ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_deinit’: ../src/drivers/driver_nl80211.c:1587:55: error: ‘IFF_UP’ undeclared (first use in this function) ../src/drivers/driver_nl80211.c: In function ‘wpa_driver_nl80211_set_mode’: ../src/drivers/driver_nl80211.c:2277:55: error: ‘IFF_UP’ undeclared (first use in this function) make[2]: *** [../src/drivers/driver_nl80211.o] Erreur 1 make[2]: quittant le répertoire « /home/mtrudel/Projects/ubuntu/build-area/wpasupplicant-0.6.10/wpa_supplicant » dh_auto_build: make -j1 returned exit code 2 make[1]: *** [override_dh_auto_build] Erreur 2 make[1]: quittant le répertoire « /home/mtrudel/Projects/ubuntu/build-area/wpasupplicant-0.6.10 » make: *** [build] 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: wpasupplicant (Ubuntu) Importance: Undecided Status: New -- wpasupplicant FTBFS with latest kernel headers on natty https://bugs.launchpad.net/bugs/672580 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs