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=37006>. 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=37006 Summary: "pthread" error when compiling under AIX 5.3 using gcc 3.3.2 Product: Apache httpd-2.0 Version: 2.0.54 Platform: Other OS/Version: AIX Status: NEW Severity: regression Priority: P2 Component: All AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I am trying to compile Apache 2.0.54 under AIX 5.3 using gcc 3.3.2 and getting "pthread" error (see below). I have tried different "-with-mpm" options but same pthread error in all cases. I have read the recommendation at the following links and tried their suggestions but still having problem: http://www.apache.org/~trawick/ http://people.apache.org/~trawick/apache-2-on-aix.html I didn't run buildconf since I am compiling under AIX 5.3 and above links didn't see a need for it. The hello.c example compiles okay. The following required filesets are at version: bos.adt.base 5.3.0.10 bos.adt.include 5.3.0.20 bos.adt.lib 5.3.0.20 bos.adt.libm 5.3.0.10 Lastly, I ran ./configure with option "--disable-threads" and then "make" compiles okay. Please let me know what else to check and how to go around fixing the "pthread" error. Your help is greatly appreciated. Below is the "pthread" warning from one of the several option sets that I tried: ========================================= ./configure -prefix=/u01/app/arcims/apache2 -with-mpm=worker --enable-so -- without-berkeley-db 2>&1 | tee configure5.log configure Errors: ---------------- Checking for Threads... checking pthread.h usability... no checking pthread.h presence... yes 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: ## ------------------------------------------ ## make errors: ============ Making all in srclib Making all in apr Making all in strings /bin/sh /u01/app/arcims/source/apache2.0.54/httpd- 2.0.54/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H - U__STR__ -D_USE_IRS -D_THREAD_SAFE -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo /bin/sh /u01/app/arcims/source/apache2.0.54/httpd- 2.0.54/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H - U__STR__ -D_USE_IRS -D_THREAD_SAFE -I../include -I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo In file included from ../include/apr_portable.h:47, from apr_snprintf.c:23: /usr/include/pthread.h:582: error: parse error before '*' token /usr/include/pthread.h:585: error: parse error before '*' token /usr/include/pthread.h:589: error: parse error before '*' token /usr/include/pthread.h:592: error: parse error before '*' token make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
