<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">&lt;<a href="mailto:kkeithle@redhat.com" target="_blank">kkeithle@redhat.com</a>&gt;</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 &#39;drop_privs&#39;:</div><div>fusermount.c:75: warning: implicit declaration of function &#39;setfsuid&#39;</div><div>fusermount.c:76: warning: implicit declaration of function &#39;setfsgid&#39;</div>
<div>fusermount.c: In function &#39;lock_umount&#39;:</div><div>fusermount.c:94: error: &#39;_PATH_MOUNTED&#39; 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 &#39;,&#39; or &#39;;&#39; before string constant</div><div>fusermount.c: In function &#39;may_unmount&#39;:</div><div>
fusermount.c:148: error: &#39;_PATH_MOUNTED&#39; undeclared (first use in this function)</div><div>fusermount.c:154: warning: implicit declaration of function &#39;setmntent&#39;</div><div>fusermount.c:154: warning: assignment makes pointer from integer without a cast</div>
<div>fusermount.c:164: warning: implicit declaration of function &#39;getmntent&#39;</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 &#39;endmntent&#39;</div>
<div>fusermount.c: In function &#39;check_is_mount_child&#39;:</div><div>fusermount.c:239: warning: passing argument 3 of &#39;mount&#39; makes integer from pointer without a cast</div><div>fusermount.c:239: warning: passing argument 4 of &#39;mount&#39; makes pointer from integer without a cast</div>
<div>fusermount.c:239: error: too many arguments to function &#39;mount&#39;</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: &#39;MS_BIND&#39; undeclared (first use in this function)</div><div>fusermount.c:265: warning: passing argument 3 of &#39;mount&#39; makes integer from pointer without a cast</div>
<div>fusermount.c:265: error: too many arguments to function &#39;mount&#39;</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 &#39;clone_newns&#39;:</div><div>fusermount.c:308: warning: implicit declaration of function &#39;clone&#39;</div>
<div>fusermount.c:308: error: &#39;CLONE_NEWNS&#39; undeclared (first use in this function)</div><div>fusermount.c: In function &#39;check_is_mount&#39;:</div><div>fusermount.c:324: error: &#39;__WCLONE&#39; undeclared (first use in this function)</div>
<div>fusermount.c: In function &#39;count_fuse_fs&#39;:</div><div>fusermount.c:437: error: &#39;_PATH_MOUNTED&#39; 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: &#39;MS_NOSUID&#39; undeclared here (not in a function)</div><div>fusermount.c:556: error: &#39;MS_NODEV&#39; undeclared here (not in a function)</div><div>
fusermount.c:558: error: &#39;MS_NOEXEC&#39; undeclared here (not in a function)</div><div>fusermount.c:560: error: &#39;MS_SYNCHRONOUS&#39; undeclared here (not in a function)</div><div>fusermount.c:562: error: &#39;MS_NOATIME&#39; undeclared here (not in a function)</div>
<div>fusermount.c: In function &#39;do_mount&#39;:</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 &#39;mount&#39; makes integer from pointer without a cast</div>
<div>fusermount.c:821: warning: passing argument 4 of &#39;mount&#39; makes pointer from integer without a cast</div><div>fusermount.c:821: error: too many arguments to function &#39;mount&#39;</div><div>fusermount.c: In function &#39;main&#39;:</div>
<div>fusermount.c:1269: error: called object &#39;unmount&#39; 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>