[fuse-discuss] State of fuse

Szabolcs Szakacsits szaka at ntfs-3g.org
Tue Aug 5 10:29:58 PDT 2008


On Tue, 5 Aug 2008, Mark Phalan wrote:
> On Tue, 2008-08-05 at 15:02 +0200, Mark Phalan wrote:
> > On Mon, 2008-07-21 at 12:33 +0300, Szabolcs Szakacsits wrote:
> > > On Thu, 17 Jul 2008, Szabolcs Szakacsits wrote:
> > > > 
> > > > Could somebody please quickly try whether the below package, integrating 
> > > > all the ideas we discussed here, compiles now on Solaris without any 
> > > > patching and if not then what's the problem?
> > > > 
> > > > 	http://ntfs-3g.org/ntfs-3g-1.2717.tgz
> > > > 
> > > > The usual './configure && make && make install' should work but 
> > > > 'CFLAGS=-D__SOLARIS__  ./configure && ...' may be needed for FUSE.
> > > 
> > > Any success or failure? 
> > 
> > I just compiled ntfs-3g-1.2717 on the latest version of Nevada/Solaris.
> > It compiled without any problems!
> > 
> > I haven't tested it yet though.
> 
> Just tested it now with a Windows XP install. Reading and writing seem
> to work!

Thanks for testing.
 
> Thanks for making the necessary changes to ntfs-3g :)
>
> One thing to note is that ntfs-3g doesn't compile well with the Sun
> Studio compiler gcc must be used. In the future I'd like to be able to
> compile it with Sun Studio too. I'll take a look and see what needs to
> be changed.

I think the below patch is needed. Maybe something else too?

---------------------------------------------------------------------->
--- configure.ac        17 Jul 2008 15:04:23 -0000      1.78
+++ configure.ac        5 Aug 2008 17:22:12 -0000
@@ -277,8 +277,10 @@
 ])
 AC_SYS_LARGEFILE
 
-# We add -Wall to enable some compiler warnings.
-CFLAGS="${CFLAGS} -Wall"
+if test "$GCC" = "yes" ; then
+       # We add -Wall to enable some compiler warnings.
+       CFLAGS="${CFLAGS} -Wall"
+fi
 
 if test "${enable_pedantic}" = "yes"; then
        enable_warnings="yes"
<---------------------------------------------------------------------

Thanks again,
		Szaka

--
NTFS-3G:  http://ntfs-3g.org




More information about the fuse-discuss mailing list