Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CrossCompiling glibc. Error of Mips-headers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
racerxdl
n00b
n00b


Joined: 13 Apr 2006
Posts: 13

PostPosted: Sun May 07, 2006 4:29 pm    Post subject: CrossCompiling glibc. Error of Mips-headers Reply with quote

Hi, when i compiling cross-mips-unknown-linux-gnu/glibc i get a error from Mips-Headers,

Quote:
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel header
files. To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.

!!! ERROR: cross-mips-unknown-linux-gnu/glibc-2.3.6-r3 failed.
Call stack:
ebuild.sh, line 1532: Called dyn_compile
ebuild.sh, line 929: Called src_compile
glibc-2.3.6-r3.ebuild, line 1224: Called src_compile
glibc-2.3.6-r3.ebuild, line 1235: Called toolchain-glibc_src_compile
glibc-2.3.6-r3.ebuild, line 249: Called glibc_do_configure 'linuxthreads'
glibc-2.3.6-r3.ebuild, line 972: Called die

!!! failed to configure glibc
!!! If you need support, post the topmost build error, and the call stack if relevant.



But the Mips-Headers is 2.6.15...
I Installed the Mips headers like this:
crossdev -t mips-unknown-linux-gnu

and its break on the glibc with same error
and i tryied manually
emerge cross-mips-unknown-linux-gnu/mips-headers

and i get the same error...

Someone can help me in this problem???
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon May 08, 2006 5:15 am    Post subject: Reply with quote

That can't be right, something's up there.

What version of crossdev are you using? Have you tried different versions of glibc? I find 2.3.5-r3 works.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
racerxdl
n00b
n00b


Joined: 13 Apr 2006
Posts: 13

PostPosted: Wed May 10, 2006 5:02 pm    Post subject: Reply with quote

No i didnt tryied other versions of glibc, i will try:


Crossdev Version: 0.9.13
GCC version: 3.3.6
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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