Build error for C7 - v21.02.0-rc1

Hi forum experts,

building v21.02.0-rc1 for C7 - unfortunately I am getting errors....

/build_dir/target-mips_24kc_musl/linux-ath79_generic/xtables-addons-2.14/extensions/LUA/xt_LUA_target.c:82:7: error: implicit declaration of function 'skb_make_writable'; did you mean 'skb_try_make_writable'? [-Werror=implicit-function-declaration]
  if (!skb_make_writable(pskb, pskb->len))
       ^~~~~~~~~~~~~~~~~
       skb_try_make_writable

Not sure where to go... what is missing?
Found this one
https://github.com/openwrt/packages/issues/11484
but it is very old.

BR, Frood

Debian Bullseye has xtables-addons at 3.13; so yeah that looks ancient. First thing I'd try is an up todate version. Those should work with kernel 5.4.

Not sure about that....
It is at 3.9-1 ..... updating has not improved the situation.

Well googling both functions gave me this:

So maybe try skb_ensure_writable instead of skb_try_make_writable?

There is tons of further errors…
Build for C7 is postponed.
I am just wondering how the Openwrt buildbot is doing….

Well I am at a loss how you are building from a 21.02 tree yet manage to use xtables-addons 2.x if that old PR you linked to already talks about 3.9. Sounds like something is messed up on your end. Are you using the right package feeds? Those for 21.02?

This is a really good point.
There are build scrips running (not moved to buildbot yet) and there is a

cp -p ../feeds.conf .

which was including a reference to the 19.07 feeds...
....whereas I do not exactly remember why this is there. maybe because there is a

src-link mypackages

Haha :grinning_face_with_smiling_eyes:

Very cool! Thanks for pointing out to the feeds topic!
This also explains lots of other feeds related error messages. OMG....

Cheers, Frood

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.