Problem compiling wpa_supplicant 0.4.2
Samuel Díaz García
samueldg
Sat Jun 18 07:04:59 PDT 2005
Hi all, I'm having got problems trying to compile wpa_supplicant 0.4.2.
These are the output:
sdg01:/usr/src/wpa_supplicant-0.4.2# cp ../configs/wpa_supplicant_config
./.config && make clean && make
rm -f core *~ *.o *.d wpa_supplicant wpa_passphrase wpa_cli wpa_supplicant.exe
wpa_cli.exe wpa_passphrase.exe win_if_list.exe
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils -I../hostapd
-I/usr/local/include/dnet -I../madwifi -DCONFIG_DRIVER_HOSTAP
-DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_ATMEL
-DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW -DCONFIG_DRIVER_WIRED
-DUSE_DNET_PCAP -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2
-DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_PAX -DIEEE8021X_EAPOL
-DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE
-c -o config.o config.c
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils -I../hostapd
-I/usr/local/include/dnet -I../madwifi -DCONFIG_DRIVER_HOSTAP
-DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_ATMEL
-DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW -DCONFIG_DRIVER_WIRED
-DUSE_DNET_PCAP -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2
-DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DEAP_PAX -DIEEE8021X_EAPOL
-DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE
-c -o l2_packet.o l2_packet.c
l2_packet.c: En la funci?n `l2_packet_get_ip_addr':
l2_packet.c:419: error: storage size of `ifr' isn't known
l2_packet.c:431: aviso: implicit declaration of function `close'
l2_packet.c:419: aviso: unused variable `ifr'
make: *** [l2_packet.o] Error 1
I have maked and installed libdnet and libpcap (last versions).
I'm running Debian Sarge 3.1.
I added these lines to .config file:
# Replace native Linux implementation of packet sockets with libdnet/libpcap.
# This will be automatically set for non-Linux OS.
CFLAGS += -I/usr/local/include
CONFIG_DNET_PCAP=y
I don't know the linux api and headers paths (I'm a windows developer who want
to play and use linux and kick windows in my laptop).
Any suggestion, patch, workaround?
Thanks
--
Samuel D?az Garc?a
Director Gerente
ArcosCom Wireless, S.L.L.
CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz
http://www.arcoscom.com
mailto:samueldg at arcoscom.com
msn: samueldg at arcoscom.com
M?vil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax: 956 70 34 83
More information about the Hostap
mailing list