编译tomcat-connectors-1.2.6-src时报错
这几天在配置tomcat5.5+apache2.058
安装了jdk1.5
在安装tomcat-connectors-1.2.6-src是
前面./configure --with-apxs=/usr/local/apache2/bin/apxs时很正常,但make一下报很多的错,高手帮忙看下什么问题
In file included from jk_mt.h:57,
from jk_uri_worker_map.h:36,
from jk_service.h:35,
from jk_ajp12_worker.h:28,
from jk_ajp12_worker.c:26:
/usr/include/pthread.h:83: error: conflicting types for 'pthread_mutex_t'
/usr/include/bits/pthreadtypes.h:93: error: previous declaration of 'pthread_mutex_t' was here
/usr/include/pthread.h:93: error: conflicting types for 'pthread_cond_t'
/usr/include/bits/pthreadtypes.h:70: error: previous declaration of 'pthread_cond_t' was here
/usr/include/pthread.h:120: error: conflicting types for 'pthread_attr_t'
/usr/include/bits/pthreadtypes.h:52: error: previous declaration of 'pthread_attr_t' was here
/usr/include/pthread.h:130: error: conflicting types for 'pthread_mutexattr_t'
/usr/include/bits/pthreadtypes.h:100: error: previous declaration of 'pthread_mutexattr_t' was here
/usr/include/pthread.h:134: error: conflicting types for 'pthread_condattr_t'
/usr/include/bits/pthreadtypes.h:77: error: previous declaration of 'pthread_condattr_t' was here
/usr/include/pthread.h:170: error: syntax error before "__thread"
/usr/include/pthread.h:170: error: `pthread_create' declared as function returning a function
/usr/include/pthread.h:170: error: syntax error before "void"
/usr/include/pthread.h:372: error: storage class specified for parameter `type name'
/usr/include/pthread.h:436: error: storage class specified for parameter `type name'
make[1]: *** [jk_ajp12_worker.lo] 错误 1
make[1]: Leaving directory `/download/tomcat-connectors-1.2.26-src/native/common'
make: *** [all-recursive] 错误 1
[ 本帖最后由 lsmqylsmqy 于 2008-7-25 15:13 编辑 ]
|