Andrew ,<br><br>Thank you. I will try them out.<br><br>There were at least two file which uses utime.h, one is debugfs another is misc.c (probably).<br><br>I found something interesting, kind of a hint, while searching for solution to a error (gcc). It suggested that somewhere in build process the LD flag is set to its default setting. I was wondering, if anything like this is happening in e2fsprogs compilation.<br>
<br>Thanks again,<br><br><br><div class="gmail_quote">On Fri, Jan 7, 2011 at 5:53 AM, Andrew Bradford <span dir="ltr"><<a href="mailto:bradfa@gmail.com">bradfa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><div class="gmail_quote"><div><div></div><div class="h5"><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div class="gmail_quote"><div><div>On Fri, Dec 31, 2010 at 9:12 PM, Andrew Bradford <span dir="ltr"><<a href="mailto:bradfa@gmail.com" target="_blank">bradfa@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div><div class="gmail_quote"><div><div></div><div>On Mon, Dec 27, 2010 at 2:39 PM, Nazmul Alam <span dir="ltr"><<a href="mailto:fadedreamz@gmail.com" target="_blank">fadedreamz@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
Hello there,<br>I am trying to CLFS for arm development. I am following the book and has been successful setting up the CLFS till e2fsprogs.<br>While trying to compile the e2fsprogs the Makefile generates but compilation fails giving error message saying: "file not found utime.h".<br>




<br>I am trying to build CLFS for arm-unknown-linux & ABI is apts. Please advice as I am very new to linux system.<br><br>thanks in advance.<br><font color="#888888">-- <br>with best regards<br>       nazmul alam shovon<br>



<br>email : <a href="mailto:fadedreamz@gmail.com" target="_blank">fadedreamz@gmail.com</a>  <br>

</font><br></blockquote></div></div><div><br>Nazmul,<br><br>I get the same error when using the 20101128 embedded ARM book, you're not alone.  I'm going to dig into this and see what I can find.  A more detailed output of error message from the compilation is (please note, my ${CLFS} resolves to /home/andrew/clfs-embedded/filesystem):<br>



<br>making all in debugfs<br>make[2]: Entering directory `/home/andrew/clfs-embedded/filesystem/sources/e2fsprogs-1.41.4/build/debugfs'<br>        MK_CMDS debug_cmds.c<br>        CC debug_cmds.c<br>        CC ../../debugfs/debugfs.c<br>



        CC ../../debugfs/util.c<br>        CC ../../debugfs/ncheck.c<br>        CC ../../debugfs/icheck.c<br>        CC ../../debugfs/ls.c<br>        CC ../../debugfs/lsdel.c<br>        CC ../../debugfs/dump.c<br>../../debugfs/dump.c:22:19: fatal error: utime.h: No such file or directory<br>



compilation terminated.<br>make[2]: *** [dump.o] Error 1<br>make[2]: Leaving directory `/home/andrew/clfs-embedded/filesystem/sources/e2fsprogs-1.41.4/build/debugfs'<br><br>-Andrew<br><br></div></div>
<br></div></div><div>_______________________________________________<br>
Clfs-support mailing list<br>
<a href="mailto:Clfs-support@lists.cross-lfs.org" target="_blank">Clfs-support@lists.cross-lfs.org</a><br>
<a href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org" target="_blank">http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org</a><br>
<br></div></blockquote></div></blockquote></div></div><div><br>Nazmul,<br><br>When doing the configure step for e2fsprogs, try adding these two switches at the end "--disable-debugfs --disable-e2initrd-helper".  This will prevent everything in debugfs (our friend dump.c) and the e2initrd-helper (who also wants utime.h) from being built.<br>

Also note, this built for me with both e2fsprogs-1.41.4 and e2fsprogs-1.41.14.<br><br>My configure for e2fsprogs-1.41.4 looks like this:<br>CC="${CC}  -Os" ../configure --prefix=/usr   --with-root-prefix="" \<br>

--host=${CLFS_TARGET} --with-cc="${CC} -Os"   \<br>--with-linker=${LD} --disable-tls --disable-debugfs \<br>--disable-e2initrd-helper<br><br>I'm not sure what the impact of not having debugfs or e2initrd-helper is, but it builds.<br>

See if that's helpful for you.  If not, then finding out why utime.h can't be found will be the next step.  I've not been successful there yet.<br><br>For best results, delete the folder you've been building e2fsprogs in and untar a new copy of it.  Then follow the embedded book (git 20101128 version) section 7.5 but adding the two switches I mention above.  Let me know if it works or not.<br>

<br>Regards,<br>Andrew<br></div></div><br>
<br>_______________________________________________<br>
Clfs-support mailing list<br>
<a href="mailto:Clfs-support@lists.cross-lfs.org">Clfs-support@lists.cross-lfs.org</a><br>
<a href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org" target="_blank">http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>with best regards<br>       nazmul alam shovon<br><br>email : <a href="mailto:fadedreamz@gmail.com">fadedreamz@gmail.com</a>  <br>blog : <a href="http://yourdigitaleffects.blogspot.com">http://yourdigitaleffects.blogspot.com</a><br>