Kernel compile fail on opensuse 11.0

Hi All,

I tried to compile kernel 2.6.15 & 2.6.20 on openSuse 11.0
but it is failing.But I can successfully compile kernel 2.6.25 & above using default config…What may bethe problem? Is there any env variable/something missing as suse11 itself using 2.6.25 kernel.

If any body point out what may be the problem and how to use suse v11 for older kernel compilation ,it will be very helpfull.

Thanks in advance,


I guess it’s the new gcc4.3. They made some major changes (especially in the include files) so that some older software doesn’t compile anymore without adapting them to gcc4.3. GCC 4.3 Release Series — Porting to the New Tools - GNU Project - Free Software Foundation (FSF)

hope this helps

I found somewhat strange problem also.
I can compile and install kernel source on both laptop and desktop.
However, compiling and installing on desktop is flawless. On laptop, after installation, something always not works right.

for test purposes, on both machines, I made:

  1. make cloneconfig
  2. make menuconfig and changed processor type
  3. make + make install

desktop: perfect
laptop: series of different unknown problems. Sometimes sound doesnt work, sometime compiz… very very strange.

for @nabendu

I would advise you to use default suse’s kernel. Just for test, do as I did:

  1. boot machine from default preinstalled kernel.
  2. go to source and “make cloneconfig”
  3. make menuconfig, and just change processor kind and type
  4. make
  5. make install

and let us know how it went.