mc-4.5.55 and -lintl missing

Martin MOKREJŠ mmokrejs at natur.cuni.cz
Thu Sep 12 15:30:42 UTC 2002


On Thu, 12 Sep 2002, Martin MOKREJŠ wrote:

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

I should have tried this before. The -lintl problem seems to be fixed in
mc-4.6.0-pre1. But, tests of mc-4.6.0-pre1 show:

./configure --prefix=/software/@sys/usr --with-subshell --with-netrc
--with-edit --with-ncurses=/software/@sys/usr --with-vfs --with-mcfs
--with-samba --with-termnet

[...]
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking for dcgettext... yes
checking for msgfmt... /software/@sys/usr/bin/msgfmt
checking for gmsgfmt... /software/@sys/usr/bin/msgfmt
checking for xgettext... /software/@sys/usr/bin/xgettext
checking for bison... bison
checking version of bison... 1.35, ok
[...]
configure: configuring in vfs/samba
configure: running /bin/sh './configure' --prefix=/software/@sys/usr
'--prefix=/software/@sys/usr' '--with-subshell' '--with-netrc'
'--with-edit' '--with-ncurses=/software/@sys/usr' '--with-vfs'
'--with-mcfs' '--with-samba' '--with-termnet' 'CC=cc' 'CFLAGS=-O3 -n32
-TARG:platform=IP22 -I/usr/local/include -I/usr/local/include/ncurses
-I/software/@sys/usr/include -I/software/@sys/usr/local/include/ncurses
-I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include'
'CPPFLAGS=-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/usr/local/include/ncurses -I/software/@sys/usr/include
-I/software/@sys/usr/local/include/ncurses
-I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include'
--cache-file=/dev/null --srcdir=.
checking for gcc... cc
[...]
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking rpcsvc/nis.h usability... no
checking rpcsvc/nis.h presence... no
checking for rpcsvc/nis.h... no
checking rpcsvc/yp_prot.h usability... no
checking rpcsvc/yp_prot.h presence... yes
configure: WARNING: rpcsvc/yp_prot.h: present but cannot be compiled
configure: WARNING: rpcsvc/yp_prot.h: check for missing prerequisite
headers?
configure: WARNING: rpcsvc/yp_prot.h: proceeding with the preprocessor's
result
checking for rpcsvc/yp_prot.h... yes
checking rpcsvc/ypclnt.h usability... yes
checking rpcsvc/ypclnt.h presence... yes
checking for rpcsvc/ypclnt.h... yes
[...]
checking sys/mode.h usability... no
checking sys/mode.h presence... yes
configure: WARNING: sys/mode.h: present but cannot be compiled
configure: WARNING: sys/mode.h: check for missing prerequisite headers?
configure: WARNING: sys/mode.h: proceeding with the preprocessor's result
checking for sys/mode.h... yes
[...]


configure:4600: checking rpcsvc/yp_prot.h usability
configure:4609: cc -c -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/usr/local/include/ncurses -I/softwar
e/@sys/usr/include -I/software/@sys/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/
openssl/include -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/usr/local/include/ncurses -I/software/@sys
/usr/include -I/software/@sys/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openss
l/include conftest.c >&5
cc-1070 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 220
  The indicated type is incomplete.

        struct sockaddr_in dom_server_addr;
                           ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 223
  The identifier "CLIENT" is undefined.

        CLIENT *dom_client;
        ^

cc-1070 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 262
  The indicated type is incomplete.

        struct in_addr ypbind_binding_addr;     /* In network order */
                       ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 332
  The identifier "bool_t" is undefined.

  extern bool_t xdr_datum(XDR *, datum *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 332
  The identifier "XDR" is undefined.

  extern bool_t xdr_datum(XDR *, datum *);
                          ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 333
  The identifier "bool_t" is undefined.

  extern bool_t xdr_yp_inaddr(XDR *, struct in_addr *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 333
  The identifier "XDR" is undefined.

  extern bool_t xdr_yp_inaddr(XDR *, struct in_addr *);
                              ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 335
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypall(XDR *, struct ypall_callback *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 335
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypall(XDR *, struct ypall_callback *);
                          ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 336
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypbind_resp(XDR *, struct ypbind_resp *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 336
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypbind_resp(XDR *, struct ypbind_resp *);
                                ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 337
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypbind_setdom(XDR *, struct ypbind_setdom *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 337
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypbind_setdom(XDR *, struct ypbind_setdom *);
                                  ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 338
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypdomain_wrap_string(XDR *, char **);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 338
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypdomain_wrap_string(XDR *, char **);
                                         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 339
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypmap_parms(XDR *, struct ypmap_parms *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 339
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypmap_parms(XDR *, struct ypmap_parms *);
                                ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 340
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypmap_wrap_string(XDR *, char **);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 340
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypmap_wrap_string(XDR *, char **);
                                      ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 341
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypmaplist_wrap_string(XDR *, char *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 341
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypmaplist_wrap_string(XDR *, char *);
                                          ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 342
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypowner_wrap_string(XDR *, char **);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 342
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypowner_wrap_string(XDR *, char **);
                                        ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 343
  The identifier "bool_t" is undefined.

  extern bool_t xdr_yppushresp_xfr(XDR *, struct yppushresp_xfr *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 343
  The identifier "XDR" is undefined.

  extern bool_t xdr_yppushresp_xfr(XDR *, struct yppushresp_xfr *);
                                   ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 344
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypreq_key(XDR *, struct ypreq_key *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 344
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypreq_key(XDR *, struct ypreq_key *);
                              ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 345
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypreq_nokey(XDR *, struct ypreq_nokey *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 345
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypreq_nokey(XDR *, struct ypreq_nokey *);
                                ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 346
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypreq_xfr(XDR *, struct ypreq_xfr *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 346
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypreq_xfr(XDR *, struct ypreq_xfr *);
                              ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 347
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypresp_key_val(XDR *, struct ypresp_key_val *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 347
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypresp_key_val(XDR *, struct ypresp_key_val *);
                                   ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 348
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypresp_master(XDR *, struct ypresp_master *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 348
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypresp_master(XDR *, struct ypresp_master *);
                                  ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 349
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypresp_order(XDR *, struct ypresp_order *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 349
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypresp_order(XDR *, struct ypresp_order *);
                                 ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 350
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypresp_maplist(XDR *, struct ypresp_maplist *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 350
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypresp_maplist(XDR *, struct ypresp_maplist *);
                                   ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 351
  The identifier "bool_t" is undefined.

  extern bool_t xdr_ypresp_val(XDR *, struct ypresp_val *);
         ^

cc-1020 cc: ERROR File = /usr/include/rpcsvc/yp_prot.h, Line = 351
  The identifier "XDR" is undefined.

  extern bool_t xdr_ypresp_val(XDR *, struct ypresp_val *);
                               ^

41 errors detected in the compilation of "conftest.c".
configure:4612: $? = 2
configure: failed program was:
#line 4602 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <rpcsvc/yp_prot.h>
configure:4627: result: no
configure:4631: checking rpcsvc/yp_prot.h presence
configure:4638: cc -E -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/usr/local/include/ncurses -I/softwar
e/@sys/usr/include -I/software/@sys/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/
openssl/include conftest.c
configure:4644: $? = 0
configure:4662: result: yes
configure:4673: WARNING: rpcsvc/yp_prot.h: present but cannot be compiled
configure:4675: WARNING: rpcsvc/yp_prot.h: check for missing prerequisite headers?
configure:4677: WARNING: rpcsvc/yp_prot.h: proceeding with the preprocessor's result
configure:4680: checking for rpcsvc/yp_prot.h
configure:4687: result: yes
[...]
configure:4719: checking sys/mode.h usability
configure:4728: cc -c -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/usr/local/include/ncurses -I/softwar
e/@sys/usr/include -I/software/@sys/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/
openssl/include -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/usr/local/include/ncurses -I/software/@sys
/usr/include -I/software/@sys/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openss
l/include conftest.c >&5
cc-1204 cc: WARNING File = /usr/include/sys/vnode.h, Line = 318
  The indicated declaration is not visible outside of the function.

  typedef       int     (*vop_read_t)(bhv_desc_t *, struct uio *, int, struct cred *,
                                                           ^

cc-1204 cc: WARNING File = /usr/include/sys/vnode.h, Line = 320
  The indicated declaration is not visible outside of the function.

  typedef       int     (*vop_write_t)(bhv_desc_t *, struct uio *, int, struct cred *,
                                                            ^

cc-1204 cc: WARNING File = /usr/include/sys/vnode.h, Line = 342
  The indicated declaration is not visible outside of the function.

  typedef       int     (*vop_readdir_t)(bhv_desc_t *, struct uio *, struct cred *,
                                                              ^

cc-1204 cc: WARNING File = /usr/include/sys/vnode.h, Line = 346
  The indicated declaration is not visible outside of the function.

  typedef       int     (*vop_readlink_t)(bhv_desc_t *, struct uio *, struct cred *);
                                                               ^

cc-1020 cc: ERROR File = /usr/include/sys/vnode.h, Line = 361
  The identifier "mprot_t" is undefined.

  typedef       int     (*vop_map_t)(bhv_desc_t *, off_t, size_t, mprot_t, u_int,
                                                                  ^

cc-1020 cc: ERROR File = /usr/include/sys/vnode.h, Line = 364
  The identifier "mprot_t" is undefined.

                                pgno_t *, off_t, size_t, mprot_t,
                                                         ^

2 errors detected in the compilation of "conftest.c".
configure:4731: $? = 2
configure: failed program was:
#line 4721 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/mode.h>
configure:4746: result: no
configure:4750: checking sys/mode.h presence
configure:4757: cc -E -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/usr/local/include/ncurses -I/softwar
e/@sys/usr/include -I/software/@sys/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/
openssl/include conftest.c
configure:4763: $? = 0
configure:4781: result: yes
configure:4792: WARNING: sys/mode.h: present but cannot be compiled
configure:4794: WARNING: sys/mode.h: check for missing prerequisite headers?
configure:4796: WARNING: sys/mode.h: proceeding with the preprocessor's result
configure:4799: checking for sys/mode.h
configure:4806: result: yes

Hope this helps better.
-- 
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