[Olsr-dev] lq nl80211 branch

Ferry Huberts (spam-protected)
Tue Nov 6 09:57:25 CET 2012


Don't know how you compile but I get this:

> [CC] src/linux/nl80211_link_info.c
> src/linux/nl80211_link_info.c: In function ‘connect_netlink’:
> src/linux/nl80211_link_info.c:178:2: error: implicit declaration of function ‘nl_socket_alloc’ [-Werror=implicit-function-declaration]
> src/linux/nl80211_link_info.c:178:2: error: nested extern declaration of ‘nl_socket_alloc’ [-Werror=nested-externs]
> src/linux/nl80211_link_info.c:178:26: error: assignment makes pointer from integer without a cast [-Werror]
> src/linux/nl80211_link_info.c:182:2: error: passing argument 1 of ‘genl_connect’ from incompatible pointer type [-Werror]
> In file included from src/linux/nl80211_link_info.c:54:0:
> /usr/include/netlink/genl/genl.h:23:12: note: expected ‘struct nl_handle *’ but argument is of type ‘struct nl_sock *’
> src/linux/nl80211_link_info.c:186:2: error: passing argument 1 of ‘genl_ctrl_resolve’ from incompatible pointer type [-Werror]
> In file included from src/linux/nl80211_link_info.c:55:0:
> /usr/include/netlink/genl/ctrl.h:29:12: note: expected ‘struct nl_handle *’ but argument is of type ‘struct nl_sock *’
> src/linux/nl80211_link_info.c:190:25: error: assignment makes pointer from integer without a cast [-Werror]
> src/linux/nl80211_link_info.c:194:2: error: passing argument 1 of ‘nl_connect’ from incompatible pointer type [-Werror]
> In file included from src/linux/nl80211_link_info.c:53:0:
> /usr/include/netlink/netlink.h:40:12: note: expected ‘struct nl_handle *’ but argument is of type ‘struct nl_sock *’
> src/linux/nl80211_link_info.c: In function ‘nl80211_link_info_for_interface’:
> src/linux/nl80211_link_info.c:350:2: error: passing argument 1 of ‘nl_send_auto_complete’ from incompatible pointer type [-Werror]
> In file included from src/linux/nl80211_link_info.c:53:0:
> /usr/include/netlink/netlink.h:48:12: note: expected ‘struct nl_handle *’ but argument is of type ‘struct nl_sock *’
> src/linux/nl80211_link_info.c:356:3: error: passing argument 1 of ‘nl_recvmsgs’ from incompatible pointer type [-Werror]
> In file included from src/linux/nl80211_link_info.c:53:0:
> /usr/include/netlink/netlink.h:58:12: note: expected ‘struct nl_handle *’ but argument is of type ‘struct nl_sock *’
> src/linux/nl80211_link_info.c: In function ‘mac_of_neighbor’:
> src/linux/nl80211_link_info.c:398:2: error: passing argument 1 of ‘rtnl_neigh_alloc_cache’ from incompatible pointer type [-Werror]
> In file included from src/linux/nl80211_link_info.c:57:0:
> /usr/include/netlink/route/neighbour.h:30:26: note: expected ‘struct nl_handle *’ but argument is of type ‘struct nl_sock *’
> src/linux/nl80211_link_info.c:398:2: error: too many arguments to function ‘rtnl_neigh_alloc_cache’
> In file included from src/linux/nl80211_link_info.c:57:0:
> /usr/include/netlink/route/neighbour.h:30:26: note: declared here
> src/linux/nl80211_link_info.c: In function ‘nl80211_link_info_cleanup’:
> src/linux/nl80211_link_info.c:437:2: error: implicit declaration of function ‘nl_socket_free’ [-Werror=implicit-function-declaration]
> src/linux/nl80211_link_info.c:437:2: error: nested extern declaration of ‘nl_socket_free’ [-Werror=nested-externs]
> cc1: all warnings being treated as errors
> make: *** [src/linux/nl80211_link_info.o] Error 1








On 06/11/12 09:45, Kees-Jan Hermans wrote:
> Ok. Been washed in GIT knowledge for the last few hours. Now it should
> be done. Branch is there, including README in the source.
>
> KJ
>
> On Mon, 2012-11-05 at 17:22 +0100, Henning Rogge wrote:
>> It happens to EVERYONE...
>>
>> Including me, there was just not that many people watching when I made
>> my mistakes. ;)
>>
>> Henning
>>
>> On Mon, Nov 5, 2012 at 5:09 PM, Kees-Jan Hermans <(spam-protected)> wrote:
>>> Oh, did I just show myself to be a complete git-amateur? Sorry. I'll
>>> have a look.
>>>
>>> KJ
>>>
>>> On Mon, 2012-11-05 at 16:50 +0100, Henning Rogge wrote:
>>>> On Mon, Nov 5, 2012 at 3:05 PM, Kees-Jan Hermans <(spam-protected)> wrote:
>>>>> LQ nl80211-library-based plugin code has been made available under
>>>>> branch name 'fox_kjhermans', and it contains link quality recalculation
>>>>> logic for Linux 80211. It is also dynamically configurable via the
>>>>> regular config file. A README of how to configure is, for now, enclosed
>>>>> in the src/linux/nl80211_link_info.c file.
>>>>
>>>> I do not see it in the repository... where did you pushed it?
>>>>
>>>> Henning Rogge
>>>
>>
>>
>>
>

-- 
Ferry Huberts




More information about the Olsr-dev mailing list