[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pthread.h: present but cannot be compiled
From: |
YuePing Lu |
Subject: |
pthread.h: present but cannot be compiled |
Date: |
Wed, 12 Jan 2005 09:48:47 -0500 |
When I run config (./configure --prefix=PREFIX) for apache 2.52 on AIX
5.2, I got the following error:
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: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for pthread.h... yes
As the result, I can't compile it, I got error:
"Making all in srclib
Making all in apr
Making all in strings
/bin/sh
/da-curry_1/crnqc/automation/httpd-2.0.46/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:85,
from apr_snprintf.c:65:
/usr/include/pthread.h:556: error: parse error before '*' token
/usr/include/pthread.h:560: error: parse error before '*' token
/usr/include/pthread.h:563: error: parse error before '*' token
/usr/include/pthread.h:566: error: parse error before '*' token
/usr/include/pthread.h:569: error: parse error before '*' token
/usr/include/pthread.h:572: error: parse error before '*' token
/usr/include/pthread.h:575: error: parse error before '*' token
/usr/include/pthread.h:578: error: parse error before '*' token
/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
make: 1254-004 The error code from the last command is 1."
I need to compile and install apache 2.52 on my AIX 5.2, please reply to me ASAP
Thanks,
Yueping Lu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- pthread.h: present but cannot be compiled,
YuePing Lu <=