bug-autoconf
[Top][All Lists]
Advanced

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

err.h: present but cannot be compiled


From: Borzenkov Andrey
Subject: err.h: present but cannot be compiled
Date: Tue, 1 Mar 2005 17:36:41 +0300

Report as requested. I suspect in this case err.h is quite the one configure
is looking for.

Configuring sudo-1.6.8p7
System - ReliantUNIX-N 5.45B20 (mips-sni-sysv4)

checking err.h usability... no
checking err.h presence... yes
configure: WARNING: err.h: present but cannot be compiled
configure: WARNING: err.h: check for missing prerequisite headers?
configure: WARNING: err.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for err.h... yes

config.log:

configure:23286: checking err.h usability
configure:23299: cc -c   conftest.c >&5
/usr/include/sys/map.h    70: [error]:   CFE1147 declaration is incompatible
wit
h "void *malloc(size_t)" (declared at line 145 of "/usr/include/stdlib.h")
  extern _pfn_t malloc(struct map *, size_t);
                ^

configure:23302: $? = 1
configure: failed program was:
| #line 23288 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "sudo"
| #define PACKAGE_TARNAME "sudo"
| #define PACKAGE_VERSION "1.6.8"
| #define PACKAGE_STRING "sudo 1.6.8"
| #define PACKAGE_BUGREPORT ""
| #define LOGGING SLOG_SYSLOG
| #define LOGFAC "local2"
| #define PRI_SUCCESS "notice"
| #define PRI_FAILURE "alert"
| #define MAXLOGFILELEN 80
| #define SEND_MAIL_WHEN_NO_USER 1
| #define MAILTO "root"
| #define MAILSUBJECT "*** SECURITY information for %h ***"
| #define PASSPROMPT "Password:"
| #define INCORRECT_PASSWORD "Sorry, try again."
| #define SUDO_UMASK 0022
| #define RUNAS_DEFAULT "root"
| #define EDITOR _PATH_VI
| #define TRIES_FOR_PASSWORD 3
| #define TIMEOUT 5
| #define PASSWORD_TIMEOUT 5
| #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_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define HAVE_GETSPNAM 1
| #define _PATH_MV "/usr/bin/mv"
| #define _PATH_BSHELL "/bin/sh"
| #define _PATH_SUDO_SENDMAIL "/usr/sbin/sendmail"
| #define _PATH_VI "/usr/bin/vi"
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_SOCKIO_H 1
| #define HAVE_SYS_SELECT_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 <err.h>
configure:23318: result: no

sys/map.h is included from /usr/include/sys/err.h and both are kernel
related and do not actually have any stuff of interest to user-level
programs.

regards

-andrey






reply via email to

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