This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Compiling gcc error
- From: Ahmad Attia <aattia at ca dot ibm dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 14 Apr 2004 18:42:36 -0400
- Subject: Compiling gcc error
Hi,
I am compiling gcc 3.3.3 on HP-UX B.11.11 U 9000/800. I am using the
binutils 2.14 for the compilation.
As I am compiling I get this error:
stage1/xgcc -Bstage1/ -B/usr/local/hppa64-hp-hpux11.11/bin/ -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -o cc1 \
c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o
c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o
c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a main.o
libbackend.a ./intl/libintl.a ../libiberty/libiberty.a
./intl/libintl.a(loadmsgcat.o)(.text+0x1f0): In function
`_nl_init_domain_conv':
/storage/gcc-3.3.3/gcc/intl/loadmsgcat.c:310: undefined reference to
`libiconv_open'
./intl/libintl.a(dcigettext.o)(.text+0xb20): In function `_nl_find_msg':
/storage/gcc-3.3.3/gcc/intl/dcigettext.c:876: undefined reference to
`libiconv'
collect2: ld returned 1 exit status
make[2]: *** [cc1] Error 1
make[2]: Leaving directory `/storage/gcc-3.3.3/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/storage/gcc-3.3.3/gcc'
make: *** [bootstrap] Error 2
Any advise?
Thank you,
Ahmad Attia
IBM DB2/SAP Integration and Support (ISIS Toronto):
IBM Toronto Lab
8200 Warden Ave. Markham, ON L6G 1C7
Internal: D4/K8S/8200 /MKM
T/L: 905-413-3647 Fax: 905-413-4928
Internet mail: aattia@ca.ibm.com
Notes: Ahmad Attia/Toronto/IBM@IBMCA