make error: phtread
Posted: Fri Mar 17, 2023 9:45 am
Hi!
I get this error running make:
How do I correct this? Note that I'm cross-compiling telldus-center for the arm architecture (Synology NAS) on a Xubuntu PC.
Regards,
Bengt
I get this error running make:
Code: Select all
Linking CXX executable tdtool
/usr/local/src/telldus-core-2.1.1/build/client/libtelldus-core.so: undefined reference to `pthread_create'
/usr/local/src/telldus-core-2.1.1/build/client/libtelldus-core.so: undefined reference to `pthread_join'
collect2: fel: ld returnerade avslutningsstatus 1
make[2]: *** [tdtool/tdtool] Fel 1
make[1]: *** [tdtool/CMakeFiles/tdtool.dir/all] Fel 2
make: *** [all] Fel 2
Regards,
Bengt