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 <outbackdingo@xxxxxxxxx> wrote:
On Mon, Apr 29, 2013 at 7:21 AM, Kaleb S. KEITHLEY <kkeithle@xxxxxxxxxx> 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 srcMaking all in systemMaking all in posix-aclMaking all in srcMaking all in glusterfsdMaking all in srcMaking all in contrib/fuse-utilCC fusermount.ofusermount.c:30:23: error: sys/fsuid.h: No such file or directoryfusermount.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 oncefusermount.c:94: error: for each function it appears in.)fusermount.c:94: error: expected ',' or ';' before string constantfusermount.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 castfusermount.c:164: warning: implicit declaration of function 'getmntent'fusermount.c:164: warning: assignment makes pointer from integer without a castfusermount.c:165: error: dereferencing pointer to incomplete typefusermount.c:166: error: dereferencing pointer to incomplete typefusermount.c:167: error: dereferencing pointer to incomplete typefusermount.c:168: error: dereferencing pointer to incomplete typefusermount.c:169: error: dereferencing pointer to incomplete typefusermount.c:170: error: dereferencing pointer to incomplete typefusermount.c:172: error: dereferencing pointer to incomplete typefusermount.c:180: error: dereferencing pointer to incomplete typefusermount.c:181: error: dereferencing pointer to incomplete typefusermount.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 castfusermount.c:239: warning: passing argument 4 of 'mount' makes pointer from integer without a castfusermount.c:239: error: too many arguments to function 'mount'fusermount.c:246: warning: assignment makes pointer from integer without a castfusermount.c:254: warning: comparison between pointer and integerfusermount.c:258: warning: assignment makes pointer from integer without a castfusermount.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 castfusermount.c:265: error: too many arguments to function 'mount'fusermount.c:273: warning: assignment makes pointer from integer without a castfusermount.c:278: error: dereferencing pointer to incomplete typefusermount.c:279: error: dereferencing pointer to incomplete typefusermount.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 castfusermount.c:444: warning: assignment makes pointer from integer without a castfusermount.c:445: error: dereferencing pointer to incomplete typefusermount.c:446: error: dereferencing pointer to incomplete typefusermount.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 castfusermount.c:821: warning: passing argument 3 of 'mount' makes integer from pointer without a castfusermount.c:821: warning: passing argument 4 of 'mount' makes pointer from integer without a castfusermount.c:821: error: too many arguments to function 'mount'fusermount.c: In function 'main':fusermount.c:1269: error: called object 'unmount' is not a functionfusermount.c:1269: warning: assignment makes integer from pointer without a cast*** [fusermount.o] Error code 1Stop in /root/glusterfs/contrib/fuse-util.*** [all-recursive] Error code 1Stop in /root/glusterfs.*** [all] Error code 1Stop in /root/glusterfs.--
Kaleb
Cheers,
Mike