Struggling to compile on AIX
From: Reyer Meihuizen <reyerm_at_gmail.com>
Date: 2006-08-22 16:51:42 CEST
Hi folks
I am struggling to compile on AIX 5.2.
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
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for pthread.h... yes
**************
Then in trying to make, i get a compilation error related to pthread
Did try Jim Hague's tar of the install files for AIX, but unfortunately hit
thanks,
**************
$ make
------ making all in apr
Making all in strings
/bin/sh
-U__STR__ -D_THREAD_SAFE -D_USE_IRS -I../include -I../include/arch/unix -c
In file included from ../include/apr_portable.h:47,
from apr_snprintf.c:23:
/usr/include/pthread.h:556: parse error before '*' token
/usr/include/pthread.h:560: parse error before '*' token
/usr/include/pthread.h:563: parse error before '*' token
/usr/include/pthread.h:566: parse error before '*' token
/usr/include/pthread.h:569: parse error before '*' token
/usr/include/pthread.h:572: parse error before '*' token
/usr/include/pthread.h:575: parse error before '*' token
/usr/include/pthread.h:578: parse error before '*' token
/usr/include/pthread.h:582: parse error before '*' token
/usr/include/pthread.h:585: parse error before '*' token
/usr/include/pthread.h:589: 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.
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.