Operating System - Linux
1825801 Members
2220 Online
109687 Solutions
New Discussion

Problem during kernel compilation od Debian Sarge

 
debian111
Regular Advisor

Problem during kernel compilation od Debian Sarge

Hi all,
I compilled kernel this morning on Debian sarge, after issuing make xconfig and setting neccessary parameters I saved configuration and returned to root shell. Then I as root issued
make-kpkg kernel-image
I have to mention that I compilled kernel before this time.

In this case I got output like below and I am totally confused and I do not know what to do next in order to avoid this

debian:/usr/local/src/linux-2.6.17.3# make-kpkg kernel-image
/usr/bin/make \
ARCH=i386 oldconfig
make[1]: Entering directory `/usr/local/src/linux-2.6.17.3'
scripts/kconfig/conf -o arch/i386/Kconfig
#
# using defaults found in .config
#
.config:34:warning: trying to assign nonexistent symbol MELAN
.config:51:warning: trying to assign nonexistent symbol X86_PGE
.config:80:warning: trying to assign nonexistent symbol PCI_NAMES
.config:103:warning: trying to assign nonexistent symbol KCORE_ELF

.config:1858:warning: trying to assign nonexistent symbol BLUEZ_HCIVHCI
*
* Linux Kernel Configuration
*
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
*
* General setup
*
Local version - append to kernel release (LOCALVERSION) [] (NEW)


As you can see it offers me to configure kernel again, but I did it once before and I saved right configuration.
So question is why is this happening and what to do in order to correct this.

Thanks in advance

2 REPLIES 2
Matti_Kurkela
Honored Contributor

Re: Problem during kernel compilation od Debian Sarge

"make-kpkg kernel-image" always runs "make oldconfig" first. If your kernel configuration is correct, it should go through with no problems.

"make oldconfig" goes through the .config file and ensures that all configuration options are set to some value. If it finds options with totally un-set values, it stops and allows the user to choose.

Sounds like your kernel .config file got corrupted somehow.
MK
debian111
Regular Advisor

Re: Problem during kernel compilation od Debian Sarge

thanks for answer,
I did kernel compilation as before, and now because of some reason I got output as in my prevous post. I do not what to and what is cause for behaviour like that. I configured kernel and I have configuration file
.config-2.6.17.3 and I think it is normal for make-kpkg to use this config folder in order to compile new kernel. But as you said make-kpkg first run " make oldconfig " and there is in my
/linux-2.6.17.3 directory also .config file and I did not change it.

Every suggesstion is welcome.

Thank you