[lfs-dev] Possible problem with current glibc (LFS 7.2 cant recompile LFS 7.2)

Bruce Dubbs bruce.dubbs at gmail.com
Sat Aug 25 14:05:34 PDT 2012

Jasmine Iwanek wrote:
> On 2012-08-25 16:14, Bruce Dubbs wrote:
>> 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
>> Did you try adding --enable-obsolete-rpc to the ./configure line?

> Not as yet, running bootstrap after bootstrap isn't exactly fun, but I
> *personally* think that William's fix is the one that should be going
> into the book for now. (There may be other hosts out there other than
> LFS that don't install that header as well)
> I'll be completing another run through later on and seeing if I can
> spot other things that can trounce the build.

Let's start over here.  What exactly are the error conditions?  I'm not 
sure if you are having the problem in Chapter 5 or Chapter 6.  My builds 
automated from the book's source do not show any problems.

In my review of this thread it sounds like the problem is in Chapter 5 
glibc from a LFS-7.1 host that does not have libtirpc installed, or at 
least the rpcnis-headers.tar.bz2 files.

   -- Bruce

More information about the lfs-dev mailing list