<br><br><div class="gmail_quote">2012/7/8 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 8, 2012, at 14:51 PM, Alonso Graterol wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/7/8 William Harrington <<a href="mailto:berzerkula@cox.net" target="_blank">berzerkula@cox.net</a>><br>
<br>
On Jul 8, 2012, at 12:52 PM, Alonso Graterol wrote:<br>
<br>
William,<br>
<br>
I tried eglibc-2.13-r13356 and it stops at same point for the exact same reason,<br>
<br>
gcc rpc_svcout.c -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \<br>
    -o /sources/eglibc-build/sunrpc/<u></u>cross-rpc_svcout.o -MD -MP -MF /sources/eglibc-build/sunrpc/<u></u>cross-rpc_svcout.o.dt -MT /sources/eglibc-build/sunrpc/<u></u>cross-rpc_svcout.o<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>
<br>
</blockquote>
<br></div>
Oh I see now. If we build and install eglibc without rpc, we will not have headers in /tools/include/rpc . But if we try to build eglibc with rpc this gets into a bad state due to the new rpc helpers that get cross-compiled.<br>

<br>
Try this patch I have created located at <a href="http://pastebin.cross-lfs.org/230642" target="_blank">http://pastebin.cross-lfs.org/<u></u>230642</a><br>
<br>
Sincerely,<br>
<br>
William Harrington<div class="HOEnZb"><div class="h5"><br>
<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><br>Tried the patch and make finished as expected, no errors. <br><br>Make check is giving me some errors as follows. Have not look into them but will let you know the findings.<br><br>
/usr/bin/perl scripts/<a href="http://begin-end-check.pl">begin-end-check.pl</a> argp/argp.h assert/assert.h catgets/nl_types.h crypt/crypt.h ctype/ctype.h debug/execinfo.h dirent/dirent.h dlfcn/dlfcn.h elf/elf.h elf/link.h gmon/sys/gmon.h gmon/sys/gmon_out.h gmon/sys/profil.h grp/grp.h gshadow/gshadow.h iconv/iconv.h iconv/gconv.h inet/netinet/in.h inet/netinet/igmp.h inet/netinet/ip6.h inet/netinet/ether.h inet/netinet/icmp6.h inet/arpa/telnet.h inet/arpa/inet.h inet/arpa/ftp.h inet/arpa/tftp.h inet/protocols/routed.h inet/protocols/timed.h inet/protocols/rwhod.h inet/protocols/talkd.h inet/aliases.h inet/ifaddrs.h inet/netinet/ip6.h inet/netinet/icmp6.h intl/libintl.h io/sys/stat.h io/sys/statfs.h io/sys/vfs.h io/sys/statvfs.h io/fcntl.h io/sys/fcntl.h io/poll.h io/sys/poll.h io/utime.h io/ftw.h io/fts.h io/sys/sendfile.h libio/stdio.h libio/libio.h locale/locale.h locale/langinfo.h locale/xlocale.h login/utmp.h login/lastlog.h login/pty.h malloc/malloc.h malloc/obstack.h malloc/mcheck.h math/math.h math/complex.h math/fenv.h math/tgmath.h misc/sys/uio.h nis/rpcsvc/yp_prot.h nis/rpcsvc/nis_callback.h nis/rpcsvc/yp.h nis/rpcsvc/ypupd.h nis/rpcsvc/nislib.h nis/rpcsvc/nis_tags.h nis/rpcsvc/ypclnt.h nis/rpcsvc/nis.h nptl_db/thread_db.h nptl/sysdeps/pthread/pthread.h nptl/semaphore.h nss/nss.h posix/sys/utsname.h posix/sys/times.h posix/sys/wait.h posix/sys/types.h posix/unistd.h posix/glob.h posix/regex.h posix/wordexp.h posix/fnmatch.h posix/getopt.h posix/tar.h posix/sys/unistd.h posix/sched.h posix/re_comp.h posix/wait.h posix/cpio.h posix/spawn.h pwd/pwd.h resolv/resolv.h resolv/netdb.h resolv/arpa/nameser_compat.h resolv/arpa/nameser.h resource/sys/resource.h resource/sys/vlimit.h resource/sys/vtimes.h resource/ulimit.h rt/aio.h rt/mqueue.h setjmp/setjmp.h shadow/shadow.h signal/signal.h signal/sys/signal.h socket/sys/socket.h socket/sys/un.h stdio-common/printf.h stdio-common/stdio_ext.h stdlib/stdlib.h stdlib/alloca.h stdlib/monetary.h stdlib/fmtmsg.h stdlib/ucontext.h sysdeps/generic/inttypes.h sysdeps/generic/stdint.h stdlib/errno.h stdlib/sys/errno.h string/string.h string/strings.h string/memory.h string/endian.h string/argz.h string/envz.h string/byteswap.h sunrpc/rpc/pmap_clnt.h sunrpc/rpc/xdr.h sunrpc/rpc/rpc_des.h sunrpc/rpc/auth_des.h sunrpc/rpc/pmap_rmt.h sunrpc/rpc/rpc.h sunrpc/rpc/auth.h sunrpc/rpc/key_prot.h sunrpc/rpc/netdb.h sunrpc/rpc/rpc_msg.h sunrpc/rpc/auth_unix.h sunrpc/rpc/pmap_prot.h sunrpc/rpc/svc.h sunrpc/rpc/clnt.h sunrpc/rpc/des_crypt.h sunrpc/rpc/types.h sunrpc/rpc/svc_auth.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > /sources/eglibc-build/begin-end-check.out<br>
make[1]: Target `check' not remade because of errors.<br>make[1]: Leaving directory `/sources/eglibc-2.15'<br>make: *** [check] Error 2<br>make[2]: *** [/sources/eglibc-build/localedata/tst-xlocale1.out] Error 1<br>
make[1]: *** [localedata/tests] Error 2<br>make[2]: [/sources/eglibc-build/posix/annexc.out] Error 1 (ignored)<br>make[2]: *** [/sources/eglibc-build/debug/tst-backtrace5.out] Error 1<br>make[2]: *** [/sources/eglibc-build/debug/tst-backtrace6.out] Error 1<br>
make[1]: *** [debug/tests] Error 2<br>make[2]: *** [/sources/eglibc-build/elf/check-localplt.out] Error 1<br>make[1]: *** [elf/tests] Error 2<br>make: *** [check] Error 2<br>root:/sources/eglibc-build# <br><br><br>Alonso<br>
<br>