Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行报错 #112

Open
chenzhu005774 opened this issue Aug 24, 2023 · 0 comments
Open

运行报错 #112

chenzhu005774 opened this issue Aug 24, 2023 · 0 comments

Comments

@chenzhu005774
Copy link

/usr/bin/ld: /usr/local/lib/libhandy.a(event_base.o): in function std::thread::thread<handy::MultiBase::loop()::{lambda()#1}, , void>(handy::MultiBase::loop()::{lambda()#1}&&)': /usr/include/c++/9/thread:126: undefined reference to pthread_create'
/usr/bin/ld: /usr/local/lib/libhandy.a(logging.o): in function std::thread::thread<handy::Logger::maybeRotate()::{lambda()#1}, , void>(handy::Logger::maybeRotate()::{lambda()#1}&&)': /usr/include/c++/9/thread:126: undefined reference to pthread_create'
/usr/bin/ld: /usr/local/lib/libhandy.a(threads.o): in function std::thread::thread<handy::ThreadPool::start()::{lambda()#1}, , void>(handy::ThreadPool::start()::{lambda()#1}&&)': /usr/include/c++/9/thread:126: undefined reference to pthread_create'
collect2: error: ld returned 1 exit status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant