DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

#1 2016-02-01 09:40:50

R0b1n
Member
Registered: 2011-12-03
Posts: 51

ICONV_CONST error when compiling curlftpfs

Hi all.

I've got an unsolvable error when i try to compil curlftpfs on my DNS-325:

root@NAS:/mnt/HD_a2/ffpbuildenv_07/curlftpfs-0.9.2# make
make  all-recursive
make[1]: Entering directory '/mnt/HD/HD_a2/ffpbuildenv_07/curlftpfs-0.9.2'
Making all in compat
make[2]: Entering directory '/mnt/HD/HD_a2/ffpbuildenv_07/curlftpfs-0.9.2/compat'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/HD/HD_a2/ffpbuildenv_07/curlftpfs-0.9.2/compat'
Making all in doc
make[2]: Entering directory '/mnt/HD/HD_a2/ffpbuildenv_07/curlftpfs-0.9.2/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/HD/HD_a2/ffpbuildenv_07/curlftpfs-0.9.2/doc'
make[2]: Entering directory '/mnt/HD/HD_a2/ffpbuildenv_07/curlftpfs-0.9.2'
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26   -g -O2 -Wall -W -Wno -sign-compare -D_REENTRANT -I/ffp/include/glib-2.0 -I/ffp/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/ffp/include/fuse  -I/ffp/include -Icompat -I../compat -MT charset_utils.o -MD -MP -MF ".deps/charset_utils.Tpo" -c -o charset_utils.o charset_utils.c; \
then mv -f ".deps/charset_utils.Tpo" ".deps/charset_utils.Po"; else rm -f ".deps /charset_utils.Tpo"; exit 1; fi
charset_utils.c: In function 'convert_charsets':
charset_utils.c:27:5: error: 'ICONV_CONST' undeclared (first use in this function)
     ICONV_CONST char* ib;
     ^
charset_utils.c:27:5: note: each undeclared identifier is reported only once for each function it appears in
charset_utils.c:27:17: error: expected ';' before 'char'
     ICONV_CONST char* ib;
                 ^
charset_utils.c:33:5: error: 'ib' undeclared (first use in this function)
     ib = s;
     ^
Makefile:336: recipe for target 'charset_utils.o' failed
make[2]: *** [charset_utils.o] Error 1
make[2]: Leaving directory '/mnt/HD/HD_a2/ffpbuildenv_07/curlftpfs-0.9.2'
Makefile:373: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/mnt/HD/HD_a2/ffpbuildenv_07/curlftpfs-0.9.2'
Makefile:230: recipe for target 'all' failed
make: *** [all] Error 2


Help will be really appreciated thanks !

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB