View previous topic :: View next topic |
Author |
Message |
shimitar Guru
Joined: 23 Nov 2003 Posts: 320 Location: Italy, Torino
|
Posted: Wed May 30, 2007 12:09 pm Post subject: kernel: unable to compile? [SOLVED] |
|
|
I am trying to compile a gentoo-sources-2.6.20-gentoo-r4
I get the following error:
Code: |
ultra5 linux # make vmlinux
CHK include/linux/version.h
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `set -e; echo ' CHK include/linux/utsrelease.h'; mkdir -p include/linux/; if [ `echo -n "2.6.20-gentoo-r4 .file null .ident GCC:(GNU)4.1.1(Gentoo4.1.1) .section .note.GNU-stack" | wc -c ` -gt 64 ]; then echo '"2.6.20-gentoo-r4 .file null .ident GCC:(GNU)4.1.1(Gentoo4.1.1) .section .note.GNU-stack" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"2.6.20-gentoo-r4 .file null .ident GCC:(GNU)4.1.1(Gentoo4.1.1) .section .note.GNU-stack\";) < include/config/kernel.release > include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ] && cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp; then rm -f include/linux/utsrelease.h.tmp; else echo ' UPD include/linux/utsrelease.h'; mv -f include/linux/utsrelease.h.tmp include/linux/utsrelease.h; fi'
make: *** [include/linux/utsrelease.h] Error 2
|
gcc is 4.1.1, and i was able to compile the kernel successfully only one week ago! (after that, a emerge -evp world is the most significative thing happened)
Can you help me? _________________ Willy Gardiol
willy@gardiol.org
Last edited by shimitar on Thu May 31, 2007 7:30 am; edited 1 time in total |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed May 30, 2007 3:36 pm Post subject: |
|
|
CAn you post emerge --info, and also :
Code: |
# cd /usr/src
# ls -la
|
|
|
Back to top |
|
|
shimitar Guru
Joined: 23 Nov 2003 Posts: 320 Location: Italy, Torino
|
Posted: Thu May 31, 2007 7:29 am Post subject: |
|
|
Magically solved reemergind GCC 4.1.1 _________________ Willy Gardiol
willy@gardiol.org |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu May 31, 2007 11:35 am Post subject: |
|
|
Good ! |
|
Back to top |
|
|
|