Quantcast

Couldn't make fuse-3.0.0 on OS X 10.12.3

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Couldn't make fuse-3.0.0 on OS X 10.12.3

Russell Urquhart


Hi,

I was trying to compile fuse-3.0.0 on OS X 10.12.3. I was able to do the ./configure but the make command generated the error message below. Can anyone provide any info that would help me compile this?


Thanks,


Russ
----------------------------

Russs-MBP:fuse-3.0.0 russurquhart$ make
Making all in include
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
Making all in lib
  CC       mount.lo
mount.c:141:13: error: use of undeclared identifier 'MS_RDONLY'
        {"rw",      MS_RDONLY,      0},
                    ^
mount.c:142:13: error: use of undeclared identifier 'MS_RDONLY'
        {"ro",      MS_RDONLY,      1},
                    ^
mount.c:143:14: error: use of undeclared identifier 'MS_NOSUID'
        {"suid",    MS_NOSUID,      0},
                    ^
mount.c:144:14: error: use of undeclared identifier 'MS_NOSUID'
        {"nosuid",  MS_NOSUID,      1},
                    ^
mount.c:145:14: error: use of undeclared identifier 'MS_NODEV'
        {"dev",     MS_NODEV,       0},
                    ^
mount.c:146:14: error: use of undeclared identifier 'MS_NODEV'
        {"nodev",   MS_NODEV,       1},
                    ^
mount.c:147:14: error: use of undeclared identifier 'MS_NOEXEC'
        {"exec",    MS_NOEXEC,      0},
                    ^
mount.c:148:14: error: use of undeclared identifier 'MS_NOEXEC'
        {"noexec",  MS_NOEXEC,      1},
                    ^
mount.c:149:14: error: use of undeclared identifier 'MS_SYNCHRONOUS'
        {"async",   MS_SYNCHRONOUS, 0},
                    ^
mount.c:150:14: error: use of undeclared identifier 'MS_SYNCHRONOUS'
        {"sync",    MS_SYNCHRONOUS, 1},
                    ^
mount.c:151:14: error: use of undeclared identifier 'MS_NOATIME'
        {"atime",   MS_NOATIME,     0},
                    ^
mount.c:152:14: error: use of undeclared identifier 'MS_NOATIME'
        {"noatime", MS_NOATIME,     1},
                    ^
mount.c:289:8: warning: implicit declaration of function 'umount2' is invalid in
      C99 [-Wimplicit-function-declaration]
        res = umount2(mountpoint, 2);
              ^
mount.c:450:44: error: too many arguments to function call, expected 4, have 5
        res = mount(source, mnt, type, mo->flags, mo->kernel_opts);
              ~~~~~                               ^~~~~~~~~~~~~~~
/usr/include/sys/mount.h:395:1: note: 'mount' declared here
int     mount(const char *, const char *, int, void *);
^
mount.c:461:45: error: too many arguments to function call, expected 4, have 5
                res = mount(source, mnt, type, mo->flags, mo->kernel_opts);
                      ~~~~~                               ^~~~~~~~~~~~~~~
/usr/include/sys/mount.h:395:1: note: 'mount' declared here
int     mount(const char *, const char *, int, void *);
^
mount.c:518:16: error: use of undeclared identifier 'MS_RDONLY'
        if (!(flags & MS_RDONLY) && fuse_opt_add_opt(mnt_optsp, "rw") == -1)
                      ^
mount.c:538:14: error: use of undeclared identifier 'MS_NOSUID'
        mo->flags = MS_NOSUID | MS_NODEV;
                    ^
mount.c:538:26: error: use of undeclared identifier 'MS_NODEV'
        mo->flags = MS_NOSUID | MS_NODEV;
                                ^
1 warning and 17 errors generated.
make[1]: *** [mount.lo] Error 1
make: *** [all-recursive] Error 1

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Couldn't make fuse-3.0.0 on OS X 10.12.3

Nikolaus Rath
Hi Russel,

On Apr 04 2017, Russell Urquhart <[hidden email]> wrote:
> Hi,
>
> I was trying to compile fuse-3.0.0 on OS X 10.12.3. I was able to do
> the ./configure but the make command generated the error message
> below. Can anyone provide any info that would help me compile this?

I think you want to use FUSE4X / OSXFUSE instead.


Best,
-Nikolaus

--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
Loading...