Compilation problem with 2.1 release

sven falempin sven.falempin at gmail.com
Wed Mar 19 10:28:53 EDT 2014


hostapd2 depends on libnl2 ? so rtnl_link_alloc_cache is not the same ?

but i have the same problem with the hostap-1-bp tag


On Tue, Mar 18, 2014 at 11:08 PM, sven falempin <sven.falempin at gmail.com>wrote:

> Hello,
>
> what is wrong with my config guys, ( vlans was working with 1.0 )  ?
>
> .config:
>
> -------------------------------------------------------------------------------------------
> CONFIG_DRIVER_HOSTAP=y
> CONFIG_DRIVER_MADWIFI=
> CONFIG_DRIVER_NL80211=y
> CONFIG_IAPP=y
> CONFIG_RSN_PREAUTH=y
> CONFIG_PEERKEY=y
> CONFIG_IEEE80211R=y
> CONFIG_INTERWORKING=y
> CONFIG_IEEE80211N=y
> CONFIG_INTERNAL_LIBTOMMATH_FAST=y
> CONFIG_EAP=y
> CONFIG_EAP_MD5=y
> CONFIG_EAP_TLS=y
> CONFIG_EAP_MSCHAPV2=y
> CONFIG_EAP_PEAP=y
> CONFIG_EAP_GTC=y
> CONFIG_EAP_TTLS=y
> CONFIG_WPS=
> CONFIG_WPS_UPNP=
> CONFIG_EAP_IKEV2=y
> CONFIG_PKCS12=y
> CONFIG_RADIUS_SERVER=
> CONFIG_IPV6=y
> CONFIG_FULL_DYNAMIC_VLAN=y
> CONFIG_VLAN_NETLINK=y
>
> -------------------------------------------------------------------------------------------
>
> ../src/ap/vlan_util.c:17:37: warning: netlink/route/link/vlan.h: No such
> file or directory
> ../src/ap/vlan_util.c: In function 'vlan_add':
> ../src/ap/vlan_util.c:55: warning: implicit declaration of function
> 'nl_socket_alloc'
> ../src/ap/vlan_util.c:55: warning: assignment makes pointer from integer
> without a cast
> ../src/ap/vlan_util.c:61: warning: passing argument 1 of 'nl_connect' from
> incompatible pointer type
> ../src/ap/vlan_util.c:66: warning: passing argument 1 of
> 'rtnl_link_alloc_cache' from incompatible pointer type
> ../src/ap/vlan_util.c:66: error: too many arguments to function
> 'rtnl_link_alloc_cache'
> ../src/ap/vlan_util.c:95: warning: implicit declaration of function
> 'rtnl_link_set_type'
> ../src/ap/vlan_util.c:103: warning: implicit declaration of function
> 'rtnl_link_vlan_set_id'
> ../src/ap/vlan_util.c:108: warning: implicit declaration of function
> 'rtnl_link_add'
> ../src/ap/vlan_util.c:123: warning: implicit declaration of function
> 'nl_socket_free'
> ../src/ap/vlan_util.c: In function 'vlan_rem':
> ../src/ap/vlan_util.c:137: warning: assignment makes pointer from integer
> without a cast
> ../src/ap/vlan_util.c:143: warning: passing argument 1 of 'nl_connect'
> from incompatible pointer type
> ../src/ap/vlan_util.c:148: warning: passing argument 1 of
> 'rtnl_link_alloc_cache' from incompatible pointer type
> ../src/ap/vlan_util.c:148: error: too many arguments to function
> 'rtnl_link_alloc_cache'
> ../src/ap/vlan_util.c:161: warning: implicit declaration of function
> 'rtnl_link_delete'
> make: *** [../src/ap/vlan_util.o] Error 1
>
> Please help :-)
>
>
> Best regards
>



-- 
---------------------------------------------------------------------------------------------------------------------
() ascii ribbon campaign - against html e-mail
/\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20140319/03f0ccb0/attachment.htm>


More information about the HostAP mailing list