mc-4.5.55 and -lintl missing

Martin MOKREJŠ mmokrejs at natur.cuni.cz
Thu Sep 12 13:35:39 UTC 2002


Hi,
  I've found on Irix 5.5.15 and cc that I have to add -lintl on the link
commandline when linking mc binary. Is this a known problem? Also,
detecting bison version doesn't work.

My config.log says:

configure:4743: checking whether included gettext is requested
configure:4753: result: no
configure:4760: checking for libintl.h
configure:4770: cc -E -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -I/usr/loc
al/BerkeleyDB.4.0/include -I/usr/local/openssl/include conftest.c
configure:4776: $? = 0
configure:4795: result: yes
configure:4798: checking for GNU gettext in libc
configure:4818: cc -o conftest -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -
I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include -O3 -n32 -TARG:platform=IP22 -I/usr/local/inclu
de -I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include  conftest.c -L
/usr/local/lib -L/software/@sys/usr/lib -L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/openssl/lib >&5
ld32: ERROR   33 : Unresolved text symbol "bindtextdomain" -- 1st referenced by conftest.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "gettext" -- 1st referenced by conftest.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved data symbol "_nl_msg_cat_cntr" -- 1st referenced by conftest.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO    152: Output file removed because of error.
configure:4821: $? = 2
configure: failed program was:
#line 4804 "configure"
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
int
main ()
{
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr
  ;
  return 0;
}
configure:4837: result: no
configure:4841: checking for GNU gettext in libintl
configure:4863: cc -o conftest -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -
I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include -O3 -n32 -TARG:platform=IP22 -I/usr/local/inclu
de -I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include  conftest.c -L
/usr/local/lib -L/software/@sys/usr/lib -L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/openssl/lib -lintl -liconv
 >&5
configure:4866: $? = 0
configure:4869: test -s conftest
configure:4872: $? = 0
configure:4883: result: yes
configure:4905: checking for dcgettext
configure:4942: cc -o conftest -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -
I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include -O3 -n32 -TARG:platform=IP22 -I/usr/local/inclu
de -I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include  conftest.c -L
/usr/local/lib -L/software/@sys/usr/lib -L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/openssl/lib -lintl -liconv
 >&5
configure:4945: $? = 0
configure:4948: test -s conftest
configure:4951: $? = 0
configure:4961: result: yes
configure:4975: checking for msgfmt
configure:5002: result: /software/@sys/usr/bin/msgfmt
configure:5011: checking for gmsgfmt
configure:5040: result: /software/@sys/usr/bin/msgfmt
configure:5049: checking for xgettext
configure:5076: result: /software/@sys/usr/bin/xgettext
configure:5244: checking for bison
configure:5259: found /software/@sys/usr/bin/bison
configure:5267: result: bison
configure:5280: checking version of bison
configure:5289: result: v. ?.??, bad



$ bison -V
bison (GNU Bison) 1.35

Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$


config.status contains:

s, at GLIBC21@,no,;t t
s, at LIBICONV@,-liconv,;t t
s, at USE_NLS@,yes,;t t
s, at MSGFMT@,/software/@sys/usr/bin/msgfmt,;t t
s, at GMSGFMT@,/software/@sys/usr/bin/msgfmt,;t t
s, at XGETTEXT@,/software/@sys/usr/bin/xgettext,;t t
s, at INTLBISON@,:,;t t
s, at BUILD_INCLUDED_LIBINTL@,no,;t t
s, at USE_INCLUDED_LIBINTL@,no,;t t


s, at INTL_LIBTOOL_SUFFIX_PREFIX@,,;t t
s, at LINTL@,,;t t
s, at INTLDEPS@,,;t t


Hope this helps.

-- 
Martin Mokrejs <mmokrejs at natur.cuni.cz>, <m.mokrejs at gsf.de>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585





More information about the mc-devel mailing list