On 5/29/19 12:12 PM, Trond Myklebust wrote: >>>> I'm not really sure why this is happening on this patch and how >>>> I missed this in the first version.. but I'm getting the >>>> following >>>> linking error after applying this patch >>>> >>>> /usr/bin/ld: ../../support/misc/libmisc.a(workqueue.o): in >>>> function >>>> `xthread_workqueue_worker': >>>> /home/src/up/nfs-utils/support/misc/workqueue.c:133: undefined >>>> reference to `__pthread_register_cancel' >>>> /usr/bin/ld: /home/src/up/nfs-utils/support/misc/workqueue.c:135: >>>> undefined reference to `__pthread_unregister_cancel' >>>> /usr/bin/ld: ../../support/misc/libmisc.a(workqueue.o): in >>>> function >>>> `xthread_workqueue_alloc': >>>> /home/src/up/nfs-utils/support/misc/workqueue.c:149: undefined >>>> reference to `pthread_create' >>>> collect2: error: ld returned 1 exit status >>>> >>>> To get things to link I need this patch >>>> >>> Huh, that's weird... I've been compiling this over and over and >>> have >>> yet to see that compile error. FYI... It turns out enabling systemd (aka --with-systemd) cause the error... steved.