guestmount.c: In function 'fg_utimens': guestmount.c:537: error: 'UTIME_NOW' undeclared (first use in this function) guestmount.c:537: error: (Each undeclared identifier is reported only once guestmount.c:537: error: for each function it appears in.) guestmount.c:539: error: 'UTIME_OMIT' undeclared (first use in this function) I'm not sure what's the best thing to do here. We could copy the definitions of those out of the Fedora header file, ie something like: #ifndef UTIME_NOW # define UTIME_NOW ((1l << 30) - 1l) #endif Or we could disable the feature if the symbols aren't defined, although that is a little more complex. Or perhaps emulate the feature ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
On Wed, Nov 18, 2009 at 03:08:16PM +0000, Richard W.M. Jones wrote:> > guestmount.c: In function 'fg_utimens': > guestmount.c:537: error: 'UTIME_NOW' undeclared (first use in this function) > guestmount.c:537: error: (Each undeclared identifier is reported only once > guestmount.c:537: error: for each function it appears in.) > guestmount.c:539: error: 'UTIME_OMIT' undeclared (first use in this function) > > I'm not sure what's the best thing to do here. We could copy the > definitions of those out of the Fedora header file, ie something like: > > #ifndef UTIME_NOW > # define UTIME_NOW ((1l << 30) - 1l) > #endif > > Or we could disable the feature if the symbols aren't defined, > although that is a little more complex. Or perhaps emulate the > feature ...This post is a bit confusing ... I should say this appears to be a FUSE problem, and isn't really anything to do with libguestfs apart from it stopping us from compiling. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
Possibly Parallel Threads
- [PATCH] fuse/RHEL: Don't require UTIME_{NOW, OMIT} to be defined.
- [PATCH v2] New APIs: mount-local and umount-local using FUSE
- [PATCH 0/3] Enable FUSE support in the API via 'mount-local' call.
- [PATCH v3] New APIs: mount-local, mount-local-run and umount-local using FUSE
- [Bug 12742] New: a proposal: fix bogus nanosecond mtimes on transfer (patch included)