LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Kernel compile woes.. system.map error...? (https://www.linuxquestions.org/questions/linux-kernel-70/kernel-compile-woes-system-map-error-489777/)

acoustic_epiphany 10-05-2006 04:06 PM

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

Brian1 10-05-2006 07:10 PM

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

acoustic_epiphany 10-06-2006 01:25 AM

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

acoustic_epiphany 10-06-2006 06:44 AM

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.

Brian1 10-06-2006 03:18 PM

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

acoustic_epiphany 10-06-2006 03:43 PM

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

acoustic_epiphany 10-06-2006 11:46 PM

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!


All times are GMT -5. The time now is 04:32 AM.