Linux source for Allwinner/Boxchip F20 (sun3i), A10 (sun4i), A12/A13 (sun5i), A20 (sun7i) SoCs -- You can visit it a chat at https://gitter.im/dan-and/linux-sunxi --
Building modules, stage 2.
MODPOST 1154 modules
WARNING: drivers/net/wireless/bcmdhd/bcmdhd: 'bcmsdh_probe' exported twice. Previous export was in drivers/net/wireless/bcm4330/bcm4330.ko
WARNING: drivers/net/wireless/bcmdhd/bcmdhd: 'bcmsdh_remove' exported twice. Previous export was in drivers/net/wireless/bcm4330/bcm4330.ko
ERROR: "modver_version_show" [drivers/staging/rts5139/rts5139.ko] undefined!
/home/dryce/Downloads/linux-sunxi-dan-3.4.106/scripts/Makefile.modpost:91: recipe for target 'modpost' failed
make[1]: * [__modpost] Error 1
Makefile:1098: recipe for target 'modules' failed
make: * [modules] Error 2
The uImage creates properly, but the modules fail. I am using gcc-linaro-arm-linux-gnueabihf toolchain to crosscompile on Arch Linux x86-64. I just tried to build the current 3.4.111 modules and it fails with the same error. The uImage builds normally.
UPDATE: Looks like running:
sed -i s/CONFIG_RTS5139=m/CONFIG_RTS5139=n/ .config
resolves this issue and allows the modules to build properly.
Building modules, stage 2. MODPOST 1154 modules WARNING: drivers/net/wireless/bcmdhd/bcmdhd: 'bcmsdh_probe' exported twice. Previous export was in drivers/net/wireless/bcm4330/bcm4330.ko WARNING: drivers/net/wireless/bcmdhd/bcmdhd: 'bcmsdh_remove' exported twice. Previous export was in drivers/net/wireless/bcm4330/bcm4330.ko ERROR: "modver_version_show" [drivers/staging/rts5139/rts5139.ko] undefined! /home/dryce/Downloads/linux-sunxi-dan-3.4.106/scripts/Makefile.modpost:91: recipe for target 'modpost' failed make[1]: * [__modpost] Error 1 Makefile:1098: recipe for target 'modules' failed make: * [modules] Error 2
The uImage creates properly, but the modules fail. I am using gcc-linaro-arm-linux-gnueabihf toolchain to crosscompile on Arch Linux x86-64. I just tried to build the current 3.4.111 modules and it fails with the same error. The uImage builds normally.
UPDATE: Looks like running:
sed -i s/CONFIG_RTS5139=m/CONFIG_RTS5139=n/ .config
resolves this issue and allows the modules to build properly.