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: *** [.tmp_vmlinux1] Error 1
make: 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 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 --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.....
It's dying when it gets to the software suspend options...
You should choose either ACPI or APM, not both...
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 02:19 AM.|