dan-and / linux-sunxi

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 --
http://linux-sunxi.org/Linux
Other
17 stars 17 forks source link

Error Compiling Modules For 3.4.107 #23

Closed dmryce closed 8 years ago

dmryce commented 8 years ago

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.

dan-and commented 8 years ago

I will have a look.

dan-and commented 8 years ago

I can not follow your issue. It works just fine on my systems and the module is even included in my tar builds ( http://dl.danand.de ).