This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Error in glibc make
- From: kleine-budde at gmx dot de (Marc Kleine-Budde)
- To: "Manoj Verma, Noida" <manojv at noida dot hcltech dot com>
- Cc: crossgcc at sources dot redhat dot com, libc-alpha at sources dot redhat dot com,kai dot ruottu at luukku dot com, mingw-msys at lists dot sourceforge dot net
- Date: Sat, 25 Oct 2003 12:27:11 +0200
- Subject: Re: Error in glibc make
- References: <E04CF3F88ACBD5119EFE00508BBB21210CF5BC16@exch-01.noida.hcltech.com>
On Wed, Oct 22, 2003 at 07:47:56PM +0530, Manoj Verma, Noida wrote:
> I have completed insatlling the GLIBC with some hacking.
> I also completed building the final GCC.
>
> But while compiling a sample file, sample.c I am getting the following
> error:
>
> c:\MinGW\msys\home\manojv\cinstall_arm\bin\..\lib\gcc-lib\arm-linux\3.2.2\..
> \..\..\..\arm-linux\bin\ld.exe: cannot find /lib/libc.so.6
>
> When I do:
> $ arm-linux-ld --start-group -lc --end-group --verbose
>
> I see:
> ==================================================
> attempt to open c:/MinGW/msys/home/manojv/cinstall_arm/arm-linux/lib/libc.so
> succeeded
> opened script file
> c:/MinGW/msys/home/manojv/cinstall_arm/arm-linux/lib/libc.so
> opened script file
> c:/MinGW/msys/home/manojv/cinstall_arm/arm-linux/lib/libc.so
> attempt to open /lib/libc.so.6 failed
> attempt to open /lib/libc.so.6 failed
> attempt to open /lib/libc.so.6 failed
> c:\MinGW\msys\home\manojv\cinstall_arm\bin\arm-linux-ld.exe: cannot find
> /lib/libc.so.6
> ==================================================
Look at the c:/MinGW/msys/home/manojv/cinstall_arm/arm-linux/lib/libc.so
it is a text file, remove the absoloute path from the GROUP statement.
On my Linux Host it looks like this:
-----------------------------------------
GROUP ( libc.so.6 libc_nonshared.a )
-----------------------------------------
HTH - Marc
BTW: rmk4 is outdated try 2.4.19-rmk7
--
<Dan> Not at all. "D'oh" is one of my favorite words.