Boost logo

Boost Users :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2008-05-20 08:35:54


Hi,

I am having problems with compiling boost 1.35 on AIX
5.3 with gcc 4.0.0. I get the pthread errors below. I
am new to AIX, so I have hopes that this can be easily
solved....

Cheers,
Andrej

ibm1# make
./tools/jam/src/bin.aix/bjam
--user-config=user-config.jam --with-date_time
...patience...
...found 453 targets...
...updating 4 targets...
gcc.compile.c++
bin.v2/libs/date_time/build/gcc-4.0.0/release/threading-multi/greg_month.o
/usr/include/pthread.h:596: error: 'pthread_rwlock_t'
was not declared in this scope
/usr/include/pthread.h:596: error: expected
primary-expression before ')' token
/usr/include/pthread.h:599: error: 'pthread_rwlock_t'
was not declared in this scope
/usr/include/pthread.h:599: error: expected
primary-expression before ',' token
/usr/include/pthread.h:599: error: expected
primary-expression before 'const'
/usr/include/pthread.h:599: error: initializer
expression list treated as compound expression
/usr/include/pthread.h:603: error: 'pthread_rwlock_t'
was not declared in this scope
/usr/include/pthread.h:603: error: expected
primary-expression before ')' token
/usr/include/pthread.h:606: error: 'pthread_rwlock_t'
was not declared in this scope
/usr/include/pthread.h:606: error: expected
primary-expression before ')' token
/usr/include/pthread.h:609: error: 'pthread_rwlock_t'
was not declared in this scope
/usr/include/pthread.h:609: error: expected
primary-expression before ')' token
/usr/include/pthread.h:612: error: 'pthread_rwlock_t'
was not declared in this scope
/usr/include/pthread.h:612: error: expected
primary-expression before ')' token
/usr/include/pthread.h:615: error: 'pthread_rwlock_t'
was not declared in this scope
/usr/include/pthread.h:615: error: expected
primary-expression before ')' token
/usr/include/pthread.h:618: error:
'pthread_rwlockattr_t' was not declared in this scope
/usr/include/pthread.h:618: error: expected
primary-expression before ')' token
/usr/include/pthread.h:621: error: expected ',' or
'...' before '*' token
/usr/include/pthread.h:625: error:
'pthread_rwlockattr_t' was not declared in this scope
/usr/include/pthread.h:625: error: expected
primary-expression before ')' token
/usr/include/pthread.h:628: error:
'pthread_rwlockattr_t' was not declared in this scope
/usr/include/pthread.h:628: error: expected
primary-expression before ',' token
/usr/include/pthread.h:628: error: expected
primary-expression before 'int'
/usr/include/pthread.h:628: error: initializer
expression list treated as compound expression
/usr/include/pthread.h:639: error: 'pthread_rwlock_t'
was not declared in this scope
/usr/include/pthread.h:639: error: expected
primary-expression before ',' token
/usr/include/pthread.h:639: error: expected
primary-expression before 'const'
/usr/include/pthread.h:639: error: initializer
expression list treated as compound expression
/usr/include/pthread.h:643: error: 'pthread_rwlock_t'
was not declared in this scope
/usr/include/pthread.h:643: error: expected
primary-expression before ',' token
/usr/include/pthread.h:643: error: expected
primary-expression before 'const'
/usr/include/pthread.h:643: error: initializer
expression list treated as compound expression
/usr/include/pthread.h:666: error:
'pthread_spinlock_t' was not declared in this scope
/usr/include/pthread.h:666: error: expected
primary-expression before ',' token
/usr/include/pthread.h:666: error: expected
primary-expression before 'int'
/usr/include/pthread.h:666: error: initializer
expression list treated as compound expression
/usr/include/pthread.h:669: error:
'pthread_spinlock_t' was not declared in this scope
/usr/include/pthread.h:669: error: expected
primary-expression before ')' token
/usr/include/pthread.h:672: error:
'pthread_spinlock_t' was not declared in this scope
/usr/include/pthread.h:672: error: expected
primary-expression before ')' token
/usr/include/pthread.h:675: error:
'pthread_spinlock_t' was not declared in this scope
/usr/include/pthread.h:675: error: expected
primary-expression before ')' token
/usr/include/pthread.h:678: error:
'pthread_spinlock_t' was not declared in this scope
/usr/include/pthread.h:678: error: expected
primary-expression before ')' token
/usr/include/pthread.h:686: error:
'pthread_barrierattr_t' was not declared in this scope
/usr/include/pthread.h:686: error: expected
primary-expression before ')' token
/usr/include/pthread.h:689: error:
'pthread_barrierattr_t' was not declared in this scope
/usr/include/pthread.h:689: error: expected
primary-expression before ')' token
/usr/include/pthread.h:692: error: expected ',' or
'...' before '*' token
/usr/include/pthread.h:695: error:
'pthread_barrierattr_t' was not declared in this scope
/usr/include/pthread.h:695: error: expected
primary-expression before ',' token
/usr/include/pthread.h:695: error: expected
primary-expression before 'int'
/usr/include/pthread.h:695: error: initializer
expression list treated as compound expression
/usr/include/pthread.h:703: error: 'pthread_barrier_t'
was not declared in this scope
/usr/include/pthread.h:703: error: expected
primary-expression before ',' token
/usr/include/pthread.h:703: error: expected
primary-expression before 'const'
/usr/include/pthread.h:703: error: expected
primary-expression before 'unsigned'
/usr/include/pthread.h:703: error: initializer
expression list treated as compound expression
/usr/include/pthread.h:707: error: 'pthread_barrier_t'
was not declared in this scope
/usr/include/pthread.h:707: error: expected
primary-expression before ')' token
/usr/include/pthread.h:710: error: 'pthread_barrier_t'
was not declared in this scope
/usr/include/pthread.h:710: error: expected
primary-expression before ')' token

      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net