Hi Steve,

Unfortunately the use of pthread_spin_lock by logsys makes corosync  
unusable/uncompilable on a number of platforms including OSX:
    
http://www.gnu.org/software/gnulib/manual/html_node/pthread_005fspin_005flock.html

Is there an alternative you could use instead?

The full gcc output follows:
==== /Users/beekhof/Development/corosync-svn/exec ===
logsys.c:114: error: syntax error before 'logsys_idx_spinlock'
logsys.c:114: warning: type defaults to 'int' in declaration of  
'logsys_idx_spinlock'
logsys.c:114: warning: data definition has no type or storage class
logsys.c: In function 'records_reclaim':
logsys.c:176: warning: implicit declaration of function  
'pthread_spin_lock'
logsys.c:205: warning: implicit declaration of function  
'pthread_spin_unlock'
logsys.c: In function '_logsys_rec_init':
logsys.c:567: warning: implicit declaration of function  
'pthread_spin_init'
make[1]: *** [logsys.o] Error 1
make: *** [all] Error 2

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to