gengenrtl needs to link with libintl

John David Anglin dave@hiauly1.hia.nrc.ca
Tue Oct 30 08:58:00 GMT 2001


The following error occurs under hppa1.1-hp-hpux10.20 when configured as
follows:

../configure --host=hppa1.1-hp-hpux10.20 --with-gnu-as --enable-shared --enable-threads --enable-debug=no

gcc  -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `
/usr/ccs/bin/ld: Unsatisfied symbols:
   gettext (code)
collect2: ld returned 1 exit status

We have

INTLLIBS = -lintl -liconv
INTLDEPS =

in the gcc Makefile but gengenrtl is only linked using HOST_LIBS.  HOST_LIBS
doesn't include INTLLIBS.  Should it?

It used to be possible to build using an installed version of libintl.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Gcc-bugs mailing list