bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pthread.h: present but cannot be compiled


From: Anders Liljegren
Subject: pthread.h: present but cannot be compiled
Date: Fri, 17 Dec 2004 16:33:05 +0100

When I tried to configure Apache 2.0.52 on AIX 5.3.0 using gcc 2.3.2 I get the following error messag. The compilation also fails.

...
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
checking for CFLAGS needed for pthreads...
checking for LIBS needed for pthreads...
checking for pthread.h... (cached) yes
checking whether pthread_getspecific takes two arguments... no
checking whether pthread_attr_getdetachstate takes one argument... no
checking for pthread_key_delete... no
checking for pthread_rwlock_init... no
APR will use threads
...



Pavo$ make
Making all in srclib
make[1]: Entering directory `/usr/local/src/httpd-2.0.52/srclib'
Making all in apr
make[2]: Entering directory `/usr/local/src/httpd-2.0.52/srclib/apr'
Making all in strings
make[3]: Entering directory `/usr/local/src/httpd-2.0.52/srclib/apr/strings' make[4]: Entering directory `/usr/local/src/httpd-2.0.52/srclib/apr/strings' /bin/sh /usr/local/src/httpd-2.0.52/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -I../include -I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo
In file included from ../include/apr_portable.h:46,
                 from apr_snprintf.c:22:
/usr/include/pthread.h:652: error: parse error before '*' token
/usr/include/pthread.h:655: error: parse error before '*' token
/usr/include/pthread.h:658: error: parse error before '*' token
/usr/include/pthread.h:661: error: parse error before '*' token
/usr/include/pthread.h:664: error: parse error before '*' token
/usr/include/pthread.h:672: error: parse error before '*' token
/usr/include/pthread.h:675: error: parse error before '*' token
/usr/include/pthread.h:678: error: parse error before '*' token
/usr/include/pthread.h:681: error: parse error before '*' token
/usr/include/pthread.h:689: error: parse error before '*' token
/usr/include/pthread.h:693: error: parse error before '*' token
/usr/include/pthread.h:696: error: parse error before '*' token
make[4]: *** [apr_snprintf.lo] Error 1
make[4]: Leaving directory `/usr/local/src/httpd-2.0.52/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/httpd-2.0.52/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.0.52/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.0.52/srclib'
make: *** [all-recursive] Error 1

--
Anders Liljegren                     Mail: IT-stöd, Uppsala universitet
Phone: +46 18 4717751                      Box 887
mailto:address@hidden          SE-751 08  UPPSALA
http://www.anst.uu.se/andelilj             Sweden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]