From: Steven Augart Subject: des.h: present but cannot be compiled To: address@hidden Date: Mon, 22 Sep 2003 18:49:10 -0400 X-Sent: 2 days, 11 hours, 10 minutes, 30 seconds ago I just got the following message from running the configure script in the GNU Emacs CVS head, which in turn says it was Generated by GNU Autoconf 2.57: configure: WARNING: des.h: present but cannot be compiled configure: WARNING: des.h: check for missing prerequisite headers? configure: WARNING: des.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## I'm reporting it to bug-autoconf because that's what configure told me to do. I've included the relevant sections from configure.log: configure:15547: checking des.h usability configure:15560: gcc -c -I/usr/X11R6/include -march=pentium3 -msse -I/usr/X11R6/include -D_BSD_SOURCE conftest.c >&5 In file included from configure:15751: /usr/local/include/des.h:205: error: conflicting types for `crypt' /usr/include/unistd.h:946: error: previous declaration of `crypt' configure:15563: $? = 1 configure: failed program was: | #line 15549 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define KERBEROS 1 | #define _GNU_SOURCE 1 | #define _FILE_OFFSET_BITS 64 | #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_SOUNDCARD_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_LINUX_VERSION_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TERMCAP_H 1 | #define HAVE_STDIO_EXT_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_PTY_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_VLIMIT_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_TERM_H 1 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DECL_SYS_SIGLIST 0 | #define HAVE_DECL___SYS_SIGLIST 0 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_STRUCT_UTIMBUF 1 | #define RETSIGTYPE void | #define HAVE_SPEED_T 1 | #define HAVE_TIMEVAL 1 | #define HAVE_STRUCT_TM_TM_ZONE 1 | #define HAVE_TM_ZONE 1 | #define HAVE_TM_GMTOFF 1 | #define PROTOTYPES 1 | #define __PROTOTYPES 1 | #define POINTER_TYPE void | #define HAVE_LONG_FILE_NAMES 1 | #define DOUG_LEA_MALLOC 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define HAVE_XKBGETKEYBOARD 1 | #define HAVE_XRMSETDATABASE 1 | #define HAVE_XSCREENRESOURCESTRING 1 | #define HAVE_XSCREENNUMBEROFSCREEN 1 | #define HAVE_XSETWMPROTOCOLS 1 | #define HAVE_X11R6 1 | #define HAVE_X11R5 1 | #define HAVE_GTK 1 | #define USE_TOOLKIT_SCROLL_BARS 1 | #define HAVE_XIM 1 | #define USE_XIM 1 | #define XRegisterIMInstantiateCallback_arg6 XPointer | #define HAVE_XPM 1 | #define HAVE_JPEG 1 | #define HAVE_JPEG 1 | #define HAVE_PNG_H 1 | #define HAVE_LIBPNG_PNG_H 1 | #define HAVE_PNG 1 | #define HAVE_TIFF 1 | #define HAVE_GIF 1 | #define HAVE_X_SM 1 | #define HAVE_H_ERRNO 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LIBM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETDOMAINNAME 1 | #define HAVE_DUP2 1 | #define HAVE_RENAME 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_MKDIR 1 | #define HAVE_RMDIR 1 | #define HAVE_SYSINFO 1 | #define HAVE_RANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_BCOPY 1 | #define HAVE_BCMP 1 | #define HAVE_LOGB 1 | #define HAVE_FREXP 1 | #define HAVE_FMOD 1 | #define HAVE_RINT 1 | #define HAVE_CBRT 1 | #define HAVE_FTIME 1 | #define HAVE_SETSID 1 | #define HAVE_STRERROR 1 | #define HAVE_FPATHCONF 1 | #define HAVE_SELECT 1 | #define HAVE_MKTIME 1 | #define HAVE_EUIDACCESS 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_TZSET 1 | #define HAVE_SETLOCALE 1 | #define HAVE_UTIMES 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_SETPGID 1 | #define HAVE_GETCWD 1 | #define HAVE_GETWD 1 | #define HAVE_SHUTDOWN 1 | #define HAVE_GETADDRINFO 1 | #define HAVE___FPENDING 1 | #define HAVE_MBLEN 1 | #define HAVE_MBRLEN 1 | #define HAVE_MBSINIT 1 | #define HAVE_STRSIGNAL 1 | #define HAVE_SETITIMER 1 | #define HAVE_UALARM 1 | #define HAVE_INDEX 1 | #define HAVE_RINDEX 1 | #define HAVE_SENDTO 1 | #define HAVE_RECVFROM 1 | #define HAVE_GETSOCKOPT 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_MKSTEMP 1 | #define HAVE_GETLINE 1 | #define HAVE_GETDELIM 1 | #define HAVE_MREMAP 1 | #define HAVE_MEMMOVE 1 | #define HAVE_FSYNC 1 | #define HAVE_BZERO 1 | #define HAVE_MEMSET 1 | #define HAVE_MEMCMP 1 | #define HAVE_MEMMOVE 1 | #define HAVE_DIFFTIME 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MBLEN 1 | #define HAVE_MBRLEN 1 | #define HAVE_POSIX_MEMALIGN 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_GETLOADAVG 1 | #define HAVE_FSEEKO 1 | #define GETPGRP_VOID 1 | #define HAVE_STRFTIME 1 | #define HAVE_GRANTPT 1 | #define HAVE_GETPT 1 | #define HAVE_LIBNCURSES 1 | #define HAVE_LIBCOM_ERR 1 | #define HAVE_LIBDES 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:15579: result: no configure:15583: checking des.h presence configure:15594: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE conftest.c configure:15600: $? = 0 configure:15619: result: yes configure:15639: WARNING: des.h: present but cannot be compiled configure:15641: WARNING: des.h: check for missing prerequisite headers? configure:15643: WARNING: des.h: proceeding with the preprocessor's result Please let me know what I can do to assist you in tracking down the bug, if it is indeed a bug. --Steve Augart