On Mon, Oct 23, 2000 at 08:21:34AM +0800, Qingbo Wu wrote:
> Our university bought Crystal company CL-PS7500FE evaluation
> board, and I want to build linux kernel and arm applications.
> I do the following things,
> 
> download binutils-2.10
> download gcc-2.95.2, I could not find gcc-2.95.3

That's right, gcc-2.95.3 is not yet released. 

> download glibc-2.1.3
> 
> With your help, I can make binutils and gcc ok.
> I can make the linux kernel ok.
> 
> Then I want to make applications.
> 
> When I make glibc-2.1.3, I meet the following problem,
> make  -C db others
> make[1]: Entering directory `/root/tmp/glibc-2.1.3/db'
> arm-linux-gcc   -shared -Wl,-O1 -o libdb1.so  -Wl,-dynamic-linker=/usr/local/arm-linu
> x/lib/ld-linux.so.2 -B../csu/  -Wl,-soname=libdb1.so.2  -Wl,-soname=libdb.so.2 -L.. -
> L../math -L../elf -L../nss -L../nis -L../db2 -L../rt -L../resolv -L../linuxthreads -W
> 
>l,-rpath-link=..:../math:../elf:../nss:../nis:../db2:../rt:../resolv:../linuxthreads-Wl,
> --whole-archive libdb1_pic.a ../elf/interp.os ../libc.so
> /usr/local/lib/gcc-lib/arm-linux/2.95.2/libgcc.a(__dummy.o): In function `__dummy':
> __dummy.o(.text+0x0): multiple definition of `__dummy'
> /usr/local/lib/gcc-lib/arm-linux/2.95.2/libgcc.a(__dummy.o)(.text+0x0): first defined
>  here
> 
> 
> I do not know why? Perhaps the gcc I make is not right?

Are you sure you followed Chriss Rutter's description at
http://www.inkvine.fluff.org/~chris/arm-tools.html ?

> If you knows, please help me. Thanks in advance!

Well, the usual story applies: if you can't get the cross compiler
compiled, don't bother and download one of the precompiled cross
compilers available.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to