Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-05-2004, 01:16 PM   #1
Registered: Nov 2003
Location: Utrecht
Distribution: Debian SID
Posts: 651

Rep: Reputation: 31
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?


Last edited by powadha; 07-05-2004 at 01:50 PM.
Old 07-05-2004, 04:03 PM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
It's dying when it gets to the software suspend options...
You should choose either ACPI or APM, not both...
Old 07-05-2004, 04:50 PM   #3
Registered: Nov 2003
Location: Utrecht
Distribution: Debian SID
Posts: 651

Original Poster
Rep: Reputation: 31
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lilo error after recompiling xp1o1d5 Linux - General 12 07-26-2006 10:50 AM
Booting Error After Recompiling Kernel springshades Linux - General 3 05-02-2005 04:21 AM
Kernel recompiling error on SuSE 9.1 yuun Linux - Software 2 09-12-2004 10:44 PM
recompiled kernel again get this error when NVIDIA build.. purpleburple Linux - General 4 03-19-2003 08:39 PM
recompiling kernel goes fine, problem with make modules fritex Linux - Software 4 11-07-2002 10:17 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration