Butzelmann
Well-Known Member
Hi!
Ich moehcte wpa_supplicant 4.5.6 mit dem NdisWrapper Driver installieren.
Wenn ich dann gmake ausführe, bekomme ich folgendes:
cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -I%%LOCALBASE%%/include -DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_BSD -DUSE_DNET_PCAP -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP -DEAP_PSK -DEAP_AKA -DEAP_TLV -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -c -o driver_ndiswrapper.o driver_ndiswrapper.c
In file included from driver_ndiswrapper.c:22:
/usr/include/net/if_arp.h:88: error: field `arp_pa' has incomplete type
/usr/include/net/if_arp.h:89: error: field `arp_ha' has incomplete type
In file included from wireless_copy.h:88,
from driver_ndiswrapper.c:24:
/usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:359: error: field `addr' has incomplete type
/usr/include/net/if.h:360: error: field `dstaddr' has incomplete type
In file included from driver_ndiswrapper.c:24:
wireless_copy.h:727: error: field `addr' has incomplete type
wireless_copy.h:753: error: field `bssid' has incomplete type
wireless_copy.h:811: error: field `addr' has incomplete type
wireless_copy.h:824: error: field `addr' has incomplete type
wireless_copy.h:837: error: field `bssid' has incomplete type
wireless_copy.h:845: error: field `src_addr' has incomplete type
wireless_copy.h:856: error: field `bssid' has incomplete type
wireless_copy.h:910: error: field `ap_addr' has incomplete type
wireless_copy.h:911: error: field `addr' has incomplete type
In file included from driver_ndiswrapper.c:29:
priv_netlink.h:53: error: syntax error before "sa_family_t"
driver_ndiswrapper.c: In function `get_socket':
driver_ndiswrapper.c:79: error: `AF_INET' undeclared (first use in this function)
driver_ndiswrapper.c:79: error: (Each undeclared identifier is reported only once
driver_ndiswrapper.c:79: error: for each function it appears in.)
driver_ndiswrapper.c:79: error: initializer element is not constant
driver_ndiswrapper.c:79: error: (near initialization for `families[0]')
driver_ndiswrapper.c:79: error: `AF_IPX' undeclared (first use in this function)
driver_ndiswrapper.c:79: error: initializer element is not constant
driver_ndiswrapper.c:79: error: (near initialization for `families[1]')
driver_ndiswrapper.c:79: error: `AF_AX25' undeclared (first use in this function)
driver_ndiswrapper.c:79: error: initializer element is not constant
driver_ndiswrapper.c:79: error: (near initialization for `families[2]')
driver_ndiswrapper.c:80: error: `AF_APPLETALK' undeclared (first use in this function)
driver_ndiswrapper.c:80: error: initializer element is not constant
driver_ndiswrapper.c:80: error: (near initialization for `families[3]')
driver_ndiswrapper.c:85: warning: implicit declaration of function `socket'
driver_ndiswrapper.c:85: error: `SOCK_DGRAM' undeclared (first use in this function)
driver_ndiswrapper.c: In function `iw_set_ext':
driver_ndiswrapper.c:96: error: structure has no member named `ifr_name'
gmake: *** [driver_ndiswrapper.o] Error 1
was mache ich falsch? Gruß und Danke!
Ich moehcte wpa_supplicant 4.5.6 mit dem NdisWrapper Driver installieren.
Wenn ich dann gmake ausführe, bekomme ich folgendes:
cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -I%%LOCALBASE%%/include -DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_BSD -DUSE_DNET_PCAP -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP -DEAP_PSK -DEAP_AKA -DEAP_TLV -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -c -o driver_ndiswrapper.o driver_ndiswrapper.c
In file included from driver_ndiswrapper.c:22:
/usr/include/net/if_arp.h:88: error: field `arp_pa' has incomplete type
/usr/include/net/if_arp.h:89: error: field `arp_ha' has incomplete type
In file included from wireless_copy.h:88,
from driver_ndiswrapper.c:24:
/usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:359: error: field `addr' has incomplete type
/usr/include/net/if.h:360: error: field `dstaddr' has incomplete type
In file included from driver_ndiswrapper.c:24:
wireless_copy.h:727: error: field `addr' has incomplete type
wireless_copy.h:753: error: field `bssid' has incomplete type
wireless_copy.h:811: error: field `addr' has incomplete type
wireless_copy.h:824: error: field `addr' has incomplete type
wireless_copy.h:837: error: field `bssid' has incomplete type
wireless_copy.h:845: error: field `src_addr' has incomplete type
wireless_copy.h:856: error: field `bssid' has incomplete type
wireless_copy.h:910: error: field `ap_addr' has incomplete type
wireless_copy.h:911: error: field `addr' has incomplete type
In file included from driver_ndiswrapper.c:29:
priv_netlink.h:53: error: syntax error before "sa_family_t"
driver_ndiswrapper.c: In function `get_socket':
driver_ndiswrapper.c:79: error: `AF_INET' undeclared (first use in this function)
driver_ndiswrapper.c:79: error: (Each undeclared identifier is reported only once
driver_ndiswrapper.c:79: error: for each function it appears in.)
driver_ndiswrapper.c:79: error: initializer element is not constant
driver_ndiswrapper.c:79: error: (near initialization for `families[0]')
driver_ndiswrapper.c:79: error: `AF_IPX' undeclared (first use in this function)
driver_ndiswrapper.c:79: error: initializer element is not constant
driver_ndiswrapper.c:79: error: (near initialization for `families[1]')
driver_ndiswrapper.c:79: error: `AF_AX25' undeclared (first use in this function)
driver_ndiswrapper.c:79: error: initializer element is not constant
driver_ndiswrapper.c:79: error: (near initialization for `families[2]')
driver_ndiswrapper.c:80: error: `AF_APPLETALK' undeclared (first use in this function)
driver_ndiswrapper.c:80: error: initializer element is not constant
driver_ndiswrapper.c:80: error: (near initialization for `families[3]')
driver_ndiswrapper.c:85: warning: implicit declaration of function `socket'
driver_ndiswrapper.c:85: error: `SOCK_DGRAM' undeclared (first use in this function)
driver_ndiswrapper.c: In function `iw_set_ext':
driver_ndiswrapper.c:96: error: structure has no member named `ifr_name'
gmake: *** [driver_ndiswrapper.o] Error 1
was mache ich falsch? Gruß und Danke!