[uClibc]Compiling gcc 3.2.1 problems

Van Rafelghem, Dominique VanRafelghemD at intheairnet.com
Thu May 22 21:46:26 UTC 2003


Hi,

I picked up the gcc-3.2.1 tool chain from
www.uclibc.org/cgi-bin/cvsweb/toolchain/gcc-3.2.1
<http://www.uclibc.org/cgi-bin/cvsweb/toolchain/gcc-3.2.1>  and I am trying
to build the cross compiler for a Motorola 5272 processor m68k-elf toolset,
but my build fails.  I set the ARCH variable in the makefile to m68k, I
don't know  if this is correct.  I also set the HAS_MMU variable to false.
I am building the cross compiler on a Pentium 4 machine running Red Hat
Linux 7.2, using gcc 2.96 20000731.  This is the error I got:

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:224: warning: assignment from incompatible pointer type
make[3]: *** [ldso.o] Error 1
make[3]: Leaving directory
`/home/VanRafelghemD/gcc-3.2.1/build/uClibc-0.9.19/ld
so/ldso'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/VanRafelghemD/gcc-3.2.1/build/uClibc-0.9.19/ld
so'
make[1]: *** [_dir_ldso] Error 2
make[1]: Leaving directory
`/home/VanRafelghemD/gcc-3.2.1/build/uClibc-0.9.19'
make: *** [/home/VanRafelghemD/gcc-3.2.1/build/uClibc-0.9.19/lib/libc.a]
Error 2

Any idea what might be the problem?

Dominique


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20030522/62e99b95/attachment-0001.htm 


More information about the uClibc mailing list