tihmstar / usbmuxd2

A socket daemon written in C++ to multiplex connections from and to iOS devices over USB and WIFI
GNU Lesser General Public License v3.0
188 stars 40 forks source link

Error compliling. Undefined reference to symbol pthread #13

Closed olly1240 closed 2 years ago

olly1240 commented 2 years ago

Hi, I tried compiling usbmuxd2 from source, following the procedure listed in README.md but I am getting an error from usbmux-Client.o complaining about pthread:

/usr/bin/ld: usbmuxd-Client.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/libpthread.so.0: error adding symbols: DSO missing from command line

I tried adding -lpthread to Makefile LIBS but to no avail

I don't know how to proceed

olly1240 commented 2 years ago

Fixed since opening the issue