Posted by: techtom
trouble building emptool - 14/11/2013 06:33
I'm trying to compile emptool 2.00. I've fixed most of the issues and updated the python scripts with re, removing regex. I'm having a problem with the mutex.h file. Any cpp file that uses mutex.h has the same error:
Code:
make BUILD=car2 ARCH=pc emptool make -C car-support/emptool make[1]: Entering directory `/drive0/sswazey/empeg/emptool-release-2.00/car-support/emptool' make[2]: Entering directory `/drive0/sswazey/empeg/emptool-release-2.00/lib/core' Compiling dnew.cpp In file included from dnew.cpp:40: mutex.h:62: error: base type ‘pthread_mutex_t’ fails to be a struct or class type mutex.h:87: error: field ‘mutex’ has incomplete type mutex.h: In member function ‘RawMutex* Mutex::GetRawMutex()’: mutex.h:120: error: ‘mutex’ was not declared in this scope make[2]: *** [pc-car2-debug2/dnew.o] Error 1 make[2]: Leaving directory `/drive0/sswazey/empeg/emptool-release-2.00/lib/core' make[1]: *** [.lib-empeg_core] Error 2 make[1]: Leaving directory `/drive0/sswazey/empeg/emptool-release-2.00/car-support/emptool' make: *** [emptool] Error 2