Skip to contentSkip to conversation

package/batman-adv: fix compile with BR2_PACKAGE_BATMAN_ADV_BATMAN_V disabled

PATCH In review Peter Seiderer 5 participants 12 messages Mar 14, 2021 – Jul 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/batman-adv: fix compile with BR2_PACKAGE_BATMAN_ADV_BATMAN_V disabled

The given 'CONFIG_BATMAN_ADV_BATMAN_V=' is enough to trigger the wrong code compile path in net/batman-adv/bat_v.h missing the static inline dummy implementations.

Fixes:

ERROR: modpost: "batadv_v_mesh_free" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_mesh_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_hardif_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!

---
 package/batman-adv/batman-adv.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/batman-adv/batman-adv.mk +3 -3
index bd648b5a6c..0b9fcaefc0 100644
@@ -20,12 +20,12 @@ BATMAN_ADV_MODULE_MAKE_OPTS = \
 	INSTALL_MOD_DIR=updates/net/batman-adv \
 	NOSTDINC_FLAGS="$(BATMAN_ADV_CFLAGS)" \
 	CONFIG_BATMAN_ADV=m \
-	CONFIG_BATMAN_ADV_BATMAN_V=$(BR2_PACKAGE_BATMAN_ADV_BATMAN_V) \
+	$(if $(BR2_PACKAGE_BATMAN_ADV_BATMAN_V), CONFIG_BATMAN_ADV_BATMAN_V=y) \
 	CONFIG_BATMAN_ADV_BLA=y \
 	CONFIG_BATMAN_ADV_DAT=y \
-	CONFIG_BATMAN_ADV_DEBUG=$(BR2_PACKAGE_BATMAN_ADV_DEBUG) \
+	$(if $(BR2_PACKAGE_BATMAN_ADV_DEBUG), CONFIG_BATMAN_ADV_DEBUG=y) \
 	CONFIG_BATMAN_ADV_MCAST=y \
-	CONFIG_BATMAN_ADV_NC=$(BR2_PACKAGE_BATMAN_ADV_NC)
+	$(if $(BR2_PACKAGE_BATMAN_ADV_NC), CONFIG_BATMAN_ADV_NC=y)
 BATMAN_ADV_MODULE_SUBDIRS = net/batman-adv
 
 define BATMAN_ADV_CONFIGURE_CMDS
Signature · 1 line
2.30.1
#1 lore raw

PATCH 2/2 package/batman-adv: enable B.A.T.M.A.N. V protocol by default

As upstream enables CONFIG_BATMAN_ADV_BATMAN_V option since 2018.2 by defaullt ([1]) honor this in buildroot and do the same (and remove the leagcy experimental comment accordingly).

[1] https://git.open-mesh.org/batman-adv.git/blob/HEAD:/CHANGELOG.rst#l174

---
 package/batman-adv/Config.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
package/batman-adv/Config.in +2 -3
index 9d3d7967b9..f3ac974296 100644
@@ -25,11 +25,10 @@ config BR2_PACKAGE_BATMAN_ADV_NC
 	  https://www.open-mesh.org/projects/batman-adv/wiki/NetworkCoding
 
 config BR2_PACKAGE_BATMAN_ADV_BATMAN_V
-	bool "enable B.A.T.M.A.N. V protocol (experimental)"
+	bool "enable B.A.T.M.A.N. V protocol"
+	default y
 	help
 	  Enables B.A.T.M.A.N. V network protocol.
-	  This is the next-gen protocol and is experimental at this
-	  time.
 
 	  https://www.open-mesh.org/projects/batman-adv/wiki/BATMAN_V
 
Signature · 1 line
2.30.1
#2 lore raw

PATCH 2/2 package/batman-adv: enable B.A.T.M.A.N. V protocol by default

Peter, All,

On 2021-03-14 23:32 +0100, Peter Seiderer spake thusly:

Quoted 16 lines

As upstream enables CONFIG_BATMAN_ADV_BATMAN_V option since 2018.2 by defaullt ([1]) honor this in buildroot and do the same (and remove the leagcy experimental comment accordingly).

[1] https://git.open-mesh.org/batman-adv.git/blob/HEAD:/CHANGELOG.rst#l174

---
 package/batman-adv/Config.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
package/batman-adv/Config.in +0 -0
index 9d3d7967b9..f3ac974296 100644

package/batman-adv/Config.in config BR2_PACKAGE_BATMAN_ADV_NC · line 28

Quoted 5 lines
package/batman-adv/Config.in +1 -1
@@ -25,11 +25,10 @@ config BR2_PACKAGE_BATMAN_ADV_NC
 	  https://www.open-mesh.org/projects/batman-adv/wiki/NetworkCoding
 
 config BR2_PACKAGE_BATMAN_ADV_BATMAN_V
-	bool "enable B.A.T.M.A.N. V protocol (experimental)"
+	bool "enable B.A.T.M.A.N. V protocol"

Upstream seems to still consider this to be experimental [0].

package/batman-adv/Config.in config BR2_PACKAGE_BATMAN_ADV_NC · line 29

Quoted 1 line
package/batman-adv/Config.in +1 -0
+	default y

What we talked about earlier [1], was to always enable it, not to change the default.

Now, people that have a defconfig file with BATMAN-V disabled (i.e. there would be nothing in the defconfig as 'is not set' is the default), will have it enabled now.

So, if upstream recommends to not disable it (do you have a ref?), then we should just drop our option, and to always enable it.

Thoughts?

[0] https://git.open-mesh.org/batman-adv.git/blob/HEAD:/Makefile#l7
[1] http://lists.busybox.net/pipermail/buildroot/2021-March/305811.html

Regards,
Yann E. MORIN.

Quoted 14 lines
package/batman-adv/Config.in +0 -2
 	help
 	  Enables B.A.T.M.A.N. V network protocol.
-	  This is the next-gen protocol and is experimental at this
-	  time.
 
 	  https://www.open-mesh.org/projects/batman-adv/wiki/BATMAN_V
 
Signature · 6 lines
2.30.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 2/2 package/batman-adv: enable B.A.T.M.A.N. V protocol by default

Yann,

Quoted 15 lines · Yann E. MORIN

package/batman-adv/Config.in config BR2_PACKAGE_BATMAN_ADV_NC · line 28

Quoted 3 lines

config BR2_PACKAGE_BATMAN_ADV_BATMAN_V

package/batman-adv/Config.in +1 -1
-     bool "enable B.A.T.M.A.N. V protocol (experimental)"
+     bool "enable B.A.T.M.A.N. V protocol"

Upstream seems to still consider this to be experimental [0].

Quoted 1 line

+ default y

What we talked about earlier [1], was to always enable it, not to change the default.

Now, people that have a defconfig file with BATMAN-V disabled (i.e. there would be nothing in the defconfig as 'is not set' is the default), will have it enabled now.

Quoted 7 lines

So, if upstream recommends to not disable it (do you have a ref?), then we should just drop our option, and to always enable it.

Thoughts?

[0] https://git.open-mesh.org/batman-adv.git/blob/HEAD:/Makefile#l7
[1] http://lists.busybox.net/pipermail/buildroot/2021-March/305811.html

What would the advantage be for removing the ability to disable the CONFIG_BATMAN_ADV_BATMAN_V option from the Buildroot config?

I guess if someone doesn't need it it could still be good to remove to simplify things.

Best,
Christian

#4 lore raw

PATCH 2/2 package/batman-adv: enable B.A.T.M.A.N. V protocol by default

In reply to Yann E. MORIN

Hello Yann,

Quoted 21 lines · Yann E. MORIN

Peter, All,

On 2021-03-14 23:32 +0100, Peter Seiderer spake thusly:

Quoted 18 lines

As upstream enables CONFIG_BATMAN_ADV_BATMAN_V option since 2018.2 by defaullt ([1]) honor this in buildroot and do the same (and remove the leagcy experimental comment accordingly).

[1] https://git.open-mesh.org/batman-adv.git/blob/HEAD:/CHANGELOG.rst#l174

---
 package/batman-adv/Config.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
package/batman-adv/Config.in +0 -0
index 9d3d7967b9..f3ac974296 100644
@@ -25,11 +25,10 @@ config BR2_PACKAGE_BATMAN_ADV_NC
 	  https://www.open-mesh.org/projects/batman-adv/wiki/NetworkCoding
 
Quoted 5 lines

package/batman-adv/Config.in config BR2_PACKAGE_BATMAN_ADV_NC · line 28

Quoted 3 lines
package/batman-adv/Config.in +1 -1
 config BR2_PACKAGE_BATMAN_ADV_BATMAN_V
-	bool "enable B.A.T.M.A.N. V protocol (experimental)"
+	bool "enable B.A.T.M.A.N. V protocol"

Upstream seems to still consider this to be experimental [0].

Would count this as a oversight/leftover...and after 3 years of default to enabled would not count it as experimental...

Quoted 9 lines

package/batman-adv/Config.in config BR2_PACKAGE_BATMAN_ADV_NC · line 29

Quoted 2 lines
package/batman-adv/Config.in +1 -0
+	default y

What we talked about earlier [1], was to always enable it, not to change the default.

Now, people that have a defconfig file with BATMAN-V disabled (i.e. there would be nothing in the defconfig as 'is not set' is the default), will have it enabled now.

I believe the count of people who have BATMAN-V disabled is zero (or they are to shy to report the compile failure which should occur since the introduction of BATMAN-V as the ifdef pattern did not change since 2016, see [2])...

Quoted 4 lines

So, if upstream recommends to not disable it (do you have a ref?), then we should just drop our option, and to always enable it.

Same rationale as Christian in the follow-up mail...

Regards,
Peter

[2] https://git.open-mesh.org/batman-adv.git/blobdiff/ec46535b827539e29628881fa46e5644ec84eba7..a4b88af77e28f90e650c779f673a84d5b8cb5985:/net/batman-adv/bat_algo.h

Quoted 23 lines

Thoughts?

[0] https://git.open-mesh.org/batman-adv.git/blob/HEAD:/Makefile#l7
[1] http://lists.busybox.net/pipermail/buildroot/2021-March/305811.html

Regards,
Yann E. MORIN.

Quoted 14 lines
package/batman-adv/Config.in +0 -3
 	help
 	  Enables B.A.T.M.A.N. V network protocol.
-	  This is the next-gen protocol and is experimental at this
-	  time.
 
 	  https://www.open-mesh.org/projects/batman-adv/wiki/BATMAN_V
 
--

2.30.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#5 lore raw

Re: [Buildroot] [PATCH v1 2/2] package/batman-adv: enable B.A.T.M.A.N. V protocol by default

In reply to Peter Seiderer
Quoted 7 lines · Peter Seiderer

As upstream enables CONFIG_BATMAN_ADV_BATMAN_V option since 2018.2 by defaullt ([1]) honor this in buildroot and do the same (and remove the leagcy experimental comment accordingly).

[1] https://git.open-mesh.org/batman-adv.git/blob/HEAD:/CHANGELOG.rst#l174

I finally applied to master with just a bit extension of the commit message to
indicate that upstream's label of it being experimental is no longer really true.

Regards,
Arnout

Quoted 12 lines
---
  package/batman-adv/Config.in | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)
package/batman-adv/Config.in +0 -0
index 9d3d7967b9..f3ac974296 100644
@@ -25,11 +25,10 @@ config BR2_PACKAGE_BATMAN_ADV_NC
  	  https://www.open-mesh.org/projects/batman-adv/wiki/NetworkCoding
 
  config BR2_PACKAGE_BATMAN_ADV_BATMAN_V

package/batman-adv/Config.in config BR2_PACKAGE_BATMAN_ADV_NC · line 34

Quoted 10 lines
package/batman-adv/Config.in +2 -3
-	bool "enable B.A.T.M.A.N. V protocol (experimental)"
+	bool "enable B.A.T.M.A.N. V protocol"
+	default y
  	help
  	  Enables B.A.T.M.A.N. V network protocol.
-	  This is the next-gen protocol and is experimental at this
-	  time.
 
  	  https://www.open-mesh.org/projects/batman-adv/wiki/BATMAN_V
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw

PATCH 1/2 package/batman-adv: fix compile with BR2_PACKAGE_BATMAN_ADV_BATMAN_V disabled

In reply to Peter Seiderer

Peter, All,

On 2021-03-14 23:32 +0100, Peter Seiderer spake thusly:

Quoted 4 lines

The given 'CONFIG_BATMAN_ADV_BATMAN_V=' is enough to trigger the wrong code compile path in net/batman-adv/bat_v.h missing the static inline dummy implementations.

Quoted 8 lines

Fixes:

ERROR: modpost: "batadv_v_mesh_free" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_mesh_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_hardif_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 31 lines
---
 package/batman-adv/batman-adv.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/batman-adv/batman-adv.mk +3 -3
index bd648b5a6c..0b9fcaefc0 100644
@@ -20,12 +20,12 @@ BATMAN_ADV_MODULE_MAKE_OPTS = \
 	INSTALL_MOD_DIR=updates/net/batman-adv \
 	NOSTDINC_FLAGS="$(BATMAN_ADV_CFLAGS)" \
 	CONFIG_BATMAN_ADV=m \
-	CONFIG_BATMAN_ADV_BATMAN_V=$(BR2_PACKAGE_BATMAN_ADV_BATMAN_V) \
+	$(if $(BR2_PACKAGE_BATMAN_ADV_BATMAN_V), CONFIG_BATMAN_ADV_BATMAN_V=y) \
 	CONFIG_BATMAN_ADV_BLA=y \
 	CONFIG_BATMAN_ADV_DAT=y \
-	CONFIG_BATMAN_ADV_DEBUG=$(BR2_PACKAGE_BATMAN_ADV_DEBUG) \
+	$(if $(BR2_PACKAGE_BATMAN_ADV_DEBUG), CONFIG_BATMAN_ADV_DEBUG=y) \
 	CONFIG_BATMAN_ADV_MCAST=y \
-	CONFIG_BATMAN_ADV_NC=$(BR2_PACKAGE_BATMAN_ADV_NC)
+	$(if $(BR2_PACKAGE_BATMAN_ADV_NC), CONFIG_BATMAN_ADV_NC=y)
 BATMAN_ADV_MODULE_SUBDIRS = net/batman-adv
 
 define BATMAN_ADV_CONFIGURE_CMDS
Signature · 6 lines
2.30.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#7 lore raw

PATCH 1/2 package/batman-adv: fix compile with BR2_PACKAGE_BATMAN_ADV_BATMAN_V disabled

In reply to Peter Seiderer

Peter, all,

Quoted 6 lines · Peter Seiderer

The given 'CONFIG_BATMAN_ADV_BATMAN_V=' is enough to trigger the wrong code compile path in net/batman-adv/bat_v.h missing the static inline dummy implementations.

Fixes:

Unfortunately after applying this commit it still breaks.

I confirmed that the CONFIG_BATMAN_ADV_BATMAN_V is not being set now.

CONFIG_BATMAN_ADV=m CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_MCAST=y M=build/batman-adv-2021.0/net/batman-adv make modules

[snip]

MODPOST /build/batman-adv-2021.0/net/batman-adv/Module.symvers
ERROR: modpost: "batadv_v_mesh_free" undefined!
ERROR: modpost: "batadv_v_mesh_init" undefined!
ERROR: modpost: "batadv_v_hardif_init" undefined!
ERROR: modpost: "batadv_v_init" undefined!

Thanks,
Christian Stewart

#8 lore raw

PATCH 1/2 package/batman-adv: fix compile with BR2_PACKAGE_BATMAN_ADV_BATMAN_V disabled

Hello Christian,

Quoted 22 lines · Christian Stewart

Peter, all,

Quoted 6 lines · Peter Seiderer

The given 'CONFIG_BATMAN_ADV_BATMAN_V=' is enough to trigger the wrong code compile path in net/batman-adv/bat_v.h missing the static inline dummy implementations.

Fixes:

Unfortunately after applying this commit it still breaks.

I confirmed that the CONFIG_BATMAN_ADV_BATMAN_V is not being set now.

CONFIG_BATMAN_ADV=m CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_MCAST=y M=build/batman-adv-2021.0/net/batman-adv make modules

Quoted 7 lines

[snip]

MODPOST /build/batman-adv-2021.0/net/batman-adv/Module.symvers
ERROR: modpost: "batadv_v_mesh_free" undefined!
ERROR: modpost: "batadv_v_mesh_init" undefined!
ERROR: modpost: "batadv_v_hardif_init" undefined!
ERROR: modpost: "batadv_v_init" undefined!

Mind to share your defconfig (which cross-compiler)?

Did you do a complete re-build of the batman-adv-2021.0 package (rm -rf build/batman-adv-2021.0 && make batman-adv)?

Regards,
Peter

Quoted 7 lines

Thanks,
Christian Stewart
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#9 lore raw

PATCH 1/2 package/batman-adv: fix compile with BR2_PACKAGE_BATMAN_ADV_BATMAN_V disabled

Hi Peter,

Quoted 29 lines · Peter Seiderer
Quoted 20 lines · Christian Stewart
Quoted 6 lines · Peter Seiderer

The given 'CONFIG_BATMAN_ADV_BATMAN_V=' is enough to trigger the wrong code compile path in net/batman-adv/bat_v.h missing the static inline dummy implementations.

Fixes:

Unfortunately after applying this commit it still breaks.

I confirmed that the CONFIG_BATMAN_ADV_BATMAN_V is not being set now.

CONFIG_BATMAN_ADV=m CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_MCAST=y M=build/batman-adv-2021.0/net/batman-adv make modules

Quoted 7 lines

[snip]

MODPOST /build/batman-adv-2021.0/net/batman-adv/Module.symvers
ERROR: modpost: "batadv_v_mesh_free" undefined!
ERROR: modpost: "batadv_v_mesh_init" undefined!
ERROR: modpost: "batadv_v_hardif_init" undefined!
ERROR: modpost: "batadv_v_init" undefined!

Quoted 4 lines

Mind to share your defconfig (which cross-compiler)?

Did you do a complete re-build of the batman-adv-2021.0 package (rm -rf build/batman-adv-2021.0 && make batman-adv)?

Buildroot toolchain,

BR2_x86_64=y
BR2_TOOLCHAIN=y
BR2_TOOLCHAIN_USES_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT=y
BR2_BINUTILS_VERSION_2_35_X=y
BR2_GCC_VERSION_10_X=y
BR2_PACKAGE_BATMAN_ADV=y

Yes, deleted the build/batman-adv* dir and fully re-built, and confirmed that it was not setting the BATMAN_ADV_V flag anymore.

Thanks,
Christian

#10 lore raw

PATCH 1/2 package/batman-adv: fix compile with BR2_PACKAGE_BATMAN_ADV_BATMAN_V disabled

Hello Christian,

Quoted 47 lines · Christian Stewart

Hi Peter,

Quoted 29 lines · Peter Seiderer
Quoted 20 lines · Christian Stewart
Quoted 6 lines · Peter Seiderer

The given 'CONFIG_BATMAN_ADV_BATMAN_V=' is enough to trigger the wrong code compile path in net/batman-adv/bat_v.h missing the static inline dummy implementations.

Fixes:

Unfortunately after applying this commit it still breaks.

I confirmed that the CONFIG_BATMAN_ADV_BATMAN_V is not being set now.

CONFIG_BATMAN_ADV=m CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_MCAST=y M=build/batman-adv-2021.0/net/batman-adv make modules

Quoted 7 lines

[snip]

MODPOST /build/batman-adv-2021.0/net/batman-adv/Module.symvers
ERROR: modpost: "batadv_v_mesh_free" undefined!
ERROR: modpost: "batadv_v_mesh_init" undefined!
ERROR: modpost: "batadv_v_hardif_init" undefined!
ERROR: modpost: "batadv_v_init" undefined!

Quoted 4 lines

Mind to share your defconfig (which cross-compiler)?

Did you do a complete re-build of the batman-adv-2021.0 package (rm -rf build/batman-adv-2021.0 && make batman-adv)?

Buildroot toolchain,

BR2_x86_64=y
BR2_TOOLCHAIN=y
BR2_TOOLCHAIN_USES_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT=y
BR2_BINUTILS_VERSION_2_35_X=y
BR2_GCC_VERSION_10_X=y
BR2_PACKAGE_BATMAN_ADV=y

Quoted 2 lines

Yes, deleted the build/batman-adv* dir and fully re-built, and confirmed that it was not setting the BATMAN_ADV_V flag anymore.

O.k, using the following defconfig I get the same failure:

BR2_x86_64=y
BR2_GCC_VERSION_10_X=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_PACKAGE_BATMAN_ADV=y

My RPi4 test case had an RPi4 linux kernel already enabling the build-in batman-adv module inclusive batman-v...

Hopefully fixed this time for real with

https://patchwork.ozlabs.org/project/buildroot/patch/20210316181429.30804-1-ps.report at gmx.net/
https://patchwork.ozlabs.org/project/buildroot/patch/20210316181429.30804-2-ps.report at gmx.net/

and a note about the linux mainline kernel module added with

https://patchwork.ozlabs.org/project/buildroot/patch/20210316181429.30804-3-ps.report at gmx.net/

Regards,
Peter

Quoted 7 lines

Thanks,
Christian
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#11 lore raw

PATCH 1/2 package/batman-adv: fix compile with BR2_PACKAGE_BATMAN_ADV_BATMAN_V disabled

In reply to Peter Seiderer
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Seiderer <[email protected]> writes:

The given 'CONFIG_BATMAN_ADV_BATMAN_V=' is enough to trigger the wrong code compile path in net/batman-adv/bat_v.h missing the static inline dummy implementations.

Quoted 8 lines

Fixes:

ERROR: modpost: "batadv_v_mesh_free" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_mesh_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_hardif_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_init" [.../build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!

Committed to 2020.02.x, 2020.11.x and 2021.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard