samba-bugs@samba.org
2005-Aug-17  15:00 UTC
[Bug 3009] New: build error on sinix: off64_t unknown
https://bugzilla.samba.org/show_bug.cgi?id=3009
           Summary: build error on sinix: off64_t unknown
           Product: rsync
           Version: 2.6.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: trivial
          Priority: P3
         Component: core
        AssignedTo: wayned@samba.org
        ReportedBy: bernhard.voelker@siemens.com
         QAContact: rsync-qa@samba.org
Hello,
I tried to build version 2.6.6 on one of my Sinix machines which resulted in
the following compile error:
  syscall.c:247:  identifier "off64_t" is undefined
<snip file="syscall.c" line-start="244">
  OFF_T do_lseek(int fd, OFF_T offset, int whence)
  {
  #ifdef HAVE_LSEEK64
      off64_t lseek64();
      return lseek64(fd, offset, whence);
  #else
      return lseek(fd, offset, whence);
  #endif
  }
</snip>
<snip file="config.log">
  This file contains any messages produced by compilers while
  running configure, to aid debugging if configure makes a mistake.
  It was created by configure, which was
  generated by GNU Autoconf 2.59.  Invocation command line was
    $ configure --prefix=/home/xps/xpsprod/berny --with-rsync-path=./rsync
  ## --------- ##
  ## Platform. ##
  ## --------- ##
  hostname = lux09034
  uname -m = RM600
  uname -r = 5.45
  uname -s = SINIX-Y
  uname -v = B2005
  /usr/bin/uname -p = R4000
  /bin/uname -X     = unknown
  /bin/arch              = unknown
  /usr/bin/arch -k       = unknown
  /usr/convex/getsysinfo = unknown
  hostinfo               = unknown
  /bin/machine           = unknown
  /usr/bin/oslevel       = unknown
  /bin/universe          = unknown
...
  configure:7183: checking for off64_t
  configure:7207: cc -c -g -DHAVE_CONFIG_H  conftest.c >&5
  conftest.c    99: [error]:   CFE1020 identifier "off64_t" is
undefined
    if ((off64_t *) 0)
         ^
...
  ac_cv_func_lseek64=yes
...
  ac_cv_sizeof_off64_t=0
</snip>
Replacing "off64_t" at syscall.c:247 seemed to work.
Have a nice day,
Berny
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
