This appears to be a regression issue, see bug 889.
In macOS running ./configure followed by make generates the following error:
duplicate symbol _use_mtpz in:
.libs/libmtp_la-libmtp.o
.libs/libmtp_la-mtpz.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: [libmtp.la] Error 1
make[1]: [all-recursive] Error 1
make: *** [all] Error 2
Running ./configure —disable-mtpz and making afterwards solves the issue but with the price of no mtpz support of course.
The same issue exists in 1.1.14 and in Sierra.
Hope someone will fix this :-)
Regards,
Boyan
Anonymous
i moved the use_mtpz variable into libmtp.c and use extern int usxe_mtpz; in mtpz.h
this should cvure it hopefully