Skip to content

error in archlinux 64bit build #25

@lutgaru

Description

@lutgaru

when trying to build the following compilation error is received

HackRF_Streaming.cpp :(. Text + 0x1c4b): undefined reference to 'pthread_cond_clockwait ' /usr/bin/ld: HackRF_Streaming.cpp :(. text + 0x1d25): undefined reference to 'pthread_cond_clockwait ' collect2: error: ld returned exit status 1 make [2]: *** [CMakeFiles/HackRFSupport.dir/build.make: 166: libHackRFSupport.so] Error 1 make [1]: *** [CMakeFiles/Makefile2: 96: CMakeFiles/HackRFSupport.dir/all] Error 2

I solved it by editing lines 41 and 43 of CMakeLists.txt adding -lpthread

but surely this is not the best way to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions