Done! I started to compile and It seems to compile without any problem... Maybe you want to put on your space the first version without embedded crypto that use crypto++
About the errors: the compiler complains about this code (in pthread.h):
163:extern int pthread_create (pthread_t *__restrict __thread,
__const pthread_attr_t *__restrict __attr,
void *(*__start_routine) (void *),
void *__restrict __arg) __THROW;
591:extern int pthread_cancel (pthread_t __thread) __THROW;
It's strange, I found that pthread_t is an "typedef unsigned long int pthread_t" and should be declared. But other functions using this type don't generate any error...