Skip to content

[Bug]: make some programs raise error: undefined symbol: pthread_cancel #2639

Closed Answered by DethByte64
Yang-qwq asked this question in Q&A
Discussion options

You must be logged in to vote

Its missing the pthread library. On line 288 of Makefile:
Change

LIBS = -lm

to

LIBS = -lm -lpthread

Then run: make -j

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by thunder-coding
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #2638 on March 05, 2022 16:04.