FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Fri Jul 30, 2021 22:46



Post new topic Reply to topic  [ 2 posts ] 
Trivial build error in 2010.10.2AR.3 tarball 
Author Message

Joined: Tue Jan 04, 2011 05:49
Posts: 1
Post Trivial build error in 2010.10.2AR.3 tarball
When I built the source from the NTFS-3G Advanced 2010.10.2AR.3.tgz tarball, I ran into build errors because the preprocessor symbol OPT_XATTRMAPPING is written as OPT_xattrmapping in one place in each of lowntfs-3g.c and ntfs-3g.c. I attached a patch to fix the problem.

P.S. What's the essential difference between lowntfs-3g and ntfs-3g? I know that there are differences in options, but why are there 2 programs?

I can't attach the patch, here it is:
Code:
diff -Naur ntfs-3g-2010.10.2AR.3_old/src/lowntfs-3g.c ntfs-3g-2010.10.2AR.3/src/lowntfs-3g.c
--- ntfs-3g-2010.10.2AR.3_old/src/lowntfs-3g.c   2010-12-07 10:06:37.000000000 -0600
+++ ntfs-3g-2010.10.2AR.3/src/lowntfs-3g.c   2011-01-03 22:17:43.959847908 -0600
@@ -4095,7 +4095,7 @@
            break;
#ifdef HAVE_SETXATTR   /* extended attributes interface required */
#ifdef XATTR_MAPPINGS
-         case OPT_xattrmapping :
+         case OPT_XATTRMAPPING :
            ctx->xattrmap_path = strdup(val);
            if (!ctx->xattrmap_path) {
               ntfs_log_error("no more memory to store "
diff -Naur ntfs-3g-2010.10.2AR.3_old/src/ntfs-3g.c ntfs-3g-2010.10.2AR.3/src/ntfs-3g.c
--- ntfs-3g-2010.10.2AR.3_old/src/ntfs-3g.c   2010-12-07 10:06:37.000000000 -0600
+++ ntfs-3g-2010.10.2AR.3/src/ntfs-3g.c   2011-01-03 22:18:31.430052301 -0600
@@ -3800,7 +3800,7 @@
            break;
#ifdef HAVE_SETXATTR   /* extended attributes interface required */
#ifdef XATTR_MAPPINGS
-         case OPT_xattrmapping :
+         case OPT_XATTRMAPPING :
            ctx->xattrmap_path = strdup(val);
            if (!ctx->xattrmap_path) {
               ntfs_log_error("no more memory to store "


Tue Jan 04, 2011 06:35
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Trivial build error in 2010.10.2AR.3 tarball
Hi,

Quote:
I attached a patch to fix the problem.

Good catch, thanks.
Quote:
P.S. What's the essential difference between lowntfs-3g and ntfs-3g? I know that there are differences in options, but why are there 2 programs?

They use a different fuse interface. The interface used by ntfs-3g is based on file names and the interface used by lowntfs-3g is based on inode numbers. There are a few differences on the available features, but they both rely on the same shared library.
Quote:
I can't attach the patch

On this forum you can only attach compressed files (.gz, .bz2, .zip, etc.)

Regards

Jean-Pierre


Tue Jan 04, 2011 09:29
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.