compiling wpa_supplicant with mingw (Packet32.h missing)

Jouni Malinen j at w1.fi
Sun Aug 10 11:14:17 EDT 2008


On Mon, Jul 28, 2008 at 08:52:37AM +0200, Ingo Bente wrote:

> >>> CONFIG_NDIS_EVENTS_INTEGRATED=y

> afaik that's a missing #ifdef in "driver_ndis_.c". The bug can be fixed
> as described on http://www.codealias.info/technotes/wpaw32compile :
> 
> +#ifdef CONFIG_NDIS_EVENTS_INTEGRATED
> 
>    void wpa_driver_ndis_event_pipe_cb(void *eloop_data, void *user_data)

Well, driver_ndis_.c should not be needed at all when building without
CONFIG_NDIS_EVENTS_INTEGRATED (though, that won't produce a very well
working end result). I fixed this by changing Makefile to not compile
driver_ndis_.c in this case instead of adding #ifdef block into that
file.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list