Cannot compile kernel: problem with EXPORT_SYMBOL and EXPORT_SYMBOL_GPL symbols
Dear Debian community,
I am trying to recompile default kernel with one just option changed:
-CONFIG_NR_CPUS=32
+CONFIG_NR_CPUS=4
I get problems with symbols on all modules (the error log is really long):
> LD [M] sound/usb/usx2y/snd-usb-usx2y.ko
> make[2]: Leaving directory `/home/dmitry/packages/kernel/linux-3.2.35/debian/build/build_i386_none_686-pae'
> python debian/bin/buildcheck.py debian/build/build_i386_none_686-pae i386 none 686-pae
> ABI has changed! Refusing to continue.
>
> Added symbols:
> bprm_change_interp module: vmlinux, version: 0x73a5ca09, export: EXPORT_SYMBOL
> ieee80211_get_mesh_hdrlen module: net/wireless/cfg80211, version: 0xa197b1ff, export: EXPORT_SYMBOL
> kernel_stack_pointer module: vmlinux, version: 0x79a71c48, export: EXPORT_SYMBOL_GPL
> snd_card_unref module: sound/core/snd, version: 0x549e0966, export: EXPORT_SYMBOL
>
> Changed symbols:
> DAC1064_global_init module: drivers/video/matrox/matroxfb_DAC1064, version: 0x8a6c84a0 -> 0x145d0e0b, export: EXPORT_SYMBOL
> ...
How can I overcome this problem? Thanks in advance.
P.S.
There are many reports on similar problem in this maillist, but the the
ones I have looked through are connected with additional patches
applied. In my case there are extra patches: kernel package is used as
provided in repository, I just want to tune the config.
* Linux kernel 3.2.0-4, sources are installed with standard
apt-get source linux-image-3.2.0-4-686-pae
* After all preparations, kernel was build for one target with
fakeroot make -f debian/rules.gen binary-arch_i386_none_686-pae
* Kernel compiles OK with default config.
--
With best regards,
Dmitry
Reply to: