bug-autoconf
[Top][All Lists]
Advanced

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

Re: WARNING errors in 2.57


From: Akim Demaille
Subject: Re: WARNING errors in 2.57
Date: Wed, 26 Feb 2003 11:33:17 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2

Please, report this to the package maintainers, as it's a configure.ac
problem.  The Autoconf 2.57 doc says:

      Previous versions of Autoconf merely checked whether the header was
   accepted by the preprocessor.  This was changed because the old test was
   inappropriate for typical uses.  Headers are typically used to compile,
   not merely to preprocess, and the old behavior sometimes accepted
   headers that clashed at compile-time.  If you need to check whether a
   header is preprocessable, you can use `AC_PREPROC_IFELSE' (*note
   Running the Preprocessor::).
   
      This scheme, which improves the robustness of the test, also requires
   that you make sure that headers that must be included before the
   HEADER-FILE be part of the INCLUDES, (*note Default Includes::).  If
   looking for `bar.h', which requires that `foo.h' be included before if
   it exists, we suggest the following scheme:
   
   
   AC_CHECK_HEADERS([foo.h])
   AC_CHECK_HEADERS([bar.h], [], [],
   [#if HAVE_FOO_H
   # include <foo.h>
   # endif
   ])

Thanks!

| Hi,
| The platform:
|    Sun Netra T1 running Solaris 8 plus current patches.
|    autoconf version 2.57, gcc 3.2.1, automake 1.7.2, gnu make 3.80,
| 
| The problem source code, to produce the problem:
| 
|    Do an anonymous ftp to ftp.padl.com, cd to /pub, and grab the
|    tar file nss_ldap-203.6.tar.gz, untar the file, and do ./configure
|    in that directory.  This assumes that gcc is installed on the
|    system that you do this on.  The configure output will generate
|    three warning complaints.  An example of my configure output is
|    attached.  All three warnings relate to Sun system files, so things
|    should work without complaint.
| 
| -----------------------------------
| Jeff A. Earickson, Ph.D
| Senior UNIX Sysadmin and Email Guru
| Information Technology Services
| Colby College, 4214 Mayflower Hill,
| Waterville ME, 04901-8842
| phone: 207-872-3659 (fax = 3076)
| -----------------------------------
| 
| checking build system type... sparc-sun-solaris2.8
| checking host system type... sparc-sun-solaris2.8
| checking target system type... sparc-sun-solaris2.8
| checking for a BSD-compatible install... ./install-sh -c
| checking whether build environment is sane... yes
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking for gcc... gcc
| checking for C compiler default output... 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 ANSI C... none needed
| checking for style of include used by make... GNU
| checking dependency style of gcc... gcc3
| checking how to run the C preprocessor... gcc -E
| checking for a BSD-compatible install... ./install-sh -c
| checking for egrep... 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... no
| checking for unistd.h... yes
| checking lber.h usability... yes
| checking lber.h presence... yes
| checking for lber.h... yes
| checking ldap.h usability... no
| checking ldap.h presence... yes
| configure: WARNING: ldap.h: present but cannot be compiled
| configure: WARNING: ldap.h: check for missing prerequisite headers?
| configure: WARNING: ldap.h: proceeding with the preprocessor's result
| configure: WARNING:     ## ------------------------------------ ##
| configure: WARNING:     ## Report this to address@hidden ##
| configure: WARNING:     ## ------------------------------------ ##
| checking for ldap.h... yes
| checking ldap_ssl.h usability... no
| checking ldap_ssl.h presence... no
| checking for ldap_ssl.h... no
| checking nss.h usability... no
| checking nss.h presence... no
| checking for nss.h... no
| checking nsswitch.h usability... yes
| checking nsswitch.h presence... yes
| checking for nsswitch.h... yes
| checking irs.h usability... no
| checking irs.h presence... no
| checking for irs.h... no
| checking thread.h usability... yes
| checking thread.h presence... yes
| checking for thread.h... yes
| checking pthread.h usability... yes
| checking pthread.h presence... yes
| checking for pthread.h... yes
| checking synch.h usability... yes
| checking synch.h presence... yes
| checking for synch.h... yes
| checking malloc.h usability... yes
| checking malloc.h presence... yes
| checking for malloc.h... yes
| checking shadow.h usability... yes
| checking shadow.h presence... yes
| checking for shadow.h... yes
| checking prot.h usability... no
| checking prot.h presence... no
| checking for prot.h... no
| checking port_before.h usability... no
| checking port_before.h presence... no
| checking for port_before.h... no
| checking port_after.h usability... no
| checking port_after.h presence... no
| checking for port_after.h... no
| checking aliases.h usability... no
| checking aliases.h presence... no
| checking for aliases.h... no
| checking net/route.h usability... no
| checking net/route.h presence... yes
| configure: WARNING: net/route.h: present but cannot be compiled
| configure: WARNING: net/route.h: check for missing prerequisite headers?
| configure: WARNING: net/route.h: proceeding with the preprocessor's result
| configure: WARNING:     ## ------------------------------------ ##
| configure: WARNING:     ## Report this to address@hidden ##
| configure: WARNING:     ## ------------------------------------ ##
| checking for net/route.h... yes
| checking netinet/if_ether.h usability... no
| checking netinet/if_ether.h presence... yes
| configure: WARNING: netinet/if_ether.h: present but cannot be compiled
| configure: WARNING: netinet/if_ether.h: check for missing prerequisite 
headers?
| configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's 
result
| configure: WARNING:     ## ------------------------------------ ##
| configure: WARNING:     ## Report this to address@hidden ##
| configure: WARNING:     ## ------------------------------------ ##
| checking for netinet/if_ether.h... yes
| checking netinet/ether.h usability... no
| checking netinet/ether.h presence... no
| checking for netinet/ether.h... no
| checking ctype.h usability... yes
| checking ctype.h presence... yes
| checking for ctype.h... yes
| checking db.h usability... no
| checking db.h presence... no
| checking for db.h... no
| checking db1/db.h usability... no
| checking db1/db.h presence... no
| checking for db1/db.h... no
| checking db_185.h usability... no
| checking db_185.h presence... no
| checking for db_185.h... no
| checking db3/db_185.h usability... no
| checking db3/db_185.h presence... no
| checking for db3/db_185.h... no
| checking alignof.h usability... no
| checking alignof.h presence... no
| checking for alignof.h... no
| checking rpc/rpcent.h usability... yes
| checking rpc/rpcent.h presence... yes
| checking for rpc/rpcent.h... yes
| checking sys/byteorder.h usability... yes
| checking sys/byteorder.h presence... yes
| checking for sys/byteorder.h... yes
| checking sys/un.h usability... yes
| checking sys/un.h presence... yes
| checking for sys/un.h... yes
| checking libc-lock.h usability... no
| checking libc-lock.h presence... no
| checking for libc-lock.h... no
| checking bits/libc-lock.h usability... no
| checking bits/libc-lock.h presence... no
| checking for bits/libc-lock.h... no
| checking sasl.h usability... no
| checking sasl.h presence... no
| checking for sasl.h... no
| checking for strings.h... (cached) yes
| checking gssldap.h usability... no
| checking gssldap.h presence... no
| checking for gssldap.h... no
| checking gsssasl.h usability... no
| checking gsssasl.h presence... no
| checking for gsssasl.h... no
| checking for main in -lresolv... yes
| checking for main in -lnsl... yes
| checking for strtok_r... yes
| checking for sigset... yes
| checking for sigprocmask... yes
| checking for res_search... yes
| checking for dn_expand... yes
| checking for snprintf... yes
| checking for gethostbyname... yes
| checking for nsdispatch... no
| checking for pthread_atfork... yes
| checking for ether_aton... no
| checking for ether_ntoa... no
| checking for struct ether_addr... yes
| checking for dlopen in -ldl... yes
| checking for main in -ldb... no
| checking for main in -llber... no
| checking for main in -lldap... yes
| checking for ldap_gss_bind in -lgssldap... no
| checking for ldap_init... yes
| checking for ldap_get_lderrno... no
| checking for ldap_parse_result... yes
| checking for ldap_memfree... yes
| checking for ldap_controls_free... yes
| checking for ldap_ld_free... no
| checking for ldap_explode_rdn... yes
| checking for ldap_set_option... yes
| checking for ldap_get_option... yes
| checking for ldap_sasl_interactive_bind_s... no
| checking for ldap_initialize... no
| checking for ldap_create_control... no
| checking for ldap_create_page_control... yes
| checking for ldap_parse_page_control... yes
| checking for ldapssl_client_init... no
| checking for ldap_start_tls_s... no
| checking for ldap_pvt_tls_set_option... no
| checking for gethostbyname_r... yes
| checking whether gethostbyname_r takes 6 arguments... 5
| checking for ldap_set_rebind_proc... yes
| checking whether ldap_set_rebind_proc takes 3 arguments... 3
| configure: creating ./config.status
| config.status: creating Makefile
| config.status: creating config.h
| config.status: executing depfiles commands




reply via email to

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