batman 2023.1 fails to compile with implicit func kstrtou64 on debian 5.10.0
Hi list!
I tried to compile batman-adv-2023.1 for a standard debian bullseye kernel 5.10.0-25 but it fails with:
batman-adv/gateway_common.c:55:8: error: implicit declaration of function ‘kstrtou64’ [-Werror=implicit-function-declaration]
55 | ret = kstrtou64(buff, 10, <hroughput);
cc1: some warnings being treated as errors
Tried make CFLAGS="-Wno-error=implicit-function-declaration" but that doesn't help. Successfully compiled on 5.15.0 (ubuntu LTS).
Any ideas on this?
Martin
On Wednesday, 6 September 2023 17:50:26 CEST MK wrote:
[...]
Quoted 7 lines
batman-adv/gateway_common.c:55:8: error: implicit declaration of function ‘kstrtou64’ [-Werror=implicit-function-declaration]55 | ret = kstrtou64(buff, 10, <hroughput);cc1: some warnings being treated as errors
Tried make CFLAGS="-Wno-error=implicit-function-declaration" but that doesn't help. Successfully compiled on 5.15.0 (ubuntu LTS).
Please use 2023.2 or get following commit:
https://git.open-mesh.org/batman-adv.git/patch/8924adbdf993cd0521f9d0024b43e3b23af5114f
Kind regards,
Sven
Hi Sven.
Thanks for your fast reply.
Quoted 1 line
Please use 2023.2
Didn't realize there is a new release because it's not yet linked from the "News" page:
https://www.open-mesh.org/projects/open-mesh/wiki
Compiles now. Thanks!
Martin