package/rtl8812au-aircrack-ng: fix build failure with powerpc
PATCH 1/1 package/rtl8812au-aircrack-ng: fix build failure with powerpc
Not all Linux defconfigs have CONFIG_INET enabled and this results in:
LD [M] 88XXau.o
MODPOST Module.symvers
ERROR: modpost: "register_inetaddr_notifier" [88XXau.ko] undefined!
ERROR: modpost: "unregister_inetaddr_notifier" [88XXau.ko] undefined!
So let's add CONFIG_INET to LINUX_CONFIG_FIXUPS.
Fixes:
https://autobuild.buildroot.org/results/6b4f17518e049a91a36be74c78cb8cde89b73bb3/
--- package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk | 1 + 1 file changed, 1 insertion(+)
package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk +1 -0
@@ -25,6 +25,7 @@ RTL8812AU_AIRCRACK_NG_MODULE_MAKE_OPTS = \ define RTL8812AU_AIRCRACK_NG_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_INET) $(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS) $(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211) $(call KCONFIG_ENABLE_OPT,CONFIG_USB_SUPPORT)
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines · Giulio Benetti
Not all Linux defconfigs have
CONFIG_INETenabled and this results in:
LD [M] 88XXau.o
MODPOST Module.symvers
ERROR: modpost: "register_inetaddr_notifier" [88XXau.ko] undefined!
ERROR: modpost: "unregister_inetaddr_notifier" [88XXau.ko] undefined!
Quoted 6 lines
So let's add
CONFIG_INETtoLINUX_CONFIG_FIXUPS.Fixes:
https://autobuild.buildroot.org/results/6b4f17518e049a91a36be74c78cb8cde89b73bb3/Signed-off-by Giulio Benetti <[email protected]>
I've researched which commit introduced the issue, and amended the commit message accordingly. Applied to master with those changes.
Thanks!
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedIn reply of:
Quoted 6 lines
Not all Linux defconfigs have
CONFIG_INETenabled and this results in:
LD [M] 88XXau.o
MODPOST Module.symvers
ERROR: modpost: "register_inetaddr_notifier" [88XXau.ko] undefined!
ERROR: modpost: "unregister_inetaddr_notifier" [88XXau.ko] undefined!
Quoted 6 lines
So let's add
CONFIG_INETtoLINUX_CONFIG_FIXUPS.Fixes:
https://autobuild.buildroot.org/results/6b4f17518e049a91a36be74c78cb8cde89b73bb3/Signed-off-by Giulio Benetti <[email protected]>
Applied to 2025.02.x, 2026.08.x. Thanks
Quoted 9 lines
--- package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk | 1 + 1 file changed, 1 insertion(+)package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk +0
-0
package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk RTL8812AU_AIRCRACK_NG_MODULE_MAKE_OPTS = \ · line 31
Quoted 7 lines
package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk +1
-0@@ -25,6 +25,7 @@ RTL8812AU_AIRCRACK_NG_MODULE_MAKE_OPTS = \ define RTL8812AU_AIRCRACK_NG_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_INET) $(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS) $(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211) $(call KCONFIG_ENABLE_OPT,CONFIG_USB_SUPPORT)
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot