File in which error comes are , archieve_read_disk_posix.c &amp; archieve_write_disk_posix.c :--<br>These files have following include file :---<br>#ifdef HAVE_FCNTL_H<br>#include &lt;fcntl.h&gt;<br>#endif<br><br>Now if we see the dependencies :---<br>
/usr/include/fcntl.h ---------------------&gt;    contains file ---&gt; # include &lt;bits/stat.h&gt;<br>stat.h ----&gt; file is in following location  -----&gt;  /usr/include/arm-linux-gnueabihf/bits/stat.h<br><br><br>====================== Why is it not detectable ====================<br>
/* Values for `*at&#39; functions.  */<br>#ifdef __USE_ATFILE<br># define AT_FDCWD        -100    /* Special value used to indicate<br>                       the *at functions should use the<br>                       current working directory. */<br>
# define AT_SYMLINK_NOFOLLOW    0x100    /* Do not follow symbolic links.  */<br># define AT_REMOVEDIR        0x200    /* Remove directory instead of<br>                       unlinking file.  */<br># define AT_SYMLINK_FOLLOW    0x400    /* Follow symbolic links.  */<br>
# define AT_NO_AUTOMOUNT    0x800    /* Suppress terminal automount<br>                       traversal.  */<br># define AT_EACCESS        0x200    /* Test access permitted for<br>                       effective IDs, not real IDs.  */<br>
#endif<br><br><div class="gmail_quote">On Wed, May 15, 2013 at 10:30 AM, allan George <span dir="ltr">&lt;<a href="mailto:gorge.alan.sw@gmail.com" target="_blank">gorge.alan.sw@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><font color="#222222" face="arial, sans-serif">this constant is defined in following file :---</font></div><a href="http://lxr.free-electrons.com/source/include/uapi/linux/fcntl.h#L44" target="_blank">http://lxr.free-electrons.com/source/include/uapi/linux/fcntl.h#L44</a><br>

<br>I am using Raspbian distribution, for RPi.<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Wed, May 15, 2013 at 6:31 AM, allan George <span dir="ltr">&lt;<a href="mailto:gorge.alan.sw@gmail.com" target="_blank">gorge.alan.sw@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">actually i have run autoreconf -fi &amp; aclocal inside someother package. Could it have changes something ?<br>That is affecting cmake ?<span><font color="#888888"><br>

<br>//Allan</font></span><div><div><br><br><div class="gmail_quote">On Wed, May 15, 2013 at 6:17 AM, allan George <span dir="ltr">&lt;<a href="mailto:gorge.alan.sw@gmail.com" target="_blank">gorge.alan.sw@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am working on RPi raspberry pi. Using debian.<br><br>//Allan<br><br><div class="gmail_quote"><div><div>On Tue, May 14, 2013 at 11:11 PM, Rolf Eike Beer <span dir="ltr">&lt;<a href="mailto:eike@sf-mail.de" target="_blank">eike@sf-mail.de</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div>allan George wrote:<br>
&gt; Please suggest, what dependencies i have missed related to compilation of<br>
&gt; cmake ?<br>
&gt; I am getting error at make time<br>
<br>
</div>This doesn&#39;t look like a missing dependency, but a constant that is expected<br>
in some Posix headers that is not defined on your system. So, what is your<br>
system?<br>
<span><font color="#888888"><br>
Eike<br>
--<br>
</font></span><br></div></div><span><font color="#888888">--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></font></span></blockquote></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>