LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-05-2006, 04:06 PM   #1
acoustic_epiphany
LQ Newbie
 
Registered: Aug 2006
Location: Oregon
Distribution: Debian etch
Posts: 10

Rep: Reputation: 0
Kernel compile woes.. system.map error...?


Hello all,

I recently started having an issue where I can't compile my kernel.
Happened with 2.6.17 that I had compiled many times before, and happens with the fresh 2.6.18 I just extracted.

I am running Debian testing on a Dell Inspiron 2650 with everything updated.

I get the following error whether I use make-kpkg or make:

Quote:
...

CC [M] lib/zlib_inflate/inflate.o
CC [M] lib/zlib_inflate/inftrees.o
CC [M] lib/zlib_inflate/inflate_syms.o
LD [M] lib/zlib_inflate/zlib_inflate.o
LD arch/i386/lib/built-in.o
CC arch/i386/lib/bitops.o
AS arch/i386/lib/checksum.o
CC arch/i386/lib/delay.o
AS arch/i386/lib/getuser.o
CC arch/i386/lib/memcpy.o
AS arch/i386/lib/putuser.o
CC arch/i386/lib/strstr.o
CC arch/i386/lib/usercopy.o
AR arch/i386/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
SYSMAP System.map
make: *** [vmlinux] Error 1
Any idea what could be causing this? Wish the error were a bit more verbose lol

Let me know if you need any more info.

Thank you,
Brian
 
Old 10-05-2006, 07:10 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I think that was one I had but that was in early 2.6 kernel. Check this and see if it works.
When in your configuration tool, goto General Setup > Configure standard kernel features
Make the following part of the kernel.
Load all symbols for debugging
Include all symbols in kallsyms
Do an extra kallsyms pass

I believe the last one is the needed one. Start compiling and see if it helps.

Brian
 
Old 10-06-2006, 01:25 AM   #3
acoustic_epiphany
LQ Newbie
 
Registered: Aug 2006
Location: Oregon
Distribution: Debian etch
Posts: 10

Original Poster
Rep: Reputation: 0
Ello and thanks for the reply!

When I enable those I error out with:
Quote:
...

CC arch/i386/lib/usercopy.o
AR arch/i386/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
No valid symbol.
make[1]: *** [.tmp_kallsyms1.S] Error 1
Thank you,
Brian
 
Old 10-06-2006, 06:44 AM   #4
acoustic_epiphany
LQ Newbie
 
Registered: Aug 2006
Location: Oregon
Distribution: Debian etch
Posts: 10

Original Poster
Rep: Reputation: 0
It seems to me that it would have to be an issue outside of the kernel config considering that the change I made to my previously compilable config was something like Video For Linux support.

A package that got upgraded maybe? I wish I knew when the issue first started so I could tell you what has been updated.

Just some notes. I'm doing lots of late night googling and finding nothing of use.
 
Old 10-06-2006, 03:18 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
No other ideas at the time. I know of the issue with DVB with the first release of 2.6.17 and a few other revision afterwards but I believe they have been resolved in 2.6.17.4 or.5 and later. If I think of something I will post back.

Brian
 
Old 10-06-2006, 03:43 PM   #6
acoustic_epiphany
LQ Newbie
 
Registered: Aug 2006
Location: Oregon
Distribution: Debian etch
Posts: 10

Original Poster
Rep: Reputation: 0
Around that time I was also suddenly unable to run "make xconfig" It gave me pages and pages of errors.
Ended up reinstalling gcc and it was fixed.

I think this was at the same time that I suddenly couldn't compile.

Perhaps there's just another package that got messed up somehow..

Thank you for your help,
Brian2
 
Old 10-06-2006, 11:46 PM   #7
acoustic_epiphany
LQ Newbie
 
Registered: Aug 2006
Location: Oregon
Distribution: Debian etch
Posts: 10

Original Poster
Rep: Reputation: 0
Fixed!

Still not sure what happened but it works.

Just for fun I ran:
apt-get install binutils gcc libc6-dev make --reinstall

And it works!

Still as confused as to what the problem was (one for the debian forum I guess..) but I can finally compile my kernel again!
 
  


Reply


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
Compile kernel: System.map? iaMMai Linux - Newbie 9 05-19-2005 08:05 AM
No system.map after compile sigma957 Slackware 4 05-09-2004 03:35 AM
Kernel System.map Scorched Linux - Newbie 4 03-02-2004 05:48 PM
Kernel compile error/system hangs, APIC/ACPI taids Linux - Hardware 14 08-23-2003 06:11 AM
Kernel compile error: System is too big for standalone boot from floppy... nutshell Linux - General 1 03-09-2002 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:00 AM.

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