rsync-2.5.5 and sys/mode.h on Irix 6.5.15f

Martin MOKREJŠ mmokrejs at natur.cuni.cz
Fri Jul 12 10:29:08 EST 2002


Hi,
  it seems rsync's configure complains about sys/mode.h.
here's the relevant part from config.log. Any idea what should I do now
with it?

Thanks!


configure:4360: checking sys/mode.h usability
configure:4369: cc -c -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -I/usr/local/Berkele
yDB.4.0/include -DHAVE_CONFIG_H -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -I/usr/loc
al/BerkeleyDB.4.0/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:4372: $? = 2
configure: failed program was:
#line 4362 "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:4387: result: no
configure:4391: checking sys/mode.h presence
configure:4398: cc -E -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -I/usr/local/Berkele
yDB.4.0/include conftest.c
configure:4404: $? = 0
configure:4422: result: yes
configure:4433: WARNING: sys/mode.h: present but cannot be compiled
configure:4435: WARNING: sys/mode.h: check for missing prerequisite headers?
configure:4437: WARNING: sys/mode.h: proceeding with the preprocessor's result
configure:4440: checking for sys/mode.h
configure:4447: result: yes
configure:4479: checking glob.h usability




-- 
Martin Mokrejs <mmokrejs at natur.cuni.cz>
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 rsync mailing list