GNOME Bugzilla – Bug 642456
Errors compiling fuse daemon from git
Last modified: 2011-03-16 15:39:50 UTC
Hi, I was doing a jhbuild and it stopped right due to some non-declared identifiers: make[2]: Entering directory `/opt/source/gvfs/client' CC gdaemonvfs.lo CC gdaemonmount.lo CC gdaemonvolumemonitor.lo CC gdaemonfile.lo CC gdaemonfileinputstream.lo CC gdaemonfileoutputstream.lo CC gdaemonfileenumerator.lo CC gdaemonfilemonitor.lo CC gvfsdaemondbus.lo CC gvfsiconloadable.lo CC gvfsuriutils.lo CC gvfsurimapper.lo CC smburi.lo CC httpuri.lo CCLD libgvfsdbus.la CC gvfs_fuse_daemon-gvfsfusedaemon.o gvfsfusedaemon.c: In function ‘get_file_handle_from_info’: gvfsfusedaemon.c:339: warning: cast to pointer from integer of different size gvfsfusedaemon.c: In function ‘vfs_open’: gvfsfusedaemon.c:1022: warning: cast from pointer to integer of different size gvfsfusedaemon.c: In function ‘vfs_create’: gvfsfusedaemon.c:1120: warning: cast from pointer to integer of different size gvfsfusedaemon.c: In function ‘vfs_init’: gvfsfusedaemon.c:2343: error: ‘struct fuse_conn_info’ has no member named ‘want’ gvfsfusedaemon.c:2343: error: ‘FUSE_CAP_ATOMIC_O_TRUNC’ undeclared (first use in this function) gvfsfusedaemon.c:2343: error: (Each undeclared identifier is reported only once gvfsfusedaemon.c:2343: error: for each function it appears in.) make[2]: *** [gvfs_fuse_daemon-gvfsfusedaemon.o] Error 1 make[2]: Leaving directory `/opt/gnome-gil/source/gvfs/client' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/gnome-gil/source/gvfs' make: *** [all] Error 2
Hmm, what is your system fuse version? We might need to bump a requirement, not sure which fuse version introduced the 'want' struct member. According to ChangeLog, atomic trunc support was introduced 2008-02-08, which is 2.8.0-pre1
It's 2.7.4 on a Gentoo system (if that matters at all). It seems that 2.8.5 is the new stable version, may i bump it to check if with that version works?
(In reply to comment #2) > It's 2.7.4 on a Gentoo system (if that matters at all). It seems that 2.8.5 is > the new stable version, may i bump it to check if with that version works? Yes, please do, I'll bump fuse requirements if it works.
It worked with fuse 2.8.5 from Gentoo!
Thanks for the confirmation. commit f6b792cbbfdde70d201b3609d2eb67fd82fcccf2 Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Mar 16 16:38:34 2011 +0100 build: Bump fuse requirement for ATOMIC_O_TRUNC support https://bugzilla.gnome.org/show_bug.cgi?id=642456