[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "make oldconfig" fails building 2.6.8



Daniel McBrearty wrote:
Hi

I am trying to make a new build of 2.6.8 kernel, don't want to lose all my
previous configuration ...

You can always make a backup copy of the file ".config" in your kernel
source directory. Furthermore, if you build your custom kernels with
"make-kpkg" and install them with "dpkg -i", then there will be a copy
of the configuration in the /boot directory, named "config-xxx" with
"xxx" being the output of "uname -r" for the running kernel.

roomatthetop:/usr/src/kernel-source-2.6.8# make oldconfig
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu'
follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was
here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [oldconfig] Error 2

Any ideas what can cause this? It's been a while since the last build, but I
don't see why this should happen ...?

That might be related to this bug; there seems to be a patch available:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323059


Regards,
            Florian



Reply to: