You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Garth Kennedy <ga...@computer.org> on 2001/12/03 22:18:45 UTC

config/8932: Configure claims that the header file "stdint.h" exists because STD64_C is def

>Number:         8932
>Category:       config
>Synopsis:       Configure claims that the header file "stdint.h" exists because STD64_C is def
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Dec 03 13:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     garthk@computer.org
>Release:        2.0.28 Beta
>Organization:
apache
>Environment:
HPUX 10.20 - HP ANSI C compiler
HP-UX viola B.10.20 A 9000/715 2001559321 two-user license

The same problem exists with  HPUX 11 system as well also HP ANSI C compiler.
HP-UX edda B.11.00 C 9000/892 365130391 32-user license
>Description:
It appears that the configure script is faked into believing that a 
nonexistent stdint.h file exists on the HPUX system. It then builds
the presence of the stdint.h file into other headers. Which causes
compile failures.

running  a minimal configure (./configure) I get the following:

Output to the screen includes:
checking for INT64_C in stdint.h... yes

The file stdint.h does not exist in an HPUX ANSI C install !
I believe that the INT64_C is defined in inttypes.h 
Could it be that it is getting picked up from there ?

It is a problem because in the config.log I see the following:

configure:9629: cc -c -g -Ae +DAportable +Z -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT -I/disc1/user1/garth/utils/httpd/httpd-2_0_28/srclib/apr/include -I/disc1/user1/garth/utils/httpd/httpd-2_0_28/srclib/apr/include conftest.c 1>&5
cpp: "apr.h", line 132: error 4036: Can't open include file 'stdint.h'.
configure: failed program was:


The problem is that the file httpd-2_0_28/srclib/apr/include/apr.h
contains:
#define APR_HAVE_STDINT_H        1

Which forces inclusion of the non-existant stdint.h file.
>How-To-Repeat:
Try to configure and build on an HPUX system with the HP ANSI C complier.
(I know I would not have it either !)
>Fix:
I tried to follow the configurator and got lost.
It appears to be related to the presence of a definition of INT64_C
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]