A compile error of 'wbemidl.h' in windows mobile 6.1

Jouni Malinen j at w1.fi
Mon Sep 14 10:07:37 EDT 2009

On Thu, Sep 10, 2009 at 04:44:54PM +0900, �̿��� wrote:

> I have a compile error when compiling hostapd 0.6.7 in windows mobile 6.1 with 'Windows mobile 6 professional sdk' platform. The error is related with a WMI header file in ndis_events.c as the following.
>   "Cannot open include file: 'wbemidl.h': No such file or directory"

You should not include ndis_events.c in a Windows Mobile build since
Windows CE/Mobile does not use WMI for NDIS events (they are handled
internally in driver_ndis.c). In addition to removing ndis_events.c, you
will also need to remove CONFIG_NDIS_EVENTS_INTEGRATED define from
src/utils/build_config.h if you are using CONFIG_WIN32_DEFAULTS as the
way of configuring the build.

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list