I am trying to compile my first project but i receive the following errors:
libPocoFoundationd.a(Mutex.o): In function `MutexImpl':
data/poco-1.4.6-all/Foundation/src/Mutex_POSIX.cpp:71: undefined reference to `pthread_mutexattr_init'
data/poco-1.4.6-all/Foundation/src/Mutex_POSIX.cpp:75: undefined reference to `pthread_mutexattr_settype'
data/poco-1.4.6-all/Foundation/src/Mutex_POSIX.cpp:79: undefined reference to `pthread_mutexattr_destroy'
data/poco-1.4.6-all/Foundation/src/Mutex_POSIX.cpp:82: undefined reference to `pthread_mutexattr_destroy'
data/poco-1.4.6-all/Foundation/src/Mutex_POSIX.cpp:96: undefined reference to `pthread_mutexattr_init'
ddata/poco-1.4.6-all/Foundation/src/Mutex_POSIX.cpp:100: undefined reference to `pthread_mutexattr_settype'
data/poco-1.4.6-all/Foundation/src/Mutex_POSIX.cpp:104: undefined reference to `pthread_mutexattr_destroy'
data/poco-1.4.6-all/Foundation/src/Mutex_POSIX.cpp:107: undefined reference to `pthread_mutexattr_destroy'
data/poco-1.4.6-all/lib/Linux/i686/libPocoFoundationd.a(Mutex.o): In function `Poco::MutexImpl::tryLockImpl(long)':
data/poco-1.4.6-all/Foundation/src/Mutex_POSIX.cpp:130: undefined reference to `pthread_mutex_timedlock'
collect2: ld returned 1 exit status
make: *** [Poco] Error 1
The code is from the dir example.
I am able to compile the DateTime example just fine.





