[multicat-devel] Fix missing pthread

Jörg Krause joerg.krause at embedded.rocks
Sat Mar 19 22:01:43 CET 2016


Building multicat statically fails with undefined references to
pthread:
  aggregartp.c:381: undefined reference to `pthread_self'
  aggregartp.c:381: undefined reference to `pthread_setschedparam'
  reordertp.c:572: undefined reference to `pthread_self'
  reordertp.c:572: undefined reference to `pthread_setschedparam'

Fix this by adding -lpthread to LDLIBS. Patch is attached.

Best regards
Jörg Krause
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-missing-pthread.patch
Type: text/x-patch
Size: 509 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/multicat-devel/attachments/20160319/6d2fdeec/attachment.bin>


More information about the multicat-devel mailing list