Re: Cannot compile kernel: problem with EXPORT_SYMBOL and EXPORT_SYMBOL_GPL symbols
On Fri, Feb 15, 2013 at 07:26:02PM +0100, Dmitry Katsubo wrote:
> Dear Debian community,
>
> I am trying to recompile default kernel with one just option changed:
>
> -CONFIG_NR_CPUS=32
> +CONFIG_NR_CPUS=4
Why?
> I get problems with symbols on all modules (the error log is really long):
Yes, because you changed the kernel module ABI without changing
the binary package name.
[...]
> How can I overcome this problem? Thanks in advance.
[...]
If you really think it's worth doing this (and you really want to
use the official package as a basic, rather than 'make deb-pkg'), you
have two basic options:
1. Add a distinguishing string after the ABI number in
debian/config/defines. Please do not just change it to 5 as this
could be confused with an official package name.
2. Define a new 'flavour' with this configuration change. Each
flavour has its own ABI. You'll need to edit
debian/config/i386/defines to add the flavour name and define
it to use an extra configuration file which overrides
CONFIG_NR_CPUS.
Ben.
--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus
Reply to: