Skip to content

Installation and build issues on latest raspbian bullseye and raspberry 3 #21

@IVIJL

Description

@IVIJL

Hello tried to install this app and at first when I did try to install prerequisite packages this package no longer exist: ruby2.5-dev so I just used ruby-dev instead.

Then I tried to make in Clockit folder and got this error:

clockkit.cpp:(.text+0x1e8): undefined reference to `pthread_create'
/usr/bin/ld: clockkit.o: in function `ckInitialize(char const*)':
clockkit.cpp:(.text+0x1e8): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make: *** [Makefile:100: ckserver] Error 1
make: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make: *** [Makefile:103: ckphaselock] Error 1
collect2: error: ld returned 1 exit status
make: *** [Makefile:97: cktest-unit] Error 1
/usr/bin/ld: /tmp/ccuLpkEv.o: in function `void std::vector<std::thread, std::allocator<std::thread> >::_M_realloc_insert<void (dex::PhaseLockedClock::*)(std::atomic<bool>&), dex::PhaseLockedClock*&, std::reference_wrapper<std::atomic<bool> > >(__gnu_cxx::__normal_iterator<std::thread*, std::vector<std::thread, std::allocator<std::thread> > >, void (dex::PhaseLockedClock::*&&)(std::atomic<bool>&), dex::PhaseLockedClock*&, std::reference_wrapper<std::atomic<bool> >&&)':
test-standalone.cpp:(.text._ZNSt6vectorISt6threadSaIS0_EE17_M_realloc_insertIJMN3dex16PhaseLockedClockEFvRSt6atomicIbEERPS5_St17reference_wrapperIS7_EEEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_[_ZNSt6vectorISt6threadSaIS0_EE17_M_realloc_insertIJMN3dex16PhaseLockedClockEFvRSt6atomicIbEERPS5_St17reference_wrapperIS7_EEEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_]+0x1e4): undefined reference to `pthread_create'
/usr/bin/ld: /tmp/ccuLpkEv.o: in function `main':
test-standalone.cpp:(.text.startup+0x298): undefined reference to `pthread_create'
/usr/bin/ld: clockkit.o: in function `ckInitialize(char const*)':
clockkit.cpp:(.text+0x1e8): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make: *** [Makefile:94: cktest-standalone] Error 1

Any help ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions