Am Sat, 2 Nov 2019 00:18:56 -0400 schrieb Sasha Levin <sashal@xxxxxxxxxx>: > make[1]: Leaving directory '/home/sasha/linux/tools/hv' > gcc -O2 -Wall -g -D_GNU_SOURCE -Iinclude -lpthread hv_kvp_daemon-in.o -o hv_kvp_daemon > /usr/bin/ld: hv_kvp_daemon-in.o: in function `kvp_obtain_domain_name': > /home/sasha/linux/tools/hv/hv_kvp_daemon.c:1372: undefined reference to `pthread_create' > /usr/bin/ld: /home/sasha/linux/tools/hv/hv_kvp_daemon.c:1377: undefined reference to `pthread_detach' Is perhaps '-pthread' instead of -lpthread' required, as indicated by pthread_create(3)? Not sure why it happens to work for me. But I will make this change for the upcoming v2. Olaf
Attachment:
pgp28WJGQ0njG.pgp
Description: Digitale Signatur von OpenPGP