[uClibc]m68k-linux-toolchain
Enrico Benetti [BW]
enrico.benetti at bluewind.it
Tue Feb 11 13:18:44 UTC 2003
Hi all!
I'm trying to get a working toolchain for coldfire (5272) starting from
uclibc.org sources (not from uclinux.org site) to finally have a
standard Linux kernel running.
Has anyone succedeed doing this goal?
I've modified the makefile with ARCH=m68k and HASMMU=false,
then "make 2>&1".
At the end the result is these errors:
BUILD_DIR=\"/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/uClibc\" -I. -I./m68k -I../libdl -c ldso.c -o ldso.o
In file included from ldso.c:108:
ld_syscall.h: In function `_dl_getpid':
ld_syscall.h:133: `__NR_getpid' undeclared (first use in this
function)
ld_syscall.h:133: (Each undeclared identifier is reported only once
ld_syscall.h:133: for each function it appears in.)
ldso.c: In function `_dl_boot':
ldso.c:227: warning: assignment from incompatible pointer type
make[3]: *** [ldso.o] Error 1
make[3]: Leaving directory `/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/uClibc/ldso/ldso'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/uClibc/ldso'
make[1]: *** [_dir_ldso] Error 2
make[1]: Leaving directory `/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/uClibc'
make: *** [/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/uClibc/lib/libc.a] Error 2
If I use binutils 2.12.1 instead of 2.13.2.1 I get another set of errors:
gcc -DHAVE_CONFIG_H -I. -I/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/binutils-2.12.1/ld -I. -D_GNU_SOURCE -I. -
I/home/enricobe/cf-tools/toolchain/gcc-2.95/build/binutils-2.12.1/ld -
I../bfd -I/home/enricobe/cf-tools/toolchain/gcc-2.95/build/binutils-
2.12.1/ld/../bfd -I/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/binutils-2.12.1/ld/../include -I/home/enricobe/cf-
tools/toolchain/gcc-2.95/build/binutils-2.12.1/ld/../intl -I../intl -g -O2
-DLOCALEDIR="\"/home/enricobe/cf-tools/toolchain/gcc-
2.95/toolchain/share/locale\"" -W -Wall -Wstrict-prototypes -
Wmissing-prototypes -g -O2 -c em68kelf.c
em68kelf.c: In function `gldm68kelf_finish':
em68kelf.c:1306: warning: passing arg 3 of `lang_do_assignments'
makes integer from pointer without a cast
em68kelf.c: In function `gldm68kelf_parse_args':
em68kelf.c:2702: structure has no member named
`allow_multiple_definition'
em68kelf.c: At top level:
em68kelf.c:2769: warning: excess elements in struct initializer
em68kelf.c:2769: warning: (near initialization for
`ld_m68kelf_emulation')
make[4]: *** [em68kelf.o] Error 1
make[4]: Leaving directory `/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/binutils-build/ld'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/binutils-build/ld'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/binutils-build/ld'
make[1]: *** [all-ld] Error 2
make[1]: Leaving directory `/home/enricobe/cf-tools/toolchain/gcc-
2.95/build/binutils-build'
make: *** [/home/enricobe/cf-tools/toolchain/gcc-2.95/build/binutils-
build/binutils/objdump] Error 2
Have you got some advice to help me? Or is it better to start from
uClinux dist and m68k-elf-tools?
Thanks in advance,
Enrico
------------------------------------------
Enrico Benetti
BlueWind Embedded Systems Design
Via Steffani, 7/B
I-31033 Castelfranco Veneto (TV)
Office: +39 0 423 723431
Fax : +39 0 423 744738
GSM : +39 335 7556736
mailto: enrico.benetti at bluewind.it
http://www.bluewind.it
------------------------------------------
More information about the uClibc
mailing list