This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling gcc error


Ahmad Attia <aattia@ca.ibm.com> writes:

> 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?

There's a report of a successful bootstrap on hppa64-hpux11.00:
    http://gcc.gnu.org/ml/gcc-testresults/2004-02/msg01057.html . So
    re-read the install instructions at gcc.gnu.org/install/ . Pay
    particular attention to the host/target specific installation
    notes. maybe you missed something.

I don't use hpux, however, so I don't know if 11.00 has much in
    common with 11.11 .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]