<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 7:21 AM, Kaleb S. KEITHLEY <span dir="ltr"><<a href="mailto:kkeithle@redhat.com" target="_blank">kkeithle@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 04/28/2013 09:32 AM, Outback Dingo wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
Attached is a short patch against master/HEAD that I spent a couple<br>
</blockquote></div>
^^^^^^^^^^^<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
hours creating this morning.<div class="im"><br>
<br>
curious as to what version of glusterfs you built with this patch on<br>
10-CURRENT because it doesnt build on my system<br>
<br>
</div></blockquote>
<br>
I built on 9.1-release.<span class=""><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div style>hrmmmmm ive tried this and it fails miserably, whats missing?</div><div style><br></div><div style><div>Making all in src</div><div>Making all in system</div><div>
Making all in posix-acl</div><div>Making all in src</div><div>Making all in glusterfsd</div><div>Making all in src</div><div>Making all in contrib/fuse-util</div><div> CC fusermount.o</div><div>fusermount.c:30:23: error: sys/fsuid.h: No such file or directory</div>
<div>fusermount.c: In function 'drop_privs':</div><div>fusermount.c:75: warning: implicit declaration of function 'setfsuid'</div><div>fusermount.c:76: warning: implicit declaration of function 'setfsgid'</div>
<div>fusermount.c: In function 'lock_umount':</div><div>fusermount.c:94: error: '_PATH_MOUNTED' undeclared (first use in this function)</div><div>fusermount.c:94: error: (Each undeclared identifier is reported only once</div>
<div>fusermount.c:94: error: for each function it appears in.)</div><div>fusermount.c:94: error: expected ',' or ';' before string constant</div><div>fusermount.c: In function 'may_unmount':</div><div>
fusermount.c:148: error: '_PATH_MOUNTED' undeclared (first use in this function)</div><div>fusermount.c:154: warning: implicit declaration of function 'setmntent'</div><div>fusermount.c:154: warning: assignment makes pointer from integer without a cast</div>
<div>fusermount.c:164: warning: implicit declaration of function 'getmntent'</div><div>fusermount.c:164: warning: assignment makes pointer from integer without a cast</div><div>fusermount.c:165: error: dereferencing pointer to incomplete type</div>
<div>fusermount.c:166: error: dereferencing pointer to incomplete type</div><div>fusermount.c:167: error: dereferencing pointer to incomplete type</div><div>fusermount.c:168: error: dereferencing pointer to incomplete type</div>
<div>fusermount.c:169: error: dereferencing pointer to incomplete type</div><div>fusermount.c:170: error: dereferencing pointer to incomplete type</div><div>fusermount.c:172: error: dereferencing pointer to incomplete type</div>
<div>fusermount.c:180: error: dereferencing pointer to incomplete type</div><div>fusermount.c:181: error: dereferencing pointer to incomplete type</div><div>fusermount.c:191: warning: implicit declaration of function 'endmntent'</div>
<div>fusermount.c: In function 'check_is_mount_child':</div><div>fusermount.c:239: warning: passing argument 3 of 'mount' makes integer from pointer without a cast</div><div>fusermount.c:239: warning: passing argument 4 of 'mount' makes pointer from integer without a cast</div>
<div>fusermount.c:239: error: too many arguments to function 'mount'</div><div>fusermount.c:246: warning: assignment makes pointer from integer without a cast</div><div>fusermount.c:254: warning: comparison between pointer and integer</div>
<div>fusermount.c:258: warning: assignment makes pointer from integer without a cast</div><div>fusermount.c:265: error: 'MS_BIND' undeclared (first use in this function)</div><div>fusermount.c:265: warning: passing argument 3 of 'mount' makes integer from pointer without a cast</div>
<div>fusermount.c:265: error: too many arguments to function 'mount'</div><div>fusermount.c:273: warning: assignment makes pointer from integer without a cast</div><div>fusermount.c:278: error: dereferencing pointer to incomplete type</div>
<div>fusermount.c:279: error: dereferencing pointer to incomplete type</div><div>fusermount.c: In function 'clone_newns':</div><div>fusermount.c:308: warning: implicit declaration of function 'clone'</div>
<div>fusermount.c:308: error: 'CLONE_NEWNS' undeclared (first use in this function)</div><div>fusermount.c: In function 'check_is_mount':</div><div>fusermount.c:324: error: '__WCLONE' undeclared (first use in this function)</div>
<div>fusermount.c: In function 'count_fuse_fs':</div><div>fusermount.c:437: error: '_PATH_MOUNTED' undeclared (first use in this function)</div><div>fusermount.c:438: warning: initialization makes pointer from integer without a cast</div>
<div>fusermount.c:444: warning: assignment makes pointer from integer without a cast</div><div>fusermount.c:445: error: dereferencing pointer to incomplete type</div><div>fusermount.c:446: error: dereferencing pointer to incomplete type</div>
<div>fusermount.c: At top level:</div><div>fusermount.c:554: error: 'MS_NOSUID' undeclared here (not in a function)</div><div>fusermount.c:556: error: 'MS_NODEV' undeclared here (not in a function)</div><div>
fusermount.c:558: error: 'MS_NOEXEC' undeclared here (not in a function)</div><div>fusermount.c:560: error: 'MS_SYNCHRONOUS' undeclared here (not in a function)</div><div>fusermount.c:562: error: 'MS_NOATIME' undeclared here (not in a function)</div>
<div>fusermount.c: In function 'do_mount':</div><div>fusermount.c:680: error: invalid operands to binary |</div><div>fusermount.c:680: warning: initialization makes integer from pointer without a cast</div><div>fusermount.c:821: warning: passing argument 3 of 'mount' makes integer from pointer without a cast</div>
<div>fusermount.c:821: warning: passing argument 4 of 'mount' makes pointer from integer without a cast</div><div>fusermount.c:821: error: too many arguments to function 'mount'</div><div>fusermount.c: In function 'main':</div>
<div>fusermount.c:1269: error: called object 'unmount' is not a function</div><div>fusermount.c:1269: warning: assignment makes integer from pointer without a cast</div><div>*** [fusermount.o] Error code 1</div><div>
<br></div><div>Stop in /root/glusterfs/contrib/fuse-util.</div><div>*** [all-recursive] Error code 1</div><div><br></div><div>Stop in /root/glusterfs.</div><div>*** [all] Error code 1</div><div><br></div><div>Stop in /root/glusterfs.</div>
<div><br></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><font color="#888888">
-- <br>
<br>
Kaleb<br>
</font></span></blockquote></div><br></div></div>