On Aug 25, 2012, at 07:47 AM, Jasmine Iwanek wrote:

> Onto my second pass building 7.2 dev and it would appear that without
> the obsolete rpc interfaces that glibc 2.16 wont compile, I grabbed
> rpc/types.h and put it in usr/include/rpc and all was good to go  
> again.
>
> Don't know if anyone else has as yet tried building 7.2 in 7.2 but I
> think this may be worth looking into.
>
> rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or
> directory
> compilation terminated.
> make[2]: *** [/mnt/lfs/sources/glibc-build/sunrpc/cross-rpc_clntout.o]
> Error 1
> make[1]: *** [sunrpc/others] Error 2
> make: *** [all] Error 2
>

It's an issue when cross compiling, that's why you see cross-rpc_clntout

The fix you need to do is this:

sed -i 's/<rpc\/types.h>/"rpc\/types.h"/' sunrpc/rpc_clntout.c


Reason:

RPC headers are not installed at /tools/include/rpc. Glibc build will  
get into a bad state due to the new rpc helpers that get cross- 
compiled. We do not want this, so the following command will use the  
internal rpc types header.

Note: You will not need this in ch6 glibc install.

Sincerely,



William Harrington






-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to