./../.. -I./../cryptoki_compat -I./../crypto -I./../data_mgr -I./.. -g -O2 -MT Semaphore.lo -MD -MP -MF .deps/Semaphore.Tpo -c -o Semaphore.lo Semaphore.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../cryptoki_compat -I./../crypto -I./../data_mgr -I./.. -g -O2 -MT Semaphore.lo -MD -MP -MF .deps/Semaphore.Tpo -c Semaphore.cpp -fno-common -DPIC -o .libs/Semaphore.o
In file included from Semaphore.cpp:34:
Semaphore.h:60: error: expected `)' before '*' token
Semaphore.h:63: error: ISO C++ forbids declaration of 'sem_t' with no type
Semaphore.h:63: error: expected ';' before '*' token
Semaphore.cpp: In static member function 'static Semaphore* Semaphore::create(int, std::string)':
Semaphore.cpp:59: error: 'sem_t' was not declared in this scope
Semaphore.cpp:59: error: 'semaphore' was not declared in this scope
Semaphore.cpp:59: error: 'sem_open' was not declared in this scope
Semaphore.cpp: At global scope:
Semaphore.cpp:70: error: expected `)' before '*' token
Semaphore.cpp: In destructor 'virtual Semaphore::~Semaphore()':
Semaphore.cpp:80: error: 'semaphore' was not declared in this scope
Semaphore.cpp:80: error: 'sem_close' was not declared in this scope
Semaphore.cpp:85: error: 'sem_unlink' was not declared in this scope
Semaphore.cpp: In member function 'bool Semaphore::inc()':
Semaphore.cpp:92: error: 'semaphore' was not declared in this scope
Semaphore.cpp:92: error: 'sem_post' was not declared in this scope
Semaphore.cpp: In member function 'bool Semaphore::dec(bool)':
Semaphore.cpp:100: error: 'semaphore' was not declared in this scope
Semaphore.cpp:100: error: 'sem_wait' was not declared in this scope
Semaphore.cpp:104: error: 'semaphore' was not declared in this scope
Semaphore.cpp:104: error: 'sem_trywait' was not declared in this scope
Semaphore.cpp: In member function 'int Semaphore::getValue()':
Semaphore.cpp:113: error: 'semaphore' was not declared in this scope
Semaphore.cpp:113: error: 'sem_getvalue' was not declared in this scope
make[4]: *** [Semaphore.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2