This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14157] New: undefined reference to `__ctype_b' (can't compile gcc for avr using gcc3.3.3)
- From: "cmosis5 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2004 13:14:05 -0000
- Subject: [Bug c/14157] New: undefined reference to `__ctype_b' (can't compile gcc for avr using gcc3.3.3)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I'm trying to crate a cross compiler for AVR using GCC3.3.3.
My system is RH9, with GCC3.2.2
the options given when GCC was configured/built;
./configure --target=avr --program-prefix="avr-" --enable-language=c
the complete command line that triggers the bug;
make
Error message:
gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -o Tcollect2 \
collect2.o tlink.o intl.o version.o ../libiberty/libiberty.a
../libiberty/libiberty.a(cp-demangle.o)(.text+0xd51): In function
`demangle_identifier':
/usr/delme/gcc-3.3.3/libiberty/cp-demangle.c:1489: undefined reference to
`__ctype_b'
collect2: ld returned 1 exit status
make[1]: *** [collect2] Error 1
make[1]: Leaving directory `/usr/delme/gcc-3.3.3/gcc'
make: *** [all-gcc] Error 2
--
Summary: undefined reference to `__ctype_b' (can't compile gcc
for avr using gcc3.3.3)
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cmosis5 at hotmail dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14157