I am having a problem compiling hostapd from the svn head. Everything builds OK without hostapd, but the minute I add it in to the config, I get the error:

make[1]: *** No rule to make target `package/libelf/madwifi/compile', needed by `package/hostapd/compile'.  Stop.

I am not sure how libelf is even being releated to madwifi and is not selected in the config or being compiled.

Any suggestions?

Thanks

Ian

update:

I changed the make file and added a couple of echo's to the makefile to debug and it now it works:

define Build/Configure
    echo "here"
    $(call Build/Configure/default)
    $(call Build/Configure/mini)
endef

define Build/Compile
    echo "here2"
    $(call Build/Compile/default)
    $(call Build/Compile/mini)
endef

My make version is 3.81.

(Last edited by osmosis on 6 Nov 2007, 19:41)