This is the mail archive of the
crossgcc@sources.redhat.com
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
Failing to build libstdc++ for xscale-elf target
- From: Christoph Baumann <cb at sorcus dot com>
- To: crossgcc at sources dot redhat dot com
- Date: Fri, 05 Mar 2004 14:39:13 +0100
- Subject: Failing to build libstdc++ for xscale-elf target
- Organization: SORCUS Computer GmbH
Hello there,
it is mysterious. I already suceeded in building a toolchain (binutils,
gcc-3.3, newlib-1.11.0) including libstdc++ under Cygwin. When I tried
to do it again a few weeks later i failed. I have no clue what is
different this time.
Output of make when the error occurs:
make[1]: Entering directory
`/cygdrive/e/cb/cygwin-xscale-elf/build/gcc-build/xscale-elf/libiberty'
if [ x"" != x ]; then \
/cygdrive/e/cb/cygwin-xscale-elf/build/gcc-build/gcc/xgcc
-B/cygdrive/e/cb/cygwin-xscale-elf/build/gcc-build/gcc/
-B/usr/local/xscale-elf/xscale-elf/bin/
-B/usr/local/xscale-elf/xscale-elf/lib/ -isystem
/usr/local/xscale-elf/xscale-elf/include -c -DHAVE_CONFIG_H -O2 -g -O2
-I. -I../../../gcc-3.3/libiberty/../include -W -Wall -Wtraditional
-pedantic ../../../gcc-3.3/libiberty/hashtab.c -o pic/hashtab.o; \
else true; fi
/cygdrive/e/cb/cygwin-xscale-elf/build/gcc-build/gcc/xgcc
-B/cygdrive/e/cb/cygwin-xscale-elf/build/gcc-build/gcc/
-B/usr/local/xscale-elf/xscale-elf/bin/
-B/usr/local/xscale-elf/xscale-elf/lib/ -isystem
/usr/local/xscale-elf/xscale-elf/include -c -DHAVE_CONFIG_H -O2 -g -O2
-I. -I../../../gcc-3.3/libiberty/../include -W -Wall -Wtraditional
-pedantic ../../../gcc-3.3/libiberty/hashtab.c -o hashtab.o
../../../gcc-3.3/libiberty/hashtab.c: In function `higher_prime_number':
../../../gcc-3.3/libiberty/hashtab.c:133: warning: implicit declaration
of function `abort'
../../../gcc-3.3/libiberty/hashtab.c: In function `htab_create':
../../../gcc-3.3/libiberty/hashtab.c:204: error: `free' undeclared
(first use in this function)
../../../gcc-3.3/libiberty/hashtab.c:204: error: (Each undeclared
identifier is reported only once
../../../gcc-3.3/libiberty/hashtab.c:204: error: for each function it
appears in.)
../../../gcc-3.3/libiberty/hashtab.c: In function `htab_try_create':
../../../gcc-3.3/libiberty/hashtab.c:214: error: `calloc' undeclared
(first use in this function)
../../../gcc-3.3/libiberty/hashtab.c:214: error: `free' undeclared
(first use in this function)
make[1]: *** [hashtab.o] Error 1
make[1]: Leaving directory
`/cygdrive/e/cb/cygwin-xscale-elf/build/gcc-build/xscale-elf/libiberty'
make: *** [all-target-libiberty] Error 2
Mit freundlichen Gruessen / Best regards
Dipl.-Phys. Christoph Baumann
---
SORCUS Computer GmbH
Im Breitspiel 11 c
D-69126 Heidelberg
Tel.: +49(0)6221/3206-0
Fax: +49(0)6221/3206-66
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com