You are not logged in.
Hi All.
I face the following errors when compiling libmtp in my ArchLinux desktop
libtool: link: gcc -march=i686 -mtune=generic -O2 -pipe -Wall -Wmissing-prototypes -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/mtp-connect connect.o delfile.o getfile.o newfolder.o sendfile.o sendtr.o pathutils.o util.o ../src/.libs/libmtp.so
../src/.libs/libmtp.so: undefined reference to `get_usb_device_timeout'
../src/.libs/libmtp.so: undefined reference to `LIBMTP_Detect_Raw_Devices'
../src/.libs/libmtp.so: undefined reference to `get_playlist_extension'
../src/.libs/libmtp.so: undefined reference to `ptp_usb_event_wait'
../src/.libs/libmtp.so: undefined reference to `set_usb_device_timeout'
../src/.libs/libmtp.so: undefined reference to `guess_usb_speed'
../src/.libs/libmtp.so: undefined reference to `configure_usb_device'
../src/.libs/libmtp.so: undefined reference to `dump_usbinfo'
../src/.libs/libmtp.so: undefined reference to `close_device'
However, when I compile it on my ArchLinux server the compilation was successful.
I am wondering and would like to understand more why is the compilation issue happening.
Why it happens only on my desktop?
Is it due to AUR packages installed?
I would like to understand more on the issue so that I can quickly resolve the issue when it happens.
Offline
Do you have libusb-compat installed? Also, have you tried simply installing libmtp from the official repositories, or libmtp-git from the AUR? If you're simply trying to installing the latest libmtp, libmtp-git from the AUR should work.
D:
Offline