Michael Slater wrote:
hi,
What was the configuration options you gave for glibc before
doing the make and are you sure that the path for
arm-linux-gcc,arm-linux-ld are set...
I set the path properly for arm-linux-gcc, arm-linux-ld, ....
and my configuration  for glibc was
CC=arm-linux-gcc ./configure arm-linux --build=i686-pc-linux-gnu                        --prefix=/usr/local/arm/glibc/arm-linux-glibc --enable-add-ons                            --with-headers=/usr/src/linux-2.2.13/linux/include
Is there anything more to set.
 
mike,

------Original Message------
From: Kuruwitage Nandana <[EMAIL PROTECTED]>
To: Philip Blundell <[EMAIL PROTECTED]>
Sent: March 29, 2000 6:37:34 AM GMT
Subject: Re: Error in BUILDING GLIBC

Philip Blundell wrote:

> In message <[EMAIL PROTECTED]>, root writes:
> >I am trying to build Glibc versions 2.1.1, 2.1.2, and 2.1.3 using
> >binutils-2.9.5.0.29 and egcs-1.1.2  cross compiler on i686-pc
> >but every time it failed with the same point with similer error like
>
> Are you sure this happens with glibc 2.1.3?  Earlier versions had this
problem
> but it should be fixed now.

yes it crashed with following error
I am using Binutils-2.9.5.0.29 , gcc-2.95.2, linux-2.2.13
_______________________________________________
: libdb_pic.a
arm-linux-gcc   -shared -Wl,-O1 -o libdb.so
-Wl,-dynamic-linker=/usr/local/arm/glibc/arm-linux-glibc/lib/ld-linux.so.2
-B../csu/ -Wl,--version-script=../libdb.map -Wl,-soname=libdb.so.3   -L..
-L../math -L../elf -L../nss -L../nis -L. -L../rt -L../resolv
-L../linuxthreads
-Wl,-rpath-link=..:../math:../elf:../nss:../nis:.:../rt:../resolv:../linuxthreads
-Wl,--whole-archive libdb_pic.a ../elf/interp.os ../libc.so
-Wl,--no-whole-archive
rm -f libdb.so.3.new
/bin/sh ../scripts/rellns-sh libdb.so libdb.so.3.new
mv -f libdb.so.3.new libdb.so.3
arm-linux-gcc -nostdlib -nostartfiles -o makedb
-Wl,-dynamic-linker=/usr/local/arm/glibc/arm-linux-glibc/lib/ld-linux.so.2
.../csu/crt1.o ../csu/crti.o `arm-linux-gcc --print-file-name=crtbegin.o`
makedb.o
libdb.so.3
-Wl,-rpath-link=..:../math:../elf:../nss:../nis:.:../rt:../resolv:../linuxthreads
.../libc.so.6 ../libc_nonshared.a -lgcc `arm-linux-gcc
--print-file-name=crtend.o`
.../csu/crtn.o
.../libc.so.6: undefined reference to `__ashldi3'
.../libc.so.6: undefined reference to `__divdi3'
.../libc.so.6: undefined reference to `__umoddi3'
.../libc.so.6: undefined reference to `__udivdi3'
.../libc.so.6: undefined reference to `__lshrdi3'
.../libc.so.6: undefined reference to `__moddi3'
.../libc.so.6: undefined reference to `__muldi3'
collect2: ld returned 1 exit status
make[1]: *** [makedb] Error 1
make[1]: Leaving directory `/opt/ARM/build/glibc-2.1.3/db2'
make: *** [db2/others] Error 2
____________________________________________________________________

I'm totally stuck with this. Any help grately appriciated.
Regards.

Nandana

>
>
> p.
>
> unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
> ++        Please use [EMAIL PROTECTED] for
++
> ++                        kernel-related discussions.
++

______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup

Reply via email to