NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mfe_
Mar 04, 2012Tutor
cannt compile curlftpfs-0.9.2
Hello, [Edit] Binaries of curlftps and installation instruction [/Edit] curlftpfs seems to be very interesting because you will be able to mount ftp locations. http://curlftpfs.sourceforge.net/...
mfe_
Mar 04, 2012Tutor
Bad news :(
configure works but when making i'll get this error:
Any ideas to fix this?
configure works but when making i'll get this error:
fes-a120d19nas:/backup/curlftpfs-0.9.2# make
make all-recursive
make[1]: Entering directory `/c/backup/curlftpfs-0.9.2'
Making all in compat
make[2]: Entering directory `/c/backup/curlftpfs-0.9.2/compat'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT /usr/local/lib/ -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -Icompat -I../compat -MT fuse_opt.lo -MD -MP -MF ".deps/fuse_opt.Tpo" -c -o fuse_opt.lo fuse_opt.c; \
then mv -f ".deps/fuse_opt.Tpo" ".deps/fuse_opt.Plo"; else rm -f ".deps/fuse_opt.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT /usr/local/lib/ -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -Icompat -I../compat -MT fuse_opt.lo -MD -MP -MF .deps/fuse_opt.Tpo -c fuse_opt.c -fPIC -DPIC -o .libs/fuse_opt.o
gcc: /usr/local/lib/: linker input file unused because linking not done
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT /usr/local/lib/ -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -Icompat -I../compat -MT fuse_opt.lo -MD -MP -MF .deps/fuse_opt.Tpo -c fuse_opt.c -o fuse_opt.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT /usr/local/lib/ -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -Icompat -I../compat -o libcompat.la fuse_opt.lo /usr/local/lib/ -pthread -L/usr/local/lib -lfuse -lrt -ldl -L/usr/local/lib -lcurl
ar cru .libs/libcompat.a .libs/fuse_opt.o
ranlib .libs/libcompat.a
creating libcompat.la
(cd .libs && rm -f libcompat.la && ln -s ../libcompat.la libcompat.la)
make[2]: Leaving directory `/c/backup/curlftpfs-0.9.2/compat'
Making all in doc
make[2]: Entering directory `/c/backup/curlftpfs-0.9.2/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/backup/curlftpfs-0.9.2/doc'
make[2]: Entering directory `/c/backup/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 /usr/local/lib/ -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -Icompat -I../compat -MT cache.o -MD -MP -MF ".deps/cache.Tpo" -c -o cache.o cache.c; \
then mv -f ".deps/cache.Tpo" ".deps/cache.Po"; else rm -f ".deps/cache.Tpo"; exit 1; fi
cache.c:14:18: error: glib.h: No such file or directory
cache.c:23: error: expected specifier-qualifier-list before âGHashTableâ
cache.c:45: error: expected specifier-qualifier-list before âGPtrArrayâ
cache.c:48: error: expected â)â before ânode_â
cache.c: In function âcache_clean_entryâ:
cache.c:59: error: âTRUEâ undeclared (first use in this function)
cache.c:59: error: (Each undeclared identifier is reported only once
cache.c:59: error: for each function it appears in.)
cache.c:61: error: âFALSEâ undeclared (first use in this function)
cache.c: In function âcache_cleanâ:
cache.c:67: error: âstruct cacheâ has no member named âlast_cleanedâ
cache.c:68: warning: implicit declaration of function âg_hash_table_sizeâ
cache.c:68: error: âstruct cacheâ has no member named âtableâ
cache.c:69: error: âstruct cacheâ has no member named âlast_cleanedâ
cache.c:70: warning: implicit declaration of function âg_hash_table_foreach_removeâ
cache.c:70: error: âstruct cacheâ has no member named âtableâ
cache.c:71: error: âGHRFuncâ undeclared (first use in this function)
cache.c:71: error: expected â)â before âcache_clean_entryâ
cache.c:72: error: âstruct cacheâ has no member named âlast_cleanedâ
cache.c: In function âcache_lookupâ:
cache.c:78: warning: implicit declaration of function âg_hash_table_lookupâ
cache.c:78: error: âstruct cacheâ has no member named âtableâ
cache.c: In function âcache_purgeâ:
cache.c:83: warning: implicit declaration of function âg_hash_table_removeâ
cache.c:83: error: âstruct cacheâ has no member named âtableâ
cache.c: In function âcache_purge_parentâ:
cache.c:91: error: âstruct cacheâ has no member named âtableâ
cache.c:93: warning: implicit declaration of function âg_strndupâ
cache.c:93: warning: initialization makes pointer from integer without a cast
cache.c:95: warning: implicit declaration of function âg_freeâ
cache.c: In function âcache_invalidateâ:
cache.c:102: error: âstruct cacheâ has no member named âlockâ
cache.c:104: error: âstruct cacheâ has no member named âlockâ
cache.c: In function âcache_invalidate_dirâ:
cache.c:109: error: âstruct cacheâ has no member named âlockâ
cache.c:112: error: âstruct cacheâ has no member named âlockâ
cache.c: In function âcache_do_renameâ:
cache.c:117: error: âstruct cacheâ has no member named âlockâ
cache.c:122: error: âstruct cacheâ has no member named âlockâ
cache.c: In function âcache_getâ:
cache.c:129: warning: implicit declaration of function âg_strdupâ
cache.c:129: warning: initialization makes pointer from integer without a cast
cache.c:130: warning: implicit declaration of function âg_new0â
cache.c:130: error: expected expression before âstructâ
cache.c:130: warning: assignment makes pointer from integer without a cast
cache.c:131: warning: implicit declaration of function âg_hash_table_insertâ
cache.c:131: error: âstruct cacheâ has no member named âtableâ
cache.c: In function âcache_add_attrâ:
cache.c:141: error: âstruct cacheâ has no member named âlockâ
cache.c:154: error: âstruct cacheâ has no member named âlockâ
cache.c: In function âcache_add_dirâ:
cache.c:162: error: âstruct cacheâ has no member named âlockâ
cache.c:165: warning: implicit declaration of function âg_strfreevâ
cache.c:172: error: âstruct cacheâ has no member named âlockâ
cache.c: In function âcache_add_linkâ:
cache.c:187: error: âstruct cacheâ has no member named âlockâ
cache.c:191: warning: assignment makes pointer from integer without a cast
cache.c:197: error: âstruct cacheâ has no member named âlockâ
cache.c: In function âcache_get_attrâ:
cache.c:204: error: âstruct cacheâ has no member named âlockâ
cache.c:217: error: âstruct cacheâ has no member named âlockâ
cache.c: In function âcache_readlinkâ:
cache.c:239: error: âstruct cacheâ has no member named âlockâ
cache.c:246: error: âstruct cacheâ has no member named âlockâ
cache.c:250: error: âstruct cacheâ has no member named âlockâ
cache.c: In function âcache_dirfillâ:
cache.c:264: warning: implicit declaration of function âg_ptr_array_addâ
cache.c:264: error: âstruct fuse_cache_dirhandleâ has no member named âdirâ
cache.c:265: warning: implicit declaration of function âg_strdup_printfâ
cache.c:265: warning: assignment makes pointer from integer without a cast
cache.c: In function âcache_getdirâ:
cache.c:279: error: âstruct cacheâ has no member named âlockâ
cache.c:286: error: âstruct cacheâ has no member named âlockâ
cache.c:290: error: âstruct cacheâ has no member named âlockâ
cache.c:295: error: âstruct fuse_cache_dirhandleâ has no member named âdirâ
cache.c:295: warning: implicit declaration of function âg_ptr_array_newâ
cache.c:297: error: âstruct fuse_cache_dirhandleâ has no member named âdirâ
cache.c:298: error: âstruct fuse_cache_dirhandleâ has no member named âdirâ
cache.c:303: warning: implicit declaration of function âg_ptr_array_freeâ
cache.c:303: error: âstruct fuse_cache_dirhandleâ has no member named âdirâ
cache.c:303: error: âFALSEâ undeclared (first use in this function)
cache.c: In function âcache_initâ:
cache.c:521: error: âstruct cacheâ has no member named âlockâ
cache.c:522: error: âstruct cacheâ has no member named âtableâ
cache.c:522: warning: implicit declaration of function âg_hash_table_new_fullâ
cache.c:522: error: âg_str_hashâ undeclared (first use in this function)
cache.c:522: error: âg_str_equalâ undeclared (first use in this function)
cache.c:522: error: âg_freeâ undeclared (first use in this function)
cache.c:523: error: âfree_nodeâ undeclared (first use in this function)
cache.c:524: error: âstruct cacheâ has no member named âtableâ
cache.c: At top level:
cache.c:533: warning: implicit declaration of function âoffsetofâ
cache.c:533: error: expected expression before âstructâ
cache.c:533: error: initializer element is not constant
cache.c:533: error: (near initialization for âcache_opts[0].offsetâ)
cache.c:534: error: expected expression before âstructâ
cache.c:534: error: initializer element is not constant
cache.c:534: error: (near initialization for âcache_opts[1].offsetâ)
cache.c:535: error: expected expression before âstructâ
cache.c:535: error: initializer element is not constant
cache.c:535: error: (near initialization for âcache_opts[2].offsetâ)
cache.c:536: error: expected expression before âstructâ
cache.c:536: error: initializer element is not constant
cache.c:536: error: (near initialization for âcache_opts[3].offsetâ)
cache.c:537: error: expected expression before âstructâ
cache.c:537: error: initializer element is not constant
cache.c:537: error: (near initialization for âcache_opts[4].offsetâ)
cache.c:538: error: expected expression before âstructâ
cache.c:538: error: initializer element is not constant
cache.c:538: error: (near initialization for âcache_opts[5].offsetâ)
cache.c:539: error: expected expression before âstructâ
cache.c:539: error: initializer element is not constant
cache.c:539: error: (near initialization for âcache_opts[6].offsetâ)
cache.c:540: error: expected expression before âstructâ
cache.c:540: error: initializer element is not constant
cache.c:540: error: (near initialization for âcache_opts[7].offsetâ)
make[2]: *** [cache.o] Error 1
make[2]: Leaving directory `/c/backup/curlftpfs-0.9.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/backup/curlftpfs-0.9.2'
make: *** [all] Error 2
Any ideas to fix this?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!