-   Debian (
-   -   error recompiling 2.6.7 (2.6.6 recompiled fine) (

powadha 07-05-2004 02:16 PM

error recompiling 2.6.7 (2.6.6 recompiled fine)
I'm trying to recompile 2.6.7 (debian way) but I keep getting an error:

arch/i386/power/built-in.o(.text+0x263): In function `do_magic':
: undefined reference to `swsusp_pg_dir'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.6.7'
make: *** [stamp-build] Error 2

I'm not sure why this is happening since 2.6.6 went fine last time (never had trouble re/compiling kernels)

This is what I did (after apt-get install kernel-source-2.6.7)

make oldconfig
make xconfig (needed that to load xfs and ext2 instead of modules, since ext2 is /boot and all other partitions are xfs and I want to get rid of initrd)

make-kpkg clean

make-kpkg --revision=05072004 kernel_image

starts running but stalls somewhere along the line in the error posted above. I first thought it might have something to do with leaving out the option --initrd, but trying to compile with --initrd leaves me with the same error.....

Any clues?


peter_robb 07-05-2004 05:03 PM

It's dying when it gets to the software suspend options...
You should choose either ACPI or APM, not both...

powadha 07-05-2004 05:50 PM

I didn't have APM selected but you did point me in the right direction. I had to deselect the module ' software suspend (EXPERIMENTAL)' under ' power management support' which I had selected.
All wenft fine now! thanx

All times are GMT -5. The time now is 05:13 PM.