I am trying to compile this and keep getting these 'cd_locale_to_ucs2' type errors
I am using Puppy Linux 5.7.1 and lots of the locale stuff iis skimmed off to reduce size.
Can anyone tell me what package I can install to put these variables on my machine?
Ty Tower
make all-recursive
make[1]: Entering directory /initrd/mnt/dev_save/TempSave/Software/libmtp-1.1.4'
Making all in src
make[2]: Entering directory
/initrd/mnt/dev_save/TempSave/Software/libmtp-1.1.4/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -g -O2 -Wall -Wmissing-prototypes -MT libmtp_la-libmtp.lo -MD -MP -MF .deps/libmtp_la-libmtp.Tpo -c -o libmtp_la-libmtp.lo test -f 'libmtp.c' || echo './'
libmtp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -g -O2 -Wall -Wmissing-prototypes -MT libmtp_la-libmtp.lo -MD -MP -MF .deps/libmtp_la-libmtp.Tpo -c libmtp.c -fPIC -DPIC -o .libs/libmtp_la-libmtp.o
libmtp.c: In function 'LIBMTP_Open_Raw_Device_Uncached':
libmtp.c:1846:17: error: 'PTPParams' has no member named 'cd_locale_to_ucs2'
libmtp.c:1846:3: warning: implicit declaration of function 'iconv_open' [-Wimplicit-function-declaration]
libmtp.c:1847:17: error: 'PTPParams' has no member named 'cd_ucs2_to_locale'
libmtp.c:1849:20: error: 'PTPParams' has no member named 'cd_locale_to_ucs2'
libmtp.c:1849:44: error: 'iconv_t' undeclared (first use in this function)
libmtp.c:1849:44: note: each undeclared identifier is reported only once for each function it appears in
libmtp.c:1850:20: error: 'PTPParams' has no member named 'cd_ucs2_to_locale'
libmtp.c: In function 'LIBMTP_Read_Event':
libmtp.c:2121:12: warning: variable 'param3' set but not used [-Wunused-but-set-variable]
libmtp.c:2120:12: warning: variable 'param2' set but not used [-Wunused-but-set-variable]
libmtp.c:2119:12: warning: variable 'param1' set but not used [-Wunused-but-set-variable]
libmtp.c:2118:12: warning: variable 'transaction_id' set but not used [-Wunused-but-set-variable]
libmtp.c: In function 'LIBMTP_Release_Device':
libmtp.c:2314:3: warning: implicit declaration of function 'iconv_close' [-Wimplicit-function-declaration]
libmtp.c:2314:21: error: 'PTPParams' has no member named 'cd_locale_to_ucs2'
libmtp.c:2315:21: error: 'PTPParams' has no member named 'cd_ucs2_to_locale'
make[2]: [libmtp_la-libmtp.lo] Error 1
make[2]: Leaving directory /initrd/mnt/dev_save/TempSave/Software/libmtp-1.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
/initrd/mnt/dev_save/TempSave/Software/libmtp-1.1.4'
make: [all] Error 2
Anonymous
this is part of the libiconv libraries. check tht you install them?
Thanks that did the trick !
issue solved I think