|
From: | felix winkelmann |
Subject: | Re: [Chicken-users] a file system using Chicken |
Date: | Thu, 7 Jun 2007 08:49:44 +0200 |
On 6/7/07, Dan Muresan <address@hidden> wrote:
> fuse_mod_wrap.c: In function '_wrap_fuse_main_real': > fuse_mod_wrap.c:5204: warning: passing argument 3 of 'fuse_main_real' from incompatible pointer type > fuse_mod_wrap.c:5204: error: too few arguments to function 'fuse_main_real' > *** Shell command terminated with exit status 1: gcc fuse_mod_wrap.c -o fuse_mod_wrap.o -c -DHAVE_CHICKEN_CONFIG -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -fPIC -DPIC -DC_SHARED -I /usr/local/chicken-2.6/include -D_FILE_OFFSET_BITS=64 > make: *** [fuse_mod_wrap.o] Error 1 > PS: I've installed the libfuse-dev package (it's a Xubuntu machine) Interesting. You probably need fuse-utils as well, but that isn't the main problem. The main problem seems to be that you have an older version of fuse, and I boneheadedly left SWIG output in the tarball (thinking it would save people the need to install SWIG to compile the filesystem). Do a "make swig_clean" and then run setup.sh again. OTOH, since I'm depending on Fuse API version 25, it's very possible that compilation will fail again (with a more informative error message this time). Hm, maybe I should downgrade the Fuse API dependency (though my own /usr/include/fuse/fuse.h says new apps should depend on v. 25).
I get: csc -d2 -k -C -D_FILE_OFFSET_BITS=64 -inline -lambda-lift -optimize-leaf-routines -sc fuse_mod_wrap.c fuse_mod_wrap.c: In function '_wrap_fuse_unmount': fuse_mod_wrap.c:3127: error: too many arguments to function 'fuse_unmount_compat22' fuse_mod_wrap.c: In function '_wrap_fuse_operations_init_set': fuse_mod_wrap.c:4865: warning: assignment from incompatible pointer type fuse_mod_wrap.c: In function '_wrap_fuse_operations_lock_set': fuse_mod_wrap.c:5195: error: 'struct fuse_operations_compat25' has no member named 'lock' fuse_mod_wrap.c: In function '_wrap_fuse_operations_lock_get': fuse_mod_wrap.c:5221: error: 'struct fuse_operations_compat25' has no member named 'lock' fuse_mod_wrap.c: In function '_wrap_fuse_operations_utimens_set': fuse_mod_wrap.c:5250: error: 'struct fuse_operations_compat25' has no member named 'utimens' fuse_mod_wrap.c: In function '_wrap_fuse_operations_utimens_get': fuse_mod_wrap.c:5276: error: 'struct fuse_operations_compat25' has no member named 'utimens' fuse_mod_wrap.c: In function '_wrap_fuse_operations_bmap_set': fuse_mod_wrap.c:5305: error: 'struct fuse_operations_compat25' has no member named 'bmap' fuse_mod_wrap.c: In function '_wrap_fuse_operations_bmap_get': fuse_mod_wrap.c:5331: error: 'struct fuse_operations_compat25' has no member named 'bmap' fuse_mod_wrap.c: In function '_wrap_fuse_new': fuse_mod_wrap.c:5762: warning: passing argument 1 of 'fuse_new_compat25' makes integer from pointer without a cast fuse_mod_wrap.c:5762: error: too many arguments to function 'fuse_new_compat25' fuse_mod_wrap.c: In function '_wrap_fuse_main_real': fuse_mod_wrap.c:6023: warning: passing argument 3 of 'fuse_main_real' from incompatible pointer type fuse_mod_wrap.c: In function '_wrap_fuse_teardown': fuse_mod_wrap.c:6111: warning: passing argument 2 of 'fuse_teardown_compat22' makes integer from pointer without a cast fuse_mod_wrap.c:6111: error: too few arguments to function 'fuse_teardown_compat22' *** Shell command terminated with exit status 1: cc fuse_mod_wrap.c -o fuse_mod_wrap.o -c -I/home/fwinkel/include -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -fno-strict-aliasing -g -fPIC -DPIC -DC_SHARED -I /home/fwinkel/include -D_FILE_OFFSET_BITS=64 make: *** [fuse_mod_wrap.o] Error 1 Ubuntu _feisty fawn_ 7.04 (swig fresh from svn) cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |