2009/10/17 Eric Blake <e...@byu.net> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Please keep the list in the loop. > > According to Jorma Karvonen on 10/16/2009 1:02 PM: > > Hello, > > > > here is my config.log. > > You failed to mention your platform, but config.log states: > > > hostname = 2(SERVFAIL) > > uname -m = i686 > > uname -r = 2.6.18.8-0.13-default > > uname -s = Linux > > uname -v = #1 SMP Thu Nov 6 13:35:13 UTC 2008 > > > configure:3792: gcc --version >&5 > > gcc (GCC) 4.3.4 >
Actually, I told those things at the end of previous message: /usr/include/stdint.h:139: error: ”long long long” is too long for GCC /usr/include/stdint.h:139: error: ”long long long” is too long for GCC In file included from ../../lib/gl_avltree_oset.c:23: ./stdlib.h:57: error: redefinition of ”struct random_data” make[4]: *** [gl_avltree_oset.o] Error 1 uname -a Linux 2(xxx) 2.6.18.8-0.13-default #1 SMP Thu Nov 6 13:35:13 UTC 2008 i686 i686 i386 GNU/Linux gcc --version gcc (GCC) 4.3.4 > > It would also be nice to see the condensed output of running ./configure; > config.log has everything, but it doesn't make it easy to pinpoint where > you are first seeing unexpected failures. > I think the beginning of output was quite normal and I already showed the first error message (or WARNING), but I send the whole output here below: ================================================ inux-uglz:/home/jorma/gnu/m4-1.4.13/target # ../configure --prefix=/usr/local checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/local/bin/grep checking for egrep... /usr/local/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 configure: autobuild project... GNU M4 configure: autobuild revision... 1.4.13 configure: autobuild hostname... 2(SERVFAIL) configure: autobuild timestamp... 20091016T225737Z checking for long long int... yes checking for unsigned long long int... yes checking for working alloca.h... yes checking for alloca... yes checking for btowc... yes checking for setrlimit... yes checking for sigaltstack... yes checking for mempcpy... yes checking for __fpending... yes checking for fpurge... no checking for __fpurge... yes checking for __freading... yes checking for getdtablesize... yes checking for gettimeofday... yes checking for lstat... yes checking for mbsinit... yes checking for mbrtowc... yes checking for pathconf... yes checking for posix_spawn... yes checking for isblank... yes checking for iswctype... yes checking for wcscoll... yes checking for sigaction... yes checking for siginterrupt... yes checking for pipe... yes checking for vasnprintf... no checking for wcrtomb... yes checking for iswcntrl... yes checking for setenv... yes checking for wctob... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... fr_FR checking for ucontext.h... yes checking for unistd.h... (cached) yes checking for errno.h... yes checking for fcntl.h... yes checking for float.h... yes checking for stdio_ext.h... yes checking for sys/time.h... yes checking for math.h... yes checking for sys/param.h... yes checking for locale.h... yes checking for sched.h... yes checking for signal.h... yes checking for spawn.h... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for wchar.h... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for sys/socket.h... yes checking for string.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/wait.h... yes checking for wctype.h... yes checking for working C stack overflow detection... yes checking for correct stack_t interpretation... yes checking for precise C stack overflow detection... no checking for ld used by GCC... /usr/local/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/local/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for libsigsegv... no, consider installing GNU libsigsegv checking whether system is Windows or MSDOS... no checking whether // is distinct from /... no checking whether the preprocessor supports include_next... yes checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for inline... inline checking for mode_t... yes checking for sig_atomic_t... yes checking whether stdin defaults to large file offsets... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long_only... yes checking whether optreset is declared... no checking for working GNU getopt function... yes checking whether getenv is declared... yes checking for C/C++ restrict keyword... __restrict checking for struct timeval... yes checking where to find the exponent in a 'float'... word 0 bit 23 checking whether byte ordering is bigendian... no checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for multithread API to use... none checking whether malloc, realloc, calloc are POSIX compliant... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for mbstate_t... yes checking for a traditional japanese locale... ja_JP checking for a transitional chinese locale... zh_CN.GB18030 checking for a french Unicode locale... fr_FR.UTF-8 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether posix_spawn works... no checking for uid_t in sys/types.h... yes checking whether snprintf is declared... no checking for stdbool.h that conforms to C99... yes checking for _Bool... no checking for working strerror function... yes checking whether strndup is declared... no checking whether strnlen is declared... no checking whether strsignal is declared... no checking whether sys_siglist is declared... yes checking whether stat file-mode macros are broken... yes checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... no checking whether putc_unlocked is declared... no checking whether putchar_unlocked is declared... no checking for wchar_t... yes checking for wint_t... yes checking for size_t... no checking for inttypes.h... no checking for stdint.h... no checking for intmax_t... no checking whether printf supports size specifiers as in C99... no checking whether printf supports 'long double' arguments... no checking whether printf supports infinite 'double' arguments... no checking whether printf supports the 'a' and 'A' directives... no checking whether printf supports the 'F' directive... no checking whether printf supports the 'n' directive... no checking whether printf supports the 'ls' directive... no checking whether printf supports POSIX/XSI format strings with positions... no checking whether printf supports the grouping flag... no checking whether printf supports the left-adjust flag correctly... no checking whether printf supports the zero flag correctly... no checking whether printf supports large precisions... no checking whether printf survives out-of-memory conditions... guessing yes checking whether ungetc works on arbitrary bytes... no checking whether alarm is declared... no checking for alloca as a compiler built-in... yes checking whether to enable assertions... yes checking whether btowc(EOF) is correct... no checking whether sigaltstack is declared... no checking for stack_t... no checking whether // is distinct from /... (cached) no checking if environ is properly declared... yes checking for error_at_line... yes checking for working fcntl.h... no checking whether fflush works on input streams... no checking whether fopen recognizes a trailing slash... no checking whether __fpending is declared... no checking whether fpurge is declared... no checking whether frexp() can be used without linking with libm... no checking whether frexpl() can be used without linking with libm... no checking for fseeko... no checking for ftello... no checking for gettimeofday with POSIX signature... no checking whether gettimeofday clobbers localtime buffer... yes checking sys/timeb.h usability... no checking sys/timeb.h presence... yes configure: WARNING: sys/timeb.h: present but cannot be compiled configure: WARNING: sys/timeb.h: check for missing prerequisite headers? configure: WARNING: sys/timeb.h: see the Autoconf documentation configure: WARNING: sys/timeb.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/timeb.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------- ## configure: WARNING: ## Report this to bug-m4@gnu.org ## configure: WARNING: ## ----------------------------- ## checking for sys/timeb.h... no checking for _ftime... no checking whether the compiler generally respects inline... yes checking whether isnan(double) can be used without linking with libm... no checking where to find the exponent in a 'double'... unknown checking whether isnan(float) can be used without linking with libm... no checking where to find the exponent in a 'float'... (cached) word 0 bit 23 checking whether isnan(long double) can be used without linking with libm... no checking where to find the exponent in a 'long double'... unknown checking for libsigsegv... (cached) no, consider installing GNU libsigsegv checking whether lseek detects pipes... no checking whether lstat dereferences a symlink specified with a trailing slash... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking whether NAN macro works... yes checking whether HUGE_VAL works... yes checking whether mbrtowc handles incomplete characters... no checking whether mbrtowc works as well as mbtowc... no checking whether mbrtowc handles incomplete characters... (cached) no checking whether mbrtowc works as well as mbtowc... (cached) no checking for mkdtemp... yes checking for working mkstemp... no checking for obstacks... no checking whether open recognizes a trailing slash... no checking paths.h usability... no checking paths.h presence... yes configure: WARNING: paths.h: present but cannot be compiled configure: WARNING: paths.h: check for missing prerequisite headers? configure: WARNING: paths.h: see the Autoconf documentation configure: WARNING: paths.h: section "Present But Cannot Be Compiled" configure: WARNING: paths.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------- ## configure: WARNING: ## Report this to bug-m4@gnu.org ## configure: WARNING: ## ----------------------------- ## checking for paths.h... no checking for confstr... yes checking for sched_setparam... yes checking for sched_setscheduler... yes checking for setegid... yes checking for seteuid... yes checking for vfork... yes checking whether frexp can be used without linking with libm... (cached) no checking whether ldexp can be used without linking with libm... no checking whether frexpl can be used without linking with libm... (cached) no checking whether ldexpl can be used without linking with libm... no checking for rawmemchr... yes checking for working re_compile_pattern... no checking libintl.h usability... no checking libintl.h presence... yes configure: WARNING: libintl.h: present but cannot be compiled configure: WARNING: libintl.h: check for missing prerequisite headers? configure: WARNING: libintl.h: see the Autoconf documentation configure: WARNING: libintl.h: section "Present But Cannot Be Compiled" configure: WARNING: libintl.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------- ## configure: WARNING: ## Report this to bug-m4@gnu.org ## configure: WARNING: ## ----------------------------- ## checking for libintl.h... no checking whether isblank is declared... no checking for struct sched_param... no checking for struct sigaction.sa_sigaction... no checking for volatile sig_atomic_t... no checking for signbit macro... no checking for signbit compiler built-ins... no checking where to find the sign bit in a 'float'... unknown checking where to find the sign bit in a 'double'... unknown checking where to find the sign bit in a 'long double'... unknown checking whether copysignf is declared... yes checking whether copysignf can be used without linking with libm... no checking whether copysign is declared... yes checking whether copysign can be used without linking with libm... no checking whether copysignl is declared... yes checking whether copysignl can be used without linking with libm... no checking for sigprocmask... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... yes checking whether snprintf respects a size of 1... no checking for ssize_t... no checking for va_copy... yes checking whether stdint.h conforms to C99... no checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/bitypes.h usability... no checking sys/bitypes.h presence... yes configure: WARNING: sys/bitypes.h: present but cannot be compiled configure: WARNING: sys/bitypes.h: check for missing prerequisite headers? configure: WARNING: sys/bitypes.h: see the Autoconf documentation configure: WARNING: sys/bitypes.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/bitypes.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------- ## configure: WARNING: ## Report this to bug-m4@gnu.org ## configure: WARNING: ## ----------------------------- ## checking for sys/bitypes.h... no checking for bit size of ptrdiff_t... unknown checking for bit size of size_t... unknown checking for bit size of sig_atomic_t... unknown checking for bit size of wchar_t... unknown checking for bit size of wint_t... unknown checking whether sig_atomic_t is signed... no checking whether wchar_t is signed... no checking whether wint_t is signed... no checking for ptrdiff_t integer literal suffix... no checking for size_t integer literal suffix... no checking for sig_atomic_t integer literal suffix... no checking for wchar_t integer literal suffix... no checking for wint_t integer literal suffix... no checking for random.h... no checking for struct random_data... no checking for strchrnul... yes checking for working strndup... no checking for working strnlen... no checking for strsignal... yes checking whether strsignal always returns a string... no checking whether _sys_siglist is declared... no checking whether strstr works in linear time... no checking for working strtod... no checking for pow... no checking for pow in -lm... yes checking for strtol... yes checking for nlink_t... no checking for __secure_getenv... yes checking for ptrdiff_t... no checking for snprintf... (cached) yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking for vasprintf... yes checking for vasprintf... (cached) yes checking for nl_langinfo... yes checking for ptrdiff_t... (cached) no checking for snprintf... (cached) yes checking for strnlen... (cached) yes checking for wcslen... (cached) yes checking for wcsnlen... (cached) yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... (cached) no checking for waitid... yes checking whether <wchar.h> is standalone... no checking whether wcrtomb return value is correct... no checking whether iswcntrl works... no checking for stdint.h... (cached) yes checking for a traditional french locale... (cached) fr_FR checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking where to find the exponent in a 'double'... (cached) unknown checking where to find the exponent in a 'float'... (cached) word 0 bit 23 checking where to find the exponent in a 'long double'... (cached) unknown checking for a traditional french locale... (cached) fr_FR checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking for a traditional japanese locale... (cached) ja_JP checking for a transitional chinese locale... (cached) zh_CN.GB18030 checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking for a traditional french locale... (cached) fr_FR checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking for wchar_t... (cached) yes checking for wint_t... (cached) yes checking for unsetenv... yes checking for unsetenv() return type... void checking for a traditional french locale... (cached) fr_FR checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking for a traditional japanese locale... (cached) ja_JP checking for a transitional chinese locale... (cached) zh_CN.GB18030 checking whether wctob works... no checking whether an open file can be renamed... no checking if changeword is wanted... no checking which shell to use for syscmd... /bin/sh checking if malloc debugging is wanted... no configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating checks/Makefile config.status: creating examples/Makefile config.status: creating lib/config.h config.status: lib/config.h is unchanged config.status: linking ../GNUmakefile to GNUmakefile config.status: executing depfiles commands config.status: executing stamp-h commands linux-uglz:/home/jorma/gnu/m4-1.4.13/target # ================================= > Meanwhile, this is the first suspicious message in the log: > > > /tmp/ccJTzTZJ.s: Assembler messages: > > /tmp/ccJTzTZJ.s:2287: Error: symbol `fstatat64' is already defined > > /tmp/ccJTzTZJ.s:2316: Error: symbol `fstat64' is already defined > > /tmp/ccJTzTZJ.s:2341: Error: symbol `lstat64' is already defined > > /tmp/ccJTzTZJ.s:2366: Error: symbol `stat64' is already defined > > Are you sure your compiler is installed correctly? I've never seen this > sort of failure before, but it seems like something on your system and > unrelated to the m4 package, since stat64 and friends are large-offset > aliases managed by your system headers and not referred to in the m4 > tarball. > I'm not absolutely sure that my compiler is installed correctly, but I can list easily over 100 open source packages that I have build and installed from the source tarballs without problems. Then there are problems with some few old (project) packages and I am wondering if those problems depend on it that all old projects are not comform to C99 and how include files should be located in source code. But I can be wrong. br, Jorma K. > - -- > Don't work too hard, make some time for fun as well! > > Eric Blake e...@byu.net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (Cygwin) > Comment: Public key at > home.comcast.net/~ericblake/eblake.gpg<http://home.comcast.net/%7Eericblake/eblake.gpg> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkrY958ACgkQ84KuGfSFAYDEUwCgohuyoYJgGtYHXGvLtXFF1j3N > N4YAoKyxR5+FzLKf9MPPhay8qy5Aux6P > =7Y2I > -----END PGP SIGNATURE----- >