<div class="gmail_quote">On Sun, Jan 2, 2011 at 10:15 PM, dave shar <span dir="ltr"><<a href="mailto:clfs.user@gmail.com">clfs.user@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;">
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Dec 31, 2010 at 10:17 PM, dave shar <<a href="mailto:clfs.user@gmail.com" target="_blank">clfs.user@gmail.com</a>> wrote:<br>
<br>
><br>
> > Nazmul,<br>
>> ><br>
>> > I get the same error when using the 20101128 embedded ARM book, you're<br>
>> not<br>
>> > alone.  I'm going to dig into this and see what I can find.  A more<br>
>> detailed<br>
>> > output of error message from the compilation is (please note, my ${CLFS}<br>
>> > resolves to /home/andrew/clfs-embedded/filesystem):<br>
>> ><br>
>> > making all in debugfs<br>
>> > make[2]: Entering directory<br>
>> ><br>
>> `/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<br>
>> directory<br>
>> > compilation terminated.<br>
>> > make[2]: *** [dump.o] Error 1<br>
>> > make[2]: Leaving directory<br>
>> ><br>
>> `/home/andrew/clfs-embedded/filesystem/sources/e2fsprogs-1.41.4/build/debugfs'<br>
>> ><br>
>> > -Andrew<br>
>><br>
>><br>
>><br>
> I get error during running 'make check' and after checking it with the<br>
> devel guys I am certain that this has to do with timing and is safe to<br>
> ignore.<br>
><br>
> Best,<br>
><br>
> Dave<br>
><br>
><br>
Dave,<br>
<br>
This error happens on the 'make' command, not 'make check'.  Compilation<br>
stops before being complete (see "compilation terminated" in my error<br>
message above).  I can provide more detailed 'make' output, if needed, via<br>
pastebin or gist.<br>
<br>
Are you saying that even though compilation stops that e2fsprogs is built<br>
correctly and can be installed?<br>
<br>
Thanks,<br>
Andrew<br></blockquote></div><br><br>Andrew:<br><br>Sorry, I got that wrong. I compiles and installed e2fsprogs and had no trouble. You can try e2fsprogs-1.41.14.tar.gz or check md5 of your package. <br><br>Best,<br><font color="#888888"><br>

dave<br>
</font><br></blockquote><div> </div></div>Dave,<br><br>I attempted to use e2fsprogs-1.41.14 but with the same result.  Compilation stops looking for utime.h.  I checked the md5 sums, they're OK.<br><br>I don't think the issue is with e2fsprogs itself but with what ever installed utime.h (one version of which happens to be located at ${CLFS}/usr/include/linux/) or the configure arguments.  Possibly GCC, kernel headers, and uClibc play into this somewhere as well, but that's just baseless conjecture on my part right now.<br>
<br>This may be a bug that's only showing up on some architecutres in the embedded book.   I've not tried anything but ARM.  I'll do some more investigation this week.  I'm using GCC 4.5.1<br><br>"make" ends with:<br>
making all in debugfs<br>make[2]: Entering directory `/home/andrew/clfs-embedded/filesystem/sources/e2fsprogs-1.41.14/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.14/build/debugfs'<br>make[1]: *** [all-progs-recursive] Error 1<br>make[1]: Leaving directory `/home/andrew/clfs-embedded/filesystem/sources/e2fsprogs-1.41.14/build'<br>
make: *** [all] Error 2<br><br>My GCC is:<br>$ arm-unknown-linux-uclibc-gcc -v<br>Using built-in specs.<br>COLLECT_GCC=arm-unknown-linux-uclibc-gcc<br>COLLECT_LTO_WRAPPER=/home/andrew/clfs-embedded/filesystem/cross-tools/libexec/gcc/arm-unknown-linux-uclibc/4.5.1/lto-wrapper<br>
Target: arm-unknown-linux-uclibc<br>Configured with: ../gcc-4.5.1/configure --prefix=/home/andrew/clfs-embedded/filesystem/cross-tools --build=x86_64-cross-linux-gnu --target=arm-unknown-linux-uclibc --host=x86_64-cross-linux-gnu --with-sysroot=/home/andrew/clfs-embedded/filesystem --disable-nls --enable-shared --enable-languages=c --enable-c99 --enable-long-long --with-mpfr=/home/andrew/clfs-embedded/filesystem/cross-tools --with-gmp=/home/andrew/clfs-embedded/filesystem/cross-tools<br>
Thread model: posix<br>gcc version 4.5.1 (GCC)<br><br>I'm using uClibc 0.9.31 with the CLFS embedded 20101128 config patch.<br>Busybox built fine for me.<br><br>Thanks,<br>Andrew<br>