Opened 4 years ago
Closed 3 years ago
#917 closed defect (fixed)
undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3'
Reported by: | Peter | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | build | Version: | 0.15.1 |
Keywords: | Cc: |
Description
I get the error message when linking against libyat.
The problem goes away when I add -pthread
to the commandline. For some reason yat-config --cppflags
contain -pthread
but yat-config --cxxflags
and yat-config --ldflags
does not.
This looks like a bug yat-config
to me.
Change History (3)
comment:1 Changed 4 years ago by
comment:2 Changed 4 years ago by
The issue is possibly related with this bug report at autoconf archive.
comment:3 Changed 3 years ago by
Milestone: | yat 0.x+ |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Irrelevant after #953 has been implemented.
Note: See
TracTickets for help on using
tickets.
I cannot reproduce this is with GCC6.