Menu

#1800 Libmtp 1-1-15 does not compile under macOS High Sierra

1.1.15
closed
None
1
2018-10-03
2018-09-23
Boyan Radev
No

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

Discussion

  • Marcus Meissner

    Marcus Meissner - 2018-10-03
    • status: open --> closed
    • assigned_to: Marcus Meissner
    • Group: unknown release (please set) --> 1.1.15
     
  • Marcus Meissner

    Marcus Meissner - 2018-10-03

    i moved the use_mtpz variable into libmtp.c and use extern int usxe_mtpz; in mtpz.h

    this should cvure it hopefully

     

Anonymous
Anonymous

Add attachments
Cancel