gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Fwd: Port GlusterFS as a GSoC 2013 project


From: Mike Ma
Subject: Re: [Gluster-devel] Fwd: Port GlusterFS as a GSoC 2013 project
Date: Thu, 2 May 2013 15:31:36 +0200

Hi Outback,

Can I ask how did you manage to get rid of the following error?
"fusermount.c:23:20: error: mntent.h: No such file or directory"

I searched a bit and found this header file is missing on FreeBSD.
Did you delete gamin and install fam?

Thanks.



On Thu, May 2, 2013 at 3:13 PM, Outback Dingo <address@hidden> wrote:



On Mon, Apr 29, 2013 at 7:21 AM, Kaleb S. KEITHLEY <address@hidden> wrote:
On 04/28/2013 09:32 AM, Outback Dingo wrote:


    Attached is a short patch against master/HEAD that I spent a couple
                                        ^^^^^^^^^^^


    hours creating this morning.


curious as to what version of glusterfs you built with this patch on
10-CURRENT because it doesnt build on my system


I built on 9.1-release.


hrmmmmm ive tried this and it fails miserably, whats missing?

Making all in src
Making all in system
Making all in posix-acl
Making all in src
Making all in glusterfsd
Making all in src
Making all in contrib/fuse-util
  CC       fusermount.o
fusermount.c:30:23: error: sys/fsuid.h: No such file or directory
fusermount.c: In function 'drop_privs':
fusermount.c:75: warning: implicit declaration of function 'setfsuid'
fusermount.c:76: warning: implicit declaration of function 'setfsgid'
fusermount.c: In function 'lock_umount':
fusermount.c:94: error: '_PATH_MOUNTED' undeclared (first use in this function)
fusermount.c:94: error: (Each undeclared identifier is reported only once
fusermount.c:94: error: for each function it appears in.)
fusermount.c:94: error: expected ',' or ';' before string constant
fusermount.c: In function 'may_unmount':
fusermount.c:148: error: '_PATH_MOUNTED' undeclared (first use in this function)
fusermount.c:154: warning: implicit declaration of function 'setmntent'
fusermount.c:154: warning: assignment makes pointer from integer without a cast
fusermount.c:164: warning: implicit declaration of function 'getmntent'
fusermount.c:164: warning: assignment makes pointer from integer without a cast
fusermount.c:165: error: dereferencing pointer to incomplete type
fusermount.c:166: error: dereferencing pointer to incomplete type
fusermount.c:167: error: dereferencing pointer to incomplete type
fusermount.c:168: error: dereferencing pointer to incomplete type
fusermount.c:169: error: dereferencing pointer to incomplete type
fusermount.c:170: error: dereferencing pointer to incomplete type
fusermount.c:172: error: dereferencing pointer to incomplete type
fusermount.c:180: error: dereferencing pointer to incomplete type
fusermount.c:181: error: dereferencing pointer to incomplete type
fusermount.c:191: warning: implicit declaration of function 'endmntent'
fusermount.c: In function 'check_is_mount_child':
fusermount.c:239: warning: passing argument 3 of 'mount' makes integer from pointer without a cast
fusermount.c:239: warning: passing argument 4 of 'mount' makes pointer from integer without a cast
fusermount.c:239: error: too many arguments to function 'mount'
fusermount.c:246: warning: assignment makes pointer from integer without a cast
fusermount.c:254: warning: comparison between pointer and integer
fusermount.c:258: warning: assignment makes pointer from integer without a cast
fusermount.c:265: error: 'MS_BIND' undeclared (first use in this function)
fusermount.c:265: warning: passing argument 3 of 'mount' makes integer from pointer without a cast
fusermount.c:265: error: too many arguments to function 'mount'
fusermount.c:273: warning: assignment makes pointer from integer without a cast
fusermount.c:278: error: dereferencing pointer to incomplete type
fusermount.c:279: error: dereferencing pointer to incomplete type
fusermount.c: In function 'clone_newns':
fusermount.c:308: warning: implicit declaration of function 'clone'
fusermount.c:308: error: 'CLONE_NEWNS' undeclared (first use in this function)
fusermount.c: In function 'check_is_mount':
fusermount.c:324: error: '__WCLONE' undeclared (first use in this function)
fusermount.c: In function 'count_fuse_fs':
fusermount.c:437: error: '_PATH_MOUNTED' undeclared (first use in this function)
fusermount.c:438: warning: initialization makes pointer from integer without a cast
fusermount.c:444: warning: assignment makes pointer from integer without a cast
fusermount.c:445: error: dereferencing pointer to incomplete type
fusermount.c:446: error: dereferencing pointer to incomplete type
fusermount.c: At top level:
fusermount.c:554: error: 'MS_NOSUID' undeclared here (not in a function)
fusermount.c:556: error: 'MS_NODEV' undeclared here (not in a function)
fusermount.c:558: error: 'MS_NOEXEC' undeclared here (not in a function)
fusermount.c:560: error: 'MS_SYNCHRONOUS' undeclared here (not in a function)
fusermount.c:562: error: 'MS_NOATIME' undeclared here (not in a function)
fusermount.c: In function 'do_mount':
fusermount.c:680: error: invalid operands to binary |
fusermount.c:680: warning: initialization makes integer from pointer without a cast
fusermount.c:821: warning: passing argument 3 of 'mount' makes integer from pointer without a cast
fusermount.c:821: warning: passing argument 4 of 'mount' makes pointer from integer without a cast
fusermount.c:821: error: too many arguments to function 'mount'
fusermount.c: In function 'main':
fusermount.c:1269: error: called object 'unmount' is not a function
fusermount.c:1269: warning: assignment makes integer from pointer without a cast
*** [fusermount.o] Error code 1

Stop in /root/glusterfs/contrib/fuse-util.
*** [all-recursive] Error code 1

Stop in /root/glusterfs.
*** [all] Error code 1

Stop in /root/glusterfs.

 
--

Kaleb




--
Cheers,
Mike

reply via email to

[Prev in Thread] Current Thread [Next in Thread]