Compiling Parmacs application
Hamid Reza Khaleghzadeh
khaleghzadeh@gmail.com
Wed Jan 11 22:11:00 GMT 2012
Hi
Could you tell me how parmacs application can be compiled?
Parmacs as PThread is a library for creating multi threaded applications.
I have written a parmacs application and when compile it with gcc, I
encounter with following error:
/home/hamidreza/parmacs.upc.3/pthreads/parmacs.h:35:1: error: unknown
type name ‘parmacs_barrier’
/home/hamidreza/parmacs.upc.3/pthreads/parmacs.h:36:1: error: unknown
type name ‘parmacs_global’
/home/hamidreza/parmacs.upc.3/pthreads/parmacs.h:37:1: error: unknown
type name ‘parmacs_event’
/home/hamidreza/parmacs.upc.3/pthreads/parmacs.h:38:1: error: unknown
type name ‘parmacs_lock’
/home/hamidreza/parmacs.upc.3/pthreads/parmacs.h:69:1: error: unknown
type name ‘parmacs_pid’
/home/hamidreza/parmacs.upc.3/pthreads/parmacs.h:71:1: error: unknown
type name ‘parmacs_timestamp’
par.c: In function ‘main’:
par.c:13:2: error: invalid use of void expression
par.c:14:2: error: invalid use of void expressio
Could you help me?
Thanks
More information about the Gcc-help
mailing list