[Clfs-support] Trouble compiling eglibc GIT-20120610-x86_64-Multilib

William Harrington berzerkula at cox.net
Sun Jul 8 13:07:03 PDT 2012


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

> 2012/7/8 William Harrington <berzerkula at cox.net>
>
> 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




More information about the Clfs-support mailing list