Package: libportmidi0 Version: 20041117-1
Tha attached patch fixes this bug. It modifies the Makefile to link portmidi against porttime, and porttime against pthread.
--- a/Makefile +++ b/Makefile @@ -36,13 +36,13 @@ current: all all: $(pmlib) $(ptlib) pm_test/test pm_test/sysex pm_test/midithread \ pm_test/latency pm_test/midithru -$(pmlib): Makefile $(pmobjects) +$(pmlib): Makefile $(pmobjects) $(ptlib) ar -cr $(pmlib) $(pmobjects) - $(CC) -shared $(ALSALIB) $(pmobjects) -Wl,-soname -Wl,libportmidi.so.0 -o $(pmslib) + $(CC) -shared $(ALSALIB) $(pmobjects) $(ptslib) -Wl,-soname -Wl,libportmidi.so.0 -o $(pmslib) $(ptlib): Makefile $(ptobjects) ar -cr $(ptlib) $(ptobjects) - $(CC) -shared $(ptobjects) -Wl,-soname -Wl,libporttime.so.0 -o $(ptslib) + $(CC) -shared $(ptobjects) -lpthread -Wl,-soname -Wl,libporttime.so.0 -o $(ptslib) pm_linux/pmlinuxalsa.o: Makefile pm_linux/pmlinuxalsa.c pm_linux/pmlinuxalsa.h