24.10.0: ERROR: package/kernel/mac80211 failed to build (build variant: regular)

I have downloaded Openwrt 24.10.0 from as ZIP pack from Github.

Then I just did (luci in feeds.conf.default was commented due I don't need it):

./scripts/feeds update -a
./scripts/feeds install -a

make menuconfig
Then I simply select Filogic target and DEVICE_cetron_ct3003.

CONFIG_TARGET_mediatek_filogic=y
CONFIG_TARGET_mediatek_filogic_DEVICE_cetron_ct3003=y

Then I try to build the solution on clean state.
make -j14 world
And then I get an ERROR:
**ERROR: package/kernel/mac80211 failed to build (build variant: regular).**
So I tried do:
make -j1 V=s package/kernel/mac80211/compile
that shows me the huge amount of errors:
**ERROR: cfg80211: 'some function' exported twice. Previous export was in vmlinux**
Also I tried and disable CFG80211 in
make kernel_menuconfig
But then I have another:
**ERROR: 'struct net_device' has no member named 'ieee80211_ptr'**
CFG80211 is needed for wireless features, but also I have kmod-mac80211 and kmod-cfg80211 hard-switched on for Filogic in menuconfig.

CONFIG_PACKAGE_kmod-cfg80211=y
CONFIG_PACKAGE_kmod-mac80211=y
CONFIG_PACKAGE_MAC80211_DEBUGFS=y
CONFIG_PACKAGE_MAC80211_MESH=y

So I cannot switch it off.
But I can do something in kernel_menuconfig.
If no cfg80211 - I have error for the lack of the ieee80211_ptr, otherwise - exported twice
How can I resolve it?
Thanks.

Please try https://openwrt.org/docs/guide-developer/source-code/start#the_openwrt_source_code instead, especially the zip archives might not properly include symlinks and access rights.

Thanks. I found the problem.
I just created custom subtarget in my feed, but didn't include the 'parent' based platform (Mediatek) with related files.
Seems this caused the issue. After adding the parent target in feed the error was resolved.
Thanks.

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