Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: klibc: Cross compiler error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CPUFreak91
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2005
Posts: 110
Location: Mars

PostPosted: Mon Dec 18, 2006 4:58 pm    Post subject: SOLVED: klibc: Cross compiler error Reply with quote

Ah fixed it! I emerge GCC 3, un-merged GCC 4 and then re-emerged GCC 4 to install another program. I gave klibc a shot and it worked fine.

When I try to emerge klibc (I'm trying to get gensplash to work) I get this error. Could this be because my GCC optimization flag is set to -O5? If so how can I fix this and what should I re-emerge after I lower the optimization flag?

Code:
* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Found kernel object directory:
*     /lib/modules/2.6.18-gentoo/build
* Found sources for kernel version:
*     2.6.18-gentoo
>>> Unpacking source...
>>> Unpacking klibc-1.2.1.tar.bz2 to /var/tmp/portage/klibc-1.2.1-r2/work

* It does not look like your cross-compiler is setup properly!

!!! ERROR: dev-libs/klibc-1.2.1-r2 failed.
Call stack:
ebuild.sh, line 1539:   Called dyn_unpack
ebuild.sh, line 711:   Called src_unpack
klibc-1.2.1-r2.ebuild, line 68:   Called die

!!! It does not look like your cross-compiler is setup properly!
!!! If you need support, post the topmost build error, and the call stack if relevant.


_________________
All Your Base Are Belong To Us!!! chown -r us ./base
"After three days without programming, life becomes meaningless.'' -- Tao of Programming Book 2


Last edited by CPUFreak91 on Sun Dec 24, 2006 5:03 am; edited 1 time in total
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Sun Dec 24, 2006 2:27 am    Post subject: Reply with quote

fails for me too and yes i searched the forums and no no answer :(
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
CPUFreak91
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2005
Posts: 110
Location: Mars

PostPosted: Sun Dec 24, 2006 5:03 am    Post subject: Reply with quote

Ah fixed it! I emerge GCC 3, un-merged GCC 4 and then re-emerged GCC 4 to install another program. I gave klibc a shot and it worked fine. A re-merge of GCC 4 might fix your problem, someguy.
_________________
All Your Base Are Belong To Us!!! chown -r us ./base
"After three days without programming, life becomes meaningless.'' -- Tao of Programming Book 2
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Mon Dec 25, 2006 1:06 am    Post subject: Reply with quote

Ill try that on my laptop in a bit :)
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
hadees
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 137

PostPosted: Wed Dec 27, 2006 3:10 am    Post subject: Reply with quote

I was having the same problem and tried servel other fixes people said worked on the boards but this last one finally work. I was somewhat apprehensive screwing with GCC but it worked. I would love to know why this worked though.
Back to top
View user's profile Send private message
squarhouse
n00b
n00b


Joined: 08 Oct 2006
Posts: 5

PostPosted: Sat May 12, 2007 12:37 pm    Post subject: Reply with quote

Yea, i'd the same problem....Solved for me too
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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