cdk building

Quan Qu ququan at
Sat Mar 11 19:08:31 EST 2000

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
>or URL where I got the sources from:
>	(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/libc_pic.a -lgcc '-Wl,-)'
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/libc_pic.a(init-first.os): In
init-first.os(.text+0x128): multiple definition of `_dl_start'
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 at

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list