Failed to create rounding.h!

Dominik Mahrer (Teddy) teddy at teddy.ch
Sat May 10 06:15:58 GMT 2008


On an i686 with glibc 2.5 installed I'm not able to compile rsync 3.0.2 
and later. rsync 3.0.0 was no problem, this compiled. Also on an x86_64 
with glibc 2.7 installed rsync compiled.

Here is a script of the failing comilation:

Script started on Sat May 10 07:33:39 2008
teddy at mail /usr/src/rsync-HEAD-20080508-0612GMT $ mkdir build
teddy at mail /usr/src/rsync-HEAD-20080508-0612GMT $ cd build
teddy at mail /usr/src/rsync-HEAD-20080508-0612GMT/build $ ../configure 
--disable-nls --prefix=/usr
configure.sh: Configuring rsync 3.0.3pre1
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) 
-std=gnu99
checking whether to include debugging symbols... yes
checking for remsh... 0
checking for yodl2man... 0
checking the group for user "nobody"... nogroup
checking for broken largefile support... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking ipv6 stack type... linux-glibc
checking for library containing getaddrinfo... none required
checking whether to call shutdown on all sockets... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... no
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/fcntl.h usability... no
checking sys/fcntl.h presence... yes
configure.sh: WARNING: sys/fcntl.h: present but cannot be compiled
configure.sh: WARNING: sys/fcntl.h:     check for missing prerequisite 
headers?
configure.sh: WARNING: sys/fcntl.h: see the Autoconf documentation
configure.sh: WARNING: sys/fcntl.h:     section "Present But Cannot Be 
Compiled"
configure.sh: WARNING: sys/fcntl.h: proceeding with the preprocessor's 
result
configure.sh: WARNING: sys/fcntl.h: in the future, the compiler will 
take precedence
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking fcntl.h usability... no
checking fcntl.h presence... yes
configure.sh: WARNING: fcntl.h: present but cannot be compiled
configure.sh: WARNING: fcntl.h:     check for missing prerequisite headers?
configure.sh: WARNING: fcntl.h: see the Autoconf documentation
configure.sh: WARNING: fcntl.h:     section "Present But Cannot Be Compiled"
configure.sh: WARNING: fcntl.h: proceeding with the preprocessor's result
configure.sh: WARNING: fcntl.h: in the future, the compiler will take 
precedence
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/unistd.h usability... yes
checking sys/unistd.h presence... yes
checking for sys/unistd.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking compat.h usability... yes
checking compat.h presence... yes
checking for compat.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for sys/wait.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/mode.h usability... no
checking sys/mode.h presence... no
checking for sys/mode.h... no
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/attr.h usability... no
checking sys/attr.h presence... no
checking for sys/attr.h... no
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking libcharset.h usability... no
checking libcharset.h presence... no
checking for libcharset.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking sys/acl.h usability... no
checking sys/acl.h presence... no
checking for sys/acl.h... no
checking acl/libacl.h usability... no
checking acl/libacl.h presence... no
checking for acl/libacl.h... no
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking popt.h usability... no
checking popt.h presence... no
checking for popt.h... no
checking popt/popt.h usability... no
checking popt/popt.h presence... no
checking for popt/popt.h... no
checking whether sys/types.h defines makedev... yes
checking if makedev takes 3 args... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for short... yes
checking size of short... 2
checking for int16_t... yes
checking size of int16_t... 2
checking for uint16_t... yes
checking size of uint16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for uint32_t... yes
checking size of uint32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for off_t... yes
checking size of off_t... 8
checking for off64_t... yes
checking size of off64_t... 8
checking for time_t... yes
checking size of time_t... 4
checking for inline... inline
checking for long double with more range or precision than double... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... (cached) yes
checking for size_t... yes
checking for pid_t... yes
checking for id_t... yes
checking type of array argument to getgroups... gid_t
checking for struct stat.st_rdev... no
checking for socklen_t... yes
checking for errno in errno.h... yes
checking for connect... yes
checking for library containing inet_ntop... none required
checking for library containing libiconv_open... no
checking for iconv declaration...
          extern size_t iconv (iconv_t cd, char * *inbuf, size_t 
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for inet_ntop... yes
checking for inet_pton... yes
checking for struct addrinfo... yes
checking for struct sockaddr_storage... yes
checking whether defines needed by getaddrinfo exist... yes
checking for getaddrinfo... yes
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_un.sun_len... no
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct stat64... no
checking for strcasecmp... yes
checking for aclsort... no
checking for aclsort in -lsec... no
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... no
checking for working alloca.h... yes
checking for alloca... yes
checking for waitpid... yes
checking for wait4... yes
checking for getcwd... yes
checking for strdup... yes
checking for chown... yes
checking for chmod... yes
checking for lchmod... no
checking for mknod... yes
checking for mkfifo... yes
checking for fchmod... yes
checking for fstat... yes
checking for ftruncate... yes
checking for strchr... yes
checking for readlink... yes
checking for link... yes
checking for utime... yes
checking for utimes... yes
checking for lutimes... no
checking for strftime... yes
checking for memmove... yes
checking for lchown... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for setsid... yes
checking for strpbrk... yes
checking for strlcat... no
checking for strlcpy... no
checking for strtol... yes
checking for mallinfo... yes
checking for getgroups... yes
checking for setgroups... yes
checking for geteuid... yes
checking for getegid... yes
checking for setlocale... yes
checking for setmode... no
checking for open64... yes
checking for lseek64... yes
checking for mkstemp64... yes
checking for mtrace... yes
checking for va_copy... no
checking for __va_copy... no
checking for strerror... yes
checking for putenv... yes
checking for iconv_open... yes
checking for locale_charset... no
checking for nl_langinfo... yes
checking for getxattr... yes
checking for extattr_get_link... no
checking for sigaction... yes
checking for sigprocmask... yes
checking for setattrlist... no
checking for getpgrp... yes
checking for tcgetpgrp... yes
checking whether getpgrp requires zero arguments... yes
checking whether chown() modifies symlinks... no
checking whether link() can hard-link symlinks... yes
checking whether link() can hard-link special files... yes
checking for working socketpair... yes
checking for poptGetContext in -lpopt... no
checking whether to use included libpopt... 
/usr/src/rsync-HEAD-20080508-0612GMT/build/../popt
checking for unsigned char... yes
checking for broken readdir... no
checking for utimbuf... yes
checking if gettimeofday takes tz argument... yes
checking for C99 vsnprintf... yes
checking for secure mkstemp... no
checking if mknod creates FIFOs... no
checking if mknod creates sockets... no
checking whether -c -o works... yes
checking for _acl... no
checking for __acl... no
checking for _facl... no
checking for __facl... no
checking whether to support ACLs... running tests:
checking for acl_get_file in -lacl... no
checking for ACL support... no
checking ACL test results... No ACL support found
checking whether to support extended attributes... Using Linux xattrs
configure.sh: creating ./config.status
config.status: creating Makefile
config.status: creating lib/dummy
config.status: creating zlib/dummy
config.status: creating popt/dummy
config.status: creating shconfig
config.status: creating config.h

     rsync 3.0.3pre1 configuration successful

teddy at mail /usr/src/rsync-HEAD-20080508-0612GMT/build $ make
In file included from 
/usr/src/rsync-HEAD-20080508-0612GMT/build/../rsync.h:388,
                  from 
/usr/src/rsync-HEAD-20080508-0612GMT/build/../rounding.c:20:
/usr/include/compat.h:22:2: warning: #warning "This header is obsolete, 
use ap_compat.h instead"
/tmp/ccHr5d51.s: Assembler messages:
/tmp/ccHr5d51.s:1409: Error: symbol `fstatat64' is already defined
/tmp/ccHr5d51.s:1438: Error: symbol `fstat64' is already defined
/tmp/ccHr5d51.s:1463: Error: symbol `lstat64' is already defined
/tmp/ccHr5d51.s:1488: Error: symbol `stat64' is already defined
Failed to create rounding.h!
make: *** [rounding.h] Error 1
teddy at mail /usr/src/rsync-HEAD-20080508-0612GMT/build $ make rounding.h
In file included from 
/usr/src/rsync-HEAD-20080508-0612GMT/build/../rsync.h:388,
                  from 
/usr/src/rsync-HEAD-20080508-0612GMT/build/../rounding.c:20:
/usr/include/compat.h:22:2: warning: #warning "This header is obsolete, 
use ap_compat.h instead"
/tmp/ccjgRGS7.s: Assembler messages:
/tmp/ccjgRGS7.s:1409: Error: symbol `fstatat64' is already defined
/tmp/ccjgRGS7.s:1438: Error: symbol `fstat64' is already defined
/tmp/ccjgRGS7.s:1463: Error: symbol `lstat64' is already defined
/tmp/ccjgRGS7.s:1488: Error: symbol `stat64' is already defined
Failed to create rounding.h!
make: *** [rounding.h] Error 1
teddy at mail /usr/src/rsync-HEAD-20080508-0612GMT/build $
Script done on Sat May 10 07:39:42 2008


Regs
Teddy


More information about the rsync mailing list