Hello

i am trying to compile the source on a IBM power-pc with OS AIX 5.3, i have 
problems when i execute 'make'. It seems not understand correctly the 
multithread library 'pthread.h'. I am sure that library exists in the system 
but compiler give me a lot of those messages:

==>Entering directory /home/ingdev/src/bacula/bacula-1.36.3/src/lib
        g++   -c   -I. -I..  -g -O2 -Wall  attr.c
In file included from ../bacula.h:48,
                 from attr.c:29:
/usr/include/pthread.h:652: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:652: error: parse error before `,' token
/usr/include/pthread.h:655: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:655: error: parse error before `)' token
/usr/include/pthread.h:658: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:658: error: parse error before `)' token
/usr/include/pthread.h:661: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:661: error: parse error before `)' token
/usr/include/pthread.h:664: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:664: error: parse error before `)' token
/usr/include/pthread.h:672: error: `pthread_barrierattr_t' was not declared in
   this scope
/usr/include/pthread.h:672: error: parse error before `)' token
/usr/include/pthread.h:675: error: `pthread_barrierattr_t' was not declared in
   this scope
/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: `pthread_barrierattr_t' was not declared in
   this scope
/usr/include/pthread.h:681: error: parse error before `,' token
/usr/include/pthread.h:689: error: `pthread_barrier_t' was not declared in 
this
   scope
/usr/include/pthread.h:689: error: parse error before `,' token
/usr/include/pthread.h:693: error: `pthread_barrier_t' was not declared in 
this
   scope
/usr/include/pthread.h:693: error: parse error before `)' token
/usr/include/pthread.h:696: error: `pthread_barrier_t' was not declared in 
this
   scope
/usr/include/pthread.h:696: error: parse error before `)' token
make: 1254-004 The error code from the last command is 1.

Please. Any idea?  could it be a problem with the linker?
-- 
Manuel Jesús Nogales Nogales
Dpt. Ingenieria de Sistemas. EUROCIBER
[EMAIL PROTECTED]


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to