On Jul 8, 2012, at 14:51 PM, Alonso Graterol wrote:

2012/7/8 William Harrington <[email protected]>

On Jul 8, 2012, at 12:52 PM, Alonso Graterol wrote:

William,

I tried eglibc-2.13-r13356 and it stops at same point for the exact same reason,

gcc rpc_svcout.c -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
-o /sources/eglibc-build/sunrpc/cross-rpc_svcout.o -MD -MP -MF / sources/eglibc-build/sunrpc/cross-rpc_svcout.o.dt -MT /sources/ eglibc-build/sunrpc/cross-rpc_svcout.o
gcc rpc_clntout.c -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
-o /sources/eglibc-build/sunrpc/cross-rpc_clntout.o -MD -MP - MF /sources/eglibc-build/sunrpc/cross-rpc_clntout.o.dt -MT /sources/ eglibc-build/sunrpc/cross-rpc_clntout.o rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
compilation terminated.


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.

Try this patch I have created located at http://pastebin.cross- lfs.org/230642

Sincerely,

William Harrington

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to