linux-mips
[Top] [All Lists]

Re: Building GLIBC 2.3.4 on MIPS

To: macro@linux-mips.org
Subject: Re: Building GLIBC 2.3.4 on MIPS
From: "Daniel Laird" <danieljlaird@hotmail.com>
Date: Mon, 11 Apr 2005 16:33:25 +0000
Cc: libc-alpha@sources.redhat.com, linux-mips@linux-mips.org
In-reply-to: <Pine.LNX.4.61L.0504111659410.31547@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
I am using crosstool to help me build!

I have a problem when i compile that it seems to include a file sysdeps/mips/mips32/Makefile. This has the option -mabi=32. When it does the install-headers target in crosstool it passes this flag to the host compiler. This causes an error.

I get around this my removing this flag for the install header target and then putting it back for the rest of the crosstool script.

this results in a complete toolchain and a 2.6.11.6 kernel which is running on my target.

I then try to build busybox1.00 and i get the error
In file included from /home/laird/ccm_wa/ipstb/ipstb_laird/ipstb/build/packages/busybox-1.00/libbb/module_syscalls.c:26: /opt/nxlinux/gcc/gcc-3.4.3-glibc-2.3.4/lib/gcc/mipsel-linux-gnu/3.4.3/../../../../mipsel-linux-gnu/sys-include/sys/syscall.h:39:27: bits/syscall.h: No such file or directory make[1]: *** [/home/laird/ccm_wa/ipstb/ipstb_laird/ipstb/build/packages/busybox-1.00/libbb/module_syscalls.o] Error 1 make[1]: Leaving directory `/home/laird/ccm_wa/ipstb/ipstb_laird/ipstb/build/packages/busybox-1.00'

When i check it is missing.

I am presuming my hack to get the install-headers target may be breaking things but how else do i get round this.

Are you guys using crosstool?

Thanks for the help



<Prev in Thread] Current Thread [Next in Thread>