[ACCEPTED]-Undefined reference error _dl_stack_flags with gcc and pthreads-pthreads
Accepted answer
This question was also asked on Ask Ubuntu.
In short, the 5 problem appears to be due to trying to statically 4 link libpthread
against a dynamic libc
. Dynamically linking 3 libpthread
should make the error go away, and I suspect 2 that the error would also go away if both 1 libpthread
and libc
were statically linked.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.