Undefinded reference to gettext -- Re: 0.4.2 is out

John A. Martin jam at jamux.com
Sun Oct 18 17:57:55 CEST 1998


I think this is well known, but perhaps this is a more complete report 
than before

-------------- cut here ---->8 ---< head
[jam at athene gnupg-0.4.2]$ ./configure
creating cache ./config.cache
checking whether memory debugging is requested... no
checking whether memory guard is requested... yes
checking whether included zlib is requested... no
checking host system type... i486-pc-linux-gnu
checking target system type... i486-pc-linux-gnu
checking build system type... i486-pc-linux-gnu
checking cached information... ok
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for gcc... gcc
checking whether the C compiler (gcc -g -Wall ) works... yes
checking whether the C compiler (gcc -g -Wall ) is a cross-compiler... no
checking whether we are using GNU C... yes
[[ ... ]]
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for gettext in libintl... checking for gettext in -lintl... yes
yes
[[ ... ]]
[jam at athene gnupg-0.4.2]$ make
[[ ... ]]
make[2]: Entering directory `/home/jamsrc/gnupg-0.4.2/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl  -g -Wall -c mpicalc.c
gcc -g -Wall  -o mpicalc  mpicalc.o ../cipher/libcipher.a  ../util/libutil.a ../mpi/libmpi.a ../util/libutil.a -ldl -lgdbm  -lz
mpicalc.o: In function `i18n_init':
/home/jamsrc/gnupg-0.4.2/tools/mpicalc.c:74: undefined reference to `bindtextdomain'
/home/jamsrc/gnupg-0.4.2/tools/mpicalc.c:75: undefined reference to `textdomain'
../util/libutil.a(argparse.o): In function `show_help':
/home/jamsrc/gnupg-0.4.2/util/argparse.c:584: undefined reference to `gettext'
../util/libutil.a(secmem.o): In function `print_warn':
/home/jamsrc/gnupg-0.4.2/util/secmem.c:77: undefined reference to `gettext'
../util/libutil.a(logger.o): In function `g10_log_bug0':
/home/jamsrc/gnupg-0.4.2/util/logger.c:177: undefined reference to `gettext'
../util/libutil.a(errors.o): In function `g10_errstr':
/home/jamsrc/gnupg-0.4.2/util/errors.c:100: undefined reference to `gettext'
make[2]: *** [mpicalc] Error 1
make[2]: Leaving directory `/home/jamsrc/gnupg-0.4.2/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jamsrc/gnupg-0.4.2'
make: *** [all-recursive-am] Error 2
[jam at athene gnupg-0.4.2]$ ./configure --with-included-gettext
[[ ... ]]

Sequel all OK

---- 8<------- cut here ----------> tail

	jam




More information about the Gnupg-devel mailing list