Summary: | crossdev and mips error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio C. <ceca_89> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
MIPS glib log
MIPS compiling info New GLIBC error .. |
Description
Fabio C.
2006-11-03 12:43:37 UTC
post the specified log as attachments ... if they are large, compress them Created attachment 101164 [details]
MIPS glib log
Created attachment 101165 [details]
MIPS compiling info
Done well, that error is pretty clear forcing kernel headers to 2.4 and then trying to build glibc with nptl obviously wont work And so which glibc version I would have to use? I've try again with: crossdev --kernel 2.4.28-r1 -t mips --libc 2.3.2-r12 and this time the error are other (see the attachment). Created attachment 101492 [details]
New GLIBC error ..
2.3.2 is not supported only 2.3.6-r5 and newer is (In reply to comment #10) > 2.3.2 is not supported > > only 2.3.6-r5 and newer is > But with that version: 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-r5 failed. .. mips-headers-2.4.28-r1 is not supported sucks huh ;) Let me put it this way. What is the reason you are trying to build against 2.4 kernel in the first place? Becouse i try to build binaries for my router with kernel 2.4 glibc will work fine if you build it against 2.6 headers ... it contains all the backwards compat support to run on 2.4 kernels Which means you are wasting your time. Either use uClibc based stages (Gentoo/embedded project), or something actually suitable for router, like OpenWRT or snapgear. Of course, another alternative would be to get 2.6 kernel on your machine... |