unable to get madwifi driver built into wpa_supplicant

Jouni Malinen jkmaline
Wed May 18 06:29:55 PDT 2005


On Wed, May 18, 2005 at 08:23:48AM -0400, Thomas Bishop wrote:

> My madwifi source is at /usr/src/madwifi.  My wpa_supplicant source is at
> /usr/src/wpa_supplicant.  Latest versions of both.
> 
> Here is the contents of my .config:
> 
> CONFIG_DRIVER_MADWIFI=y
> CONFIG_WIRELESS_EXTENSION=y

OK.

> The section I changed in the Makefile:
> 
> ifdef CONFIG_DRIVER_MADWIFI
> CFLAGS += -I/usr/src/madwifi
> OBJS += driver_madwifi.o
> CONFIG_WIRELESS_EXTENSION=y
> endif

Please do not change the Makefile. The include path can be added in
.config by adding that CFLAGS line there. It looks like you removed the
CONFIG_DRIVER_MADWIFI define from the Makefile and while doing that
removed madwifi support from the build. In other wrods, the "CFLAGS +=
-DCONFIG_DRIVER_MADWIFI" has to remain in Makefile in order for the
build to work.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list