[multicat-devel] Fix missing pthread

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


On Sa, 2016-03-19 at 22:01 +0100, Jörg Krause wrote:
> 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.

I'll resend with patch in-place instead of attached.

Best regards
Jörg Krause


More information about the multicat-devel mailing list