[Buildroot] [PATCH v1 2/2] package/batman-adv: bump version to 2021.0

Christian Stewart christian at paral.in
Fri Mar 12 23:51:05 UTC 2021


Hi Peter,

On Fri, Mar 12, 2021 at 2:09 PM Peter Seiderer <ps.report at gmx.net> wrote:
> > On Thu, Mar 11, 2021 at 1:08 PM Peter Seiderer <ps.report at gmx.net> wrote:
> > > -BATMAN_ADV_VERSION = 2019.3
> > > +BATMAN_ADV_VERSION = 2021.0
> >
> > I get build errors against 2 different device kernels (x86_64 and pi4):
> >
> > LD [M]  /build/batman-adv-2021.0/net/batman-adv/batman-adv.o
> > MODPOST /build/batman-adv-2021.0/net/batman-adv/Module.symvers
> > 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!
> >
> > Possibly the package makefile needs to be updated?
>
> For me the update fixed the compile for RPi4_64 ;-), can you share your
> defconfig(s)?

OK, I see what happened here. I just ran "make batman-adv" in an
existing tree without enabling the Kconfig options.

The problem is when batman adv protocol version 5 is not enabled:

BR2_PACKAGE_BATMAN_ADV=y
# BR2_PACKAGE_BATMAN_ADV_DEBUG is not set
# BR2_PACKAGE_BATMAN_ADV_NC is not set
# BR2_PACKAGE_BATMAN_ADV_BATMAN_V is not set

That's causing the "batadv_v_init" undefined errors.

Best regards,
Christian Stewart

>
> Regards,
> Peter
>
> >
> > thanks,
> > Christian
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
>


More information about the buildroot mailing list