|
From: James S. \(STUDENT\) <jds...@ap...> - 2006-01-25 06:09:08
|
I am attempting to re-write captive-ntfs for use on 64-bit machines. = This basically involves modifying a few assembly files to work around = the fact that pushl and popl are not supported on the 64-bit platform = and the fact that enter leave ret and call are implicitly 64 bit. This = means that those commands have to use the rXx (eg rax as opposed to eax) = format. but this is neither here nor there (as it has nothing to do with = FUSE). I was getting an error compiling some of these files and have had = to add the --disable-shared --enable-stat switches when I ./configure. = After running make, I recieve the following error: if gcc -DHAVE_CONFIG_H -DLOCALEDIR=3D\"/usr/local/share/locale\" = -I../../../src/libcaptive/include -I../../../intl -DLIBCAPTIVE = -I../../../src/libcaptive/reactos/include -I../../../reactos/include = -I../../../reactos/ntoskrnl/include -I. -I. -I../../../ -pthread = -DORBIT2=3D1 -I/usr/include/gnome-vfs-2.0 = -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 = -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include = -I/usr/include/orbit-2.0 -DCAPTIVE_USE_GNOME_VFS=3D1 = -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=3D64 -I/usr/include/fuse = -DFUSE_USE_VERSION=3D22 -DLIBEXECDIR=3D"/usr/local/libexec" = -DVARLIBCAPTIVEDIR=3D"/usr/local/var/lib/captive" -fPIC -pthread = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT = mount_captive-op_statfs.o -MD -MP -MF = ".deps/mount_captive-op_statfs.Tpo" -c -o mount_captive-op_statfs.o = `test -f 'op_statfs.c' || echo './'`op_statfs.c; \ then mv -f ".deps/mount_captive-op_statfs.Tpo" = ".deps/mount_captive-op_statfs.Po"; else rm -f = ".deps/mount_captive-op_statfs.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -DLOCALEDIR=3D\"/usr/local/share/locale\" = -I../../../src/libcaptive/include -I../../../intl -DLIBCAPTIVE = -I../../../src/libcaptive/reactos/include -I../../../reactos/include = -I../../../reactos/ntoskrnl/include -I. -I. -I../../../ -pthread = -DORBIT2=3D1 -I/usr/include/gnome-vfs-2.0 = -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 = -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include = -I/usr/include/orbit-2.0 -DCAPTIVE_USE_GNOME_VFS=3D1 = -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=3D64 -I/usr/include/fuse = -DFUSE_USE_VERSION=3D22 -DLIBEXECDIR=3D"/usr/local/libexec" = -DVARLIBCAPTIVEDIR=3D"/usr/local/var/lib/captive" -fPIC -pthread = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT = mount_captive-op_fsync.o -MD -MP -MF ".deps/mount_captive-op_fsync.Tpo" = -c -o mount_captive-op_fsync.o `test -f 'op_fsync.c' || echo = './'`op_fsync.c; \ then mv -f ".deps/mount_captive-op_fsync.Tpo" = ".deps/mount_captive-op_fsync.Po"; else rm -f = ".deps/mount_captive-op_fsync.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -DLOCALEDIR=3D\"/usr/local/share/locale\" = -I../../../src/libcaptive/include -I../../../intl -DLIBCAPTIVE = -I../../../src/libcaptive/reactos/include -I../../../reactos/include = -I../../../reactos/ntoskrnl/include -I. -I. -I../../../ -pthread = -DORBIT2=3D1 -I/usr/include/gnome-vfs-2.0 = -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 = -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include = -I/usr/include/orbit-2.0 -DCAPTIVE_USE_GNOME_VFS=3D1 = -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=3D64 -I/usr/include/fuse = -DFUSE_USE_VERSION=3D22 -DLIBEXECDIR=3D"/usr/local/libexec" = -DVARLIBCAPTIVEDIR=3D"/usr/local/var/lib/captive" -fPIC -pthread = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT = mount_captive-op_fsyncdir.o -MD -MP -MF = ".deps/mount_captive-op_fsyncdir.Tpo" -c -o mount_captive-op_fsyncdir.o = `test -f 'op_fsyncdir.c' || echo './'`op_fsyncdir.c; \ then mv -f ".deps/mount_captive-op_fsyncdir.Tpo" = ".deps/mount_captive-op_fsyncdir.Po"; else rm -f = ".deps/mount_captive-op_fsyncdir.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -DLOCALEDIR=3D\"/usr/local/share/locale\" = -I../../../src/libcaptive/include -I../../../intl -DLIBCAPTIVE = -I../../../src/libcaptive/reactos/include -I../../../reactos/include = -I../../../reactos/ntoskrnl/include -I. -I. -I../../../ -pthread = -DORBIT2=3D1 -I/usr/include/gnome-vfs-2.0 = -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 = -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include = -I/usr/include/orbit-2.0 -DCAPTIVE_USE_GNOME_VFS=3D1 = -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=3D64 -I/usr/include/fuse = -DFUSE_USE_VERSION=3D22 -DLIBEXECDIR=3D"/usr/local/libexec" = -DVARLIBCAPTIVEDIR=3D"/usr/local/var/lib/captive" -fPIC -pthread = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT = mount_captive-op_opendir.o -MD -MP -MF = ".deps/mount_captive-op_opendir.Tpo" -c -o mount_captive-op_opendir.o = `test -f 'op_opendir.c' || echo './'`op_opendir.c; \ then mv -f ".deps/mount_captive-op_opendir.Tpo" = ".deps/mount_captive-op_opendir.Po"; else rm -f = ".deps/mount_captive-op_opendir.Tpo"; exit 1; fi op_opendir.c: In function =91op_opendir=92: op_opendir.c:47: error: =91struct fuse_file_info=92 has no member named = =91keep_cache=92 make[7]: *** [mount_captive-op_opendir.o] Error 1 I took a look at the source and it appears as if the error lies in a = pointer entitled fi. I am unsure what the -> operator means as my = programming abilities are somewhat limited. I am also unable to find = where the fuse_file_info struct has been defined. Does anyone have any = insight into this problem and/or does anyone have any information that = might be useful in further troubleshooting and debugging? James |