linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* cdk building
@ 2000-03-11  8:08 Quan Qu
  2000-03-11 18:24 ` Dan A. Dickey
  0 siblings, 1 reply; 5+ messages in thread
From: Quan Qu @ 2000-03-11  8:08 UTC (permalink / raw)
  To: linuxppc-embedded


hello,everybody.I am new to this mail-list.

I am using Mr. wolfgang 's solution below on Redhat6.1  to build CDK.

>Summary: I've put the scripts I'm using to build the PPC Cross
>Development Kit for the MPC8xx CPUs on
>
>	ftp://ftp.denx.de/pub/LinuxPPC/usr/src/CDK.tar.gz
>
>or URL where I got the sources from:
>
>ftp://ftp.valinux.com/pub/support/hjl/binutils/binutils-2.9.5.0.22.t
ar.bz2
>ftp://ftp.sunet.se/pub/gnu/egcs/releases/gcc-2.95.2/gcc-core-2.95.2.
tar.bz2
>ftp://ftp.sunet.se/pub/gnu/egcs/releases/gcc-2.95.2/gcc-2.95.2.tar.b
z2
>ftp://ftp.sunet.se/pub/gnu/glibc/glibc-2.1.2.tar.gz
>ftp://ftp.gwdg.de/pub/linux/glibc/2.1.2/glibc-crypt-2.1.2.tar.gz
>ftp://ftp.sunet.se/pub/gnu/glibc/glibc-linuxthreads-2.1.2.tar.gz
>ftp://linuxppc.cs.nmt.edu/pub/mirror/PPC/embedded/mpc8xx-2.2.13.tgz
>	(renamed to linux-2.2.13.tar.gz)

I copy the downloaded gzip source to the /LinuxPPC/usr/src/tarballs
,and modify ENVIRONMENT.
then do:
make binutils
make egcs-core
make linux
make glibc
make egcs

everything go smoothly until I reach the glibc. I got linker error:
----------------------------------------------------------
a - elf/dl-addr.os
a - elf/dl-profstub.os
a - elf/dl-origin.os
: /LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/libc_pic.a
powerpc-linux-gcc   -nostdlib -nostartfiles -r -o
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/elf/librtld.os '-Wl,-('
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/elf/dl-allobjs.os
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/libc_pic.a -lgcc '-Wl,-)'
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/libc_pic.a(init-first.os): In
function
`_dl_start':
init-first.os(.text+0x128): multiple definition of `_dl_start'
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/elf/dl-allobjs.os(.text+0x680):
first
defined here
/LinuxPPC/CDK/powerpc-linux/bin/ld: Warning: size of symbol
`_dl_start' changed
from 568 to 48 in init-first.os
collect2: ld returned 1 exit status
gmake[4]: *** [/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/elf/librtld.os]
Error 1
----------------------------------------------------------
it seems that /LinuxPPC/CDK/powerpc-linux/bin/ld can not handle
the dynamic link libary.Does anyone have the same failure ?
and any suggestion? thanks


----
Quan Qu  ququan@cityfujisawa.ne.jp

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-03-12 10:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-11  8:08 cdk building Quan Qu
2000-03-11 18:24 ` Dan A. Dickey
2000-03-12  6:29   ` Quan Qu
2000-03-12 10:21     ` Wolfgang Denk
2000-03-12 10:54       ` Quan Qu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).