compiling wpa_supplicant with mingw (Packet32.h missing)

Sergio sergioyebenes
Sun Jul 27 11:38:13 PDT 2008


Hi, can anybody suggest me something?

I'm trying to compile wpa_supplicant 0.6.3 under debian etch to use
under windows. My .config file:

CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_TLS=y
CONFIG_SMARTCARD=y
#CONFIG_PCSC=y
CONFIG_CTRL_IFACE=y
CONFIG_OS=win32
CONFIG_L2_PACKET=winpcap

#CAMBIA TIPO DE PAQUETES EN CAPA 2,PARA LINUX, si es que no se puso lo
de antes
#CONFIG_DNET_PCAP=y
CONFIG_TLS=openssl
CFLAGS += -I/usr/local/ssl/include
LIBS += -L/usr/local/ssl/include/lib

# Driver interface for Windows NDIS
CONFIG_DRIVER_NDIS=y
CFLAGS += -I/usr/i586-mingw32msvc/include
LIBS += -L/usr/i586-mingw32msvc/lib

# For native build using mingw
CONFIG_NATIVE_WINDOWS=y
# Additional directories for cross-compilation on Linux host for mingw
target
CFLAGS += -I/usr/i586-mingw32msvc/include/ddk
LIBS += -L/usr/i586-mingw32msvc/lib
CC=i586-mingw32msvc-gcc

when I execute make, some options compile ok, but when it try to compile
ndis driver, the output says:

../src/drivers/driver_ndis.c:26:22: warning: Packet32.h: No existe el
fichero o el directorio <--------(FILE DOESN'T EXISTS)
In file included from ../src/drivers/driver_ndis.c:40:

Then I try to search header file:


portatil:/archivos/programas/wpa_supplicant-0.6.3/wpa_supplicant# find /
-name Packet32.h
portatil:/archivos/programas/wpa_supplicant-0.6.3/wpa_supplicant#

there aren't any Packet32.h file.....

I have libpcap0.8 && libpcap0.8-dev installed

can anybody help me? my .config seems ok.

Thanks!






More information about the Hostap mailing list