b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* batman 2023.1 fails to compile with implicit func kstrtou64 on debian 5.10.0
@ 2023-09-06 15:50 MK
  2023-09-06 15:58 ` Sven Eckelmann
  0 siblings, 1 reply; 3+ messages in thread
From: MK @ 2023-09-06 15:50 UTC (permalink / raw)
  To: b.a.t.m.a.n


[-- Attachment #1.1: Type: text/plain, Size: 525 bytes --]

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, &lthroughput);
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





[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: batman 2023.1 fails to compile with implicit func kstrtou64 on debian 5.10.0
  2023-09-06 15:50 batman 2023.1 fails to compile with implicit func kstrtou64 on debian 5.10.0 MK
@ 2023-09-06 15:58 ` Sven Eckelmann
  2023-09-06 18:55   ` MK
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Eckelmann @ 2023-09-06 15:58 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: MK

[-- Attachment #1: Type: text/plain, Size: 598 bytes --]

On Wednesday, 6 September 2023 17:50:26 CEST MK wrote:
[...]
> batman-adv/gateway_common.c:55:8: error: implicit declaration of 
> function ‘kstrtou64’ [-Werror=implicit-function-declaration]
>     55 |  ret = kstrtou64(buff, 10, &lthroughput);
> 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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: batman 2023.1 fails to compile with implicit func kstrtou64 on debian 5.10.0
  2023-09-06 15:58 ` Sven Eckelmann
@ 2023-09-06 18:55   ` MK
  0 siblings, 0 replies; 3+ messages in thread
From: MK @ 2023-09-06 18:55 UTC (permalink / raw)
  To: b.a.t.m.a.n


[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]

Hi Sven.

Thanks for your fast reply.

 >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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-06 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-06 15:50 batman 2023.1 fails to compile with implicit func kstrtou64 on debian 5.10.0 MK
2023-09-06 15:58 ` Sven Eckelmann
2023-09-06 18:55   ` MK

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).