[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compiling libtunepimp: problem and fix


I was having problems with "apt-get source --compile libtunepimp" on an amd64 
system and debian testing from 

The error message:
thread.cpp: In member function `virtual bool Thread::isThreadAlive(void*)':
thread.cpp:89: error: `pthread_kill' undeclared (first use this function)
thread.cpp:89: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
make[5]: *** [thread.lo] Error 1
make[5]: Leaving directory `/usr/src/libtunepimp-0.3.0/lib/threads/posix'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/libtunepimp-0.3.0/lib/threads'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/libtunepimp-0.3.0/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/libtunepimp-0.3.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/libtunepimp-0.3.0'
make: *** [debian/stamp-makefile-build] Error 2

The fix is very simple: add "#include <signal.h>" to 


Stefan Heimers

Reply to: