On Tuesday 14 April 2015 16:53:28 Philipp Psurek wrote: [...]
I'm on 16b4833 and try to compile the module
[...]
CC [M] /usr/src/batman-adv/gateway_common.o /usr/src/batman-adv/gateway_common.c: In function 'batadv_parse_gw_bandwidth': /usr/src/batman-adv/gateway_common.c:47:3: error: implicit declaration of function 'strnicmp' [-Werror=implicit-function-declaration] if (strnicmp(tmp_ptr, "mbit", 4) == 0) ^ cc1: some warnings being treated as errors
[...]
also there was no error in March with 3.19.2
Please try the patches which bring batman-adv (nearly) to the same version as the current pre-Linux-4.1-rc1 version of batman-adv:
https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2015-April/012987.html https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2015-April/012988.html https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2015-April/012993.html https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2015-April/012994.html https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2015-April/012991.html https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2015-April/012986.html
The first one is missing in your version to make the out-of-tree module compatible with Linux 4.0. The rest should not affect you.
Kind regards, Sven