bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

checking linux/time.h problem


From: Philip Ludlam
Subject: checking linux/time.h problem
Date: Wed, 16 Apr 2003 22:19:17 +0100
User-agent: Messenger-Pro/2.61 (RemoteNB/1.54) (RISC-OS/4.33)

Hi there,

I have recently downloaded an installed the recent version of xinetd
2.3.11 from http://www.xinetd.org . However, upon running ./configure I
get the reports below.
I get exactly the same output from ./configure with autoconf 2.53 and
2.57. The config.log extract is from the 2.57 version.

I then cleaned my sources to version 2.3.10 of xinetd and ran
./configure. Here, autoconf did not report any warnings and the output
from ./configure and contents of config.log show that the test for
linux/time.h passed successfully.
  
I have not, yet, noticed this occurrence with any other software.


Is this a bug in autoconf? xinetd? or something particular to my system?

Thanks in advance.


The shortened output from ./configure with xinetd 2.3.11 is:
==
checking linux/time.h usability... no
checking linux/time.h presence... yes
configure: WARNING: linux/time.h: present but cannot be compiled
configure: WARNING: linux/time.h: check for missing prerequisite headers?
configure: WARNING: linux/time.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for linux/time.h... yes
==

The shortened contents of config.log with xinetd 2.3.11 is:
==
configure:5480: checking linux/time.h usability
configure:5493: gcc -c -g -O2  conftest.c >&5
In file included from configure:5556:
/usr/include/linux/time.h:106: warning: `FD_SET' redefined
/usr/include/sys/select.h:89: warning: this is the location of the previous defi
nition
/usr/include/linux/time.h:107: warning: `FD_CLR' redefined
/usr/include/sys/select.h:90: warning: this is the location of the previous defi
nition
/usr/include/linux/time.h:108: warning: `FD_ISSET' redefined
/usr/include/sys/select.h:91: warning: this is the location of the previous defi
nition
/usr/include/linux/time.h:109: warning: `FD_ZERO' redefined
/usr/include/sys/select.h:92: warning: this is the location of the previous defi
nition
In file included from configure:5556:
/usr/include/linux/time.h:9: redefinition of `struct timespec'
/usr/include/linux/time.h:88: redefinition of `struct timeval'
configure:5496: $? = 1
configure: failed program was:
| #line 5482 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""                                                       
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_GETNAMEINFO 1
| #define HAVE_INET_NTOP 1
| #define HAVE_DIFFTIME 1
| #define HAVE_FCVT 1
| #define HAVE_ECVT 1
| #define HAVE_GCVT 1
| #define HAVE_STRERROR 1
| #define HAVE_STRCASECMP 1
| #define HAVE_SETENV 1
| #define HAVE_STRSIGNAL 1
| #define HAVE_SYS_SIGLIST 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GETADDRINFO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1                                                       
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TERMIOS_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_RPC_RPC_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_FTW_H 1
| /* end 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 <linux/time.h>
configure:5512: result: no
configure:5516: checking linux/time.h presence
configure:5527: gcc -E  conftest.c
configure:5533: $? = 0
configure:5552: result: yes
configure:5572: WARNING: linux/time.h: present but cannot be compiled
configure:5574: WARNING: linux/time.h: check for missing prerequisite headers?
configure:5576: WARNING: linux/time.h: proceeding with the preprocessor's result
configure:5588: checking for linux/time.h
configure:5595: result: yes
==


The shortened output from ./configure with xinetd 2.3.10 is:
==
checking for linux/time.h... yes
==

The shortened contents of config.log with xinetd 2.3.10 is:
==
configure:4367: checking for linux/time.h                                       
configure:4377: gcc -E  conftest.c                                              
configure:4383: $? = 0                                                          
configure:4402: result: yes                                                     
==

Yours,

Phil L.
-- 
http://www.philipnet.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]