Search found 3 matches
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: make error: phtread
- Replies: 2
- Views: 8987
make error: phtread
Hi! I get this error running make: 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 retur...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: make error: phtread
- Replies: 2
- Views: 8987
Re: make error: phtread
Answering my own question:
I put the following lines in the CMakeLists.txt file:
I put the following lines in the CMakeLists.txt file:
Code: Select all
set(CMAKE_C_FLAGS "-pthread")
set(CMAKE_CXX_FLAGS "-pthread")
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Strange behaviour
- Replies: 1
- Views: 4096
Strange behaviour
Hej! Hur kan det bli så här? /volume1/homes/me $ tdtool --list /volume1/homes/me $ tdtool -e 44 Learning device: 44 - Could not connect to the Telldus Service /volume1/homes/me $ tdtool --list Error fetching devices: Could not connect to the Telldus Service /volume1/homes/me $ Det verkar ju som det ...