List Info

Thread: (ITS#4985) pthread.h: present but cannot be compiled




(ITS#4985) pthread.h: present but cannot be compiled
country flaguser name
United States
2007-05-25 17:26:59
Full_Name: Matt Augustine
Version: 2.3.32
OS: AIX 5.3
URL: 
Submission from: (NULL) (208.8.86.2)


Dear help,

I have currently installed openssl-0.9.8e and am looking to
install
openldap-2.3.32 on AIX 5.3.  However, when I go to run the
configure script it
ends with the following warning:
pthread.h: present but cannot be compiled / check for
missing prerequisite
headers? / see the Autoconf documentation secion
"Present But cannot Be
Compiled" proceeing with the preprocessor's result / in
the future, the compiler
will take precedence / Report this to <http://www.openldap.
org/its/>

I then went to check the config.log and tied it to the
following errors:
/usr/include/pthread.h:666: error: parse error before '*'
token
/usr/include/pthread.h:669: 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:686: error: parse error before '*'
token
/usr/include/pthread.h:689: error: parse error before '*'
token
/usr/include/pthread.h:692: error: parse error before '*'
token
/usr/include/pthread.h:695: error: parse error before '*'
token
/usr/include/pthread.h:703: error: parse error before '*'
token
/usr/include/pthread.h:707: error: parse error before '*'
token
/usr/include/pthread.h:710: error: parse error before '*'
token

Those lines in pthread.h correspond to the following:
666: pthread_spin_init __((pthread_spinlock_t *, int));
669: pthread_spin_destroy __((pthread_spinlock_t *));
672: pthread_spin_lock __((pthread_spinlock_t *));
675: pthread_spin_unlock __((pthread_spinlock_t *));
678: pthread_spin_trylock __((pthread_spinlock_t *));
686: pthread_barrierattr_init __((pthread_barrierattr_t
*));
689: pthread_barrierattr_destroy __((pthread_barrierattr_t
*));
692: pthread_barrierattr_getpshared __((const
pthread_barrierattr_t
*__restrict__,
				   int *__restrict__));
695: pthread_barrierattr_setpshared
__((pthread_barrierattr_t *, int));
703: pthread_barrier_init __((pthread_barrier_t
*__restrict__,
			 const pthread_barrierattr_t *__restrict__,
			 unsigned));
707: pthread_barrier_destroy __((pthread_barrier_t *));
710: pthread_barrier_wait __((pthread_barrier_t *));

Unfortunately, I'm fairly new to AIX, and building things
from source, so these
lines really don't mean much to me.  Any help that you can
provide would be
greatly appreciated.  Thanks!



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )