Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel: unable to compile? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
shimitar
Guru
Guru


Joined: 23 Nov 2003
Posts: 320
Location: Italy, Torino

PostPosted: Wed May 30, 2007 12:09 pm    Post subject: kernel: unable to compile? [SOLVED] Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed May 30, 2007 3:36 pm    Post subject: Reply with quote

CAn you post emerge --info, and also :
Code:

# cd /usr/src
# ls -la
Back to top
View user's profile Send private message
shimitar
Guru
Guru


Joined: 23 Nov 2003
Posts: 320
Location: Italy, Torino

PostPosted: Thu May 31, 2007 7:29 am    Post subject: Reply with quote

Magically solved reemergind GCC 4.1.1
_________________
Willy Gardiol
willy@gardiol.org
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu May 31, 2007 11:35 am    Post subject: Reply with quote

Good !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum