[lfs-dev] Possible problem with current glibc (LFS 7.2 cant recompile LFS 7.2)
bruce.dubbs at gmail.com
Sat Aug 25 14:35:08 PDT 2012
Jasmine Iwanek wrote:
> On 2012-08-25 22:05, Bruce Dubbs wrote:
>> Let's start over here. What exactly are the error conditions? I'm
>> sure if you are having the problem in Chapter 5 or Chapter 6. My
>> automated from the book's source do not show any problems.
> chapter 5 glibc
> rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or
> compilation terminated.
> make: *** [/mnt/lfs/sources/glibc-build/sunrpc/cross-rpc_clntout.o]
> Error 1
> make: *** [sunrpc/others] Error 2
> make: *** [all] Error 2
>> In my review of this thread it sounds like the problem is in Chapter
>> glibc from a LFS-7.1 host that does not have libtirpc installed, or
>> least the rpcnis-headers.tar.bz2 files.
> LFS-7.2 Host, no rpcnis-headers.tar.bz2, no libtirpc (LFS from LFS, No
> BLFS stuff at all)
OK, that's pretty early in the build. Does /usr/include/rpc/rpc.h exist
on the host?
If you add the following to the start of the chapter 5 instructions,
does it build?
sed -i 's|<rpc/types.h>|"rpc/types.h"|' sunrpc/rpc_clntout.c
More information about the lfs-dev