pupnp / pupnp

libupnp: Build UPnP-compliant control points, devices, and bridges on several operating systems.
https://pupnp.github.io/pupnp
BSD 3-Clause "New" or "Revised" License
353 stars 117 forks source link

Build failure on Fedora 35+ #331

Closed limburgher closed 2 years ago

limburgher commented 2 years ago

Sample of log:

libtool: link: gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Os -Wextra -Wpedantic -o .libs/tv_combo common/tv_combo-sample_util.o common/tv_combo-tv_ctrlpt.o common/tv_combo-tv_device.o linux/tv_combo-tv_combo_main.o  ../../upnp/.libs/libupnp.so /builddir/build/BUILD/libupnp-1.14.7/ixml/.libs/libixml.so ../../ixml/.libs/libixml.so -lpthread -pthread
make[3]: Leaving directory '/builddir/build/BUILD/libupnp-1.14.7/upnp/sample'
/usr/bin/ld: /tmp/ccUUhb29.ltrans0.ltrans.o: in function `SampleUtil_Initialize.constprop.0':
/builddir/build/BUILD/libupnp-1.14.7/upnp/sample/common/sample_util.c:68: undefined reference to `pthread_mutexattr_setkind_np'

https://bugzilla.redhat.com/show_bug.cgi?id=1987667

mrjimenez commented 2 years ago

Hi Gwyn,

I can't test it here, can you test this patch: #334 ?

limburgher commented 2 years ago

Works perfectly, thank you!

Vollstrecker commented 2 years ago

Works means closed.