I'm trying to install libmtp using msys. the direction are to run these commands:
./configure
make all
make install
i successfully run the first command but when i run the second i get an error:
make all-recursive
make[1]: Entering directory `/c/libmtp-1.1.1'
Making all in src
make[2]: Entering directory `/c/libmtp-1.1.1/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g
-O2 -Wall -Wmissing-prototypes -MT libmtp.lo -MD -MP -MF .deps/libmtp.Tpo -c -o
libmtp.lo libmtp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Wmissing-prototype
s -MT libmtp.lo -MD -MP -MF .deps/libmtp.Tpo -c libmtp.c -DDLL_EXPORT -DPIC -o
.libs/libmtp.o
libmtp.c: In function 'LIBMTP_Open_Raw_Device_Uncached':
libmtp.c:1822:17: error: 'PTPParams' has no member named 'cd_locale_to_ucs2'
libmtp.c:1822:3: warning: implicit declaration of function 'iconv_open'
libmtp.c:1823:17: error: 'PTPParams' has no member named 'cd_ucs2_to_locale'
libmtp.c:1825:20: error: 'PTPParams' has no member named 'cd_locale_to_ucs2'
libmtp.c:1825:44: error: 'iconv_t' undeclared (first use in this function)
libmtp.c:1825:44: note: each undeclared identifier is reported only once for eac
h function it appears in
libmtp.c:1826:20: error: 'PTPParams' has no member named 'cd_ucs2_to_locale'
libmtp.c: In function 'LIBMTP_Release_Device':
libmtp.c:2262:3: warning: implicit declaration of function 'iconv_close'
libmtp.c:2262:21: error: 'PTPParams' has no member named 'cd_locale_to_ucs2'
libmtp.c:2263:21: error: 'PTPParams' has no member named 'cd_ucs2_to_locale'
libmtp.c: In function 'LIBMTP_Dump_Device_Info':
libmtp.c:3283:7: warning: unknown conversion type character 'l' in format
libmtp.c:3283:7: warning: too many arguments for format
libmtp.c:3284:7: warning: unknown conversion type character 'l' in format
libmtp.c:3284:7: warning: too many arguments for format
libmtp.c:3285:7: warning: unknown conversion type character 'l' in format
libmtp.c:3285:7: warning: too many arguments for format
make[2]: *** [libmtp.lo] Error 1
make[2]: Leaving directory `/c/libmtp-1.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/libmtp-1.1.1'
make: *** [all] Error 2
this is the most frustrating thing, ive been trying to get this to work for a couple of days now. Does anyone know the solution?