Skip to contentSkip to conversation

package/rtl8812au-aircrack-ng: fix build failure with powerpc

PATCH Applied Giulio Benetti 2 participants 3 messages Jan 4 – Sep 25

lore
Share & tools
lore
#0 lore raw

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
index 1308508e00..7981a382b1 100644
@@ -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
#1 lore raw
Quoted 6 lines · Giulio Benetti

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!

Quoted 6 lines

So let's add CONFIG_INET to LINUX_CONFIG_FIXUPS.

Fixes:
https://autobuild.buildroot.org/results/6b4f17518e049a91a36be74c78cb8cde89b73bb3/

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
#2 lore raw
In reply to Giulio Benetti

In reply of:

Quoted 6 lines

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!

Quoted 6 lines

So let's add CONFIG_INET to LINUX_CONFIG_FIXUPS.

Fixes:
https://autobuild.buildroot.org/results/6b4f17518e049a91a36be74c78cb8cde89b73bb3/

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
index 1308508e00..7981a382b1 100644

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