Hello William,<br><br>Thanks for following with me. When I posted the error I forgot that was the attempt to continue the make after having fail once. I should have posted the following,<br><br>gcc -m32 rpc_clntout.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -march=i686 -mtune=generic -Wstrict-prototypes   -Wa,-mtune=i686      -I../include -I/sources/eglibc-build/sunrpc -I/sources/eglibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -D_RPC_THREAD_SAFE_ -o /sources/eglibc-build/sunrpc/rpc_clntout.o -MD -MP -MF /sources/eglibc-build/sunrpc/rpc_clntout.o.dt -MT /sources/eglibc-build/sunrpc/rpc_clntout.o<br>
rpc_clntout.c:34:19: fatal error: types.h: No such file or directory<br>compilation terminated.<br>make[2]: *** [/sources/eglibc-build/sunrpc/rpc_clntout.o] Error 1<br>make[2]: Leaving directory `/sources/eglibc-2.15/sunrpc'<br>
make[1]: *** [sunrpc/others] Error 2<br>make[1]: Leaving directory `/sources/eglibc-2.15'<br>make: *** [all] Error 2<br>root:/sources/eglibc-build# <br><br>Nevertheless, I tried again from scratch with eglibc-2.15 (extracting the tarball and so on) and always errors out at same point (tried twice at least)<br>
<br>I am building multilib by the way.<br><br><br>Alonso<br><br><div class="gmail_quote">2012/7/7 William Harrington <span dir="ltr"><<a href="mailto:berzerkula@cox.net" target="_blank">berzerkula@cox.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On Jul 5, 2012, at 07:31 AM, Alonso Graterol wrote:<br>
<br>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I am currently in chapter 10.7 (stuck for a couple of days) and make instruction stops with following error<br>
<br>
gcc rpc_clntout.c -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \<br>
        -o /sources/eglibc-build/sunrpc/<u></u>cross-rpc_clntout.o -MD -MP -MF /sources/eglibc-build/sunrpc/<u></u>cross-rpc_clntout.o.dt -MT /sources/eglibc-build/sunrpc/<u></u>cross-rpc_clntout.o<br>
rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory<br>
compilation terminated.<br>
make[2]: *** [/sources/eglibc-build/sunrpc/<u></u>cross-rpc_clntout.o] Error 1<br>
make[2]: Leaving directory `/sources/eglibc-2.15/sunrpc'<br>
make[1]: *** [sunrpc/others] Error 2<br>
make[1]: Leaving directory `/sources/eglibc-2.15'<br>
make: *** [all] Error 2<br>
<br>
I check'd and the file is indeed at eglibc-2.15/sunrpc/rpc. I have not deviated from the book. I looked into sunrpc/Makefile and there are other header files listed before types.h to be searched within the same "rpc" subdirectory, which I guess they are all found.<br>

<br>
I have no clue.<br>
<br>
<br>
Alonso<br>
</blockquote>
<br></div></div>
In 10.7 , here <a href="http://cross-lfs.org/view/svn/x86_64-64/final-system/eglibc.html" target="_blank">http://cross-lfs.org/view/svn/<u></u>x86_64-64/final-system/eglibc.<u></u>html</a> , my build line is totally different. You should not even have cross-rpc_clntout . No cross compiling should be going on. I suspect you haven't removed the eglibc-2.15 and eglibc-build from the cross tools phase?<br>

<br>
Start with freshly extracted source and build directory and try again. The build line should be something akin to this:<br>
<br>
gcc rpc_clntout.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -mtune=generic -Wstrict-prototypes        -I../include -I/sources/eglibc-build/sunrpc -I/sources/eglibc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/<u></u>linux/x86_64 -I../sysdeps/unix/sysv/linux/<u></u>x86_64 -I../sysdeps/unix/sysv/linux/<u></u>wordsize-64 -I../nptl/sysdeps/unix/sysv/<u></u>linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu/<u></u>multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/<u></u>wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -D_RPC_THREAD_SAFE_ -o /sources/eglibc-build/sunrpc/<u></u>rpc_clntout.o -MD -MP -MF /sources/eglibc-build/sunrpc/<u></u>rpc_clntout.o.dt -MT /sources/eglibc-build/sunrpc/<u></u>rpc_clntout.o<br>

<br>
Which shows it is building for the final system build and not cross compiling like yours is trying to do.<div class="HOEnZb"><div class="h5"><br>
<br>
-William Harrington<br>
______________________________<u></u>_________________<br>
Clfs-support mailing list<br>
<a href="mailto:Clfs-support@lists.cross-lfs.org" target="_blank">Clfs-support@lists.cross-lfs.<u></u>org</a><br>
<a href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org" target="_blank">http://lists.cross-lfs.org/<u></u>listinfo.cgi/clfs-support-<u></u>cross-lfs.org</a><br>
</div></div></blockquote></div><br>