Problem | helloworld |
---|---|
User | Elnathan |
Submission Time | 2023-07-17 22:04:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
/usr/bin/ld: /tmp/ccGR0koB.o: in function `std::thread::thread<void (&)(), , void>(void (&)())':
helloworld.cpp:(.text._ZNSt6threadC2IRFvvEJEvEEOT_DpOT0_[_ZNSt6threadC5IRFvvEJEvEEOT_DpOT0_]+0x44): undefined reference to `pthread_create'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/libstdc++.a(thread.o): in function `std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())':
(.text._ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE+0x15): undefined reference to `pthread_create'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/libstdc++.a(thread.o): in function `std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>, void (*)())':
(.text._ZNSt6thread15_M_start_threadESt10shared_ptrINS_10_Impl_baseEEPFvvE+0x68): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status