You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/02 13:10:26 UTC

DO NOT REPLY [Bug 28155] New: - Error "pthread.h: present but cannot be compiled" during Configuration

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28155>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28155

Error "pthread.h: present but cannot be compiled" during Configuration

           Summary: Error "pthread.h: present but cannot be compiled" during
                    Configuration
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: beze@ch.ibm.com


starting configuring with

./configure --prefix=/sds_unix/www/httpd/2.0.49

everything is ok until pthread.h:

configure: WARNING: pthread.h: present but cannot be compiled
configure: WARNING: pthread.h:     check for missing prerequisite headers?
configure: WARNING: pthread.h: see the Autoconf documentation
configure: WARNING: pthread.h:     section "Present But Cannot Be Compiled"
configure: WARNING: pthread.h: proceeding with the preprocessor's result
configure: WARNING: pthread.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##

after having a look on the autoconf documentation, it seems that into the
configure script has to be added some header files.
A compilation failes with the error:

/usr/include/pthread.h:554: error: parse error before '*' token
/usr/include/pthread.h:557: error: parse error before '*' token
/usr/include/pthread.h:561: error: parse error before '*' token
/usr/include/pthread.h:564: error: parse error before '*' token
/usr/include/pthread.h:567: error: parse error before '*' token
/usr/include/pthread.h:570: error: parse error before '*' token
/usr/include/pthread.h:573: error: parse error before '*' token
/usr/include/pthread.h:576: error: parse error before '*' token
/usr/include/pthread.h:579: error: parse error before '*' token
/usr/include/pthread.h:583: error: parse error before '*' token
/usr/include/pthread.h:586: error: parse error before '*' token
make: 1254-004 The error code from the last command is 1.

thnx for solving this problem.

sincerely Benjamin Zelenay

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org