compiling glibc-2.2

Seth W. Klein sklein at
Mon Jan 1 12:20:49 PST 2001

"Kurt V. Hindenburg" wrote:
> Trying to compile glibc-2.2; I'm following the directions given here on
> the mailing list...(scott thomason)
> <....>
>   patch -Np0 -d elf/ < ../../glibc-2.2-ldconfig.patch
> <....>
> > make
> make  -C sunrpc others
> make[2]: Entering directory `/mnt/lfs2/usr/src/glibc-2.2/sunrpc'
> /mnt/lfs2/usr/src/glibc-build/elf/ --library-path
> /mnt/lfs2/usr/src/glibc-build:/mnt/lfs2/usr/src/glibc-build/math:/mnt/lfs2/usr/src/glibc-build/elf:/mnt/lfs2/usr/src/glibc-build/dlfcn:/mnt/lfs2/usr/src/glibc-build/nss:/mnt/lfs2/usr/src/glibc-build/nis:/mnt/lfs2/usr/src/glibc-build/rt:/mnt/lfs2/usr/src/glibc-build/resolv:/mnt/lfs2/usr/src/glibc-build/crypt:/mnt/lfs2/usr/src/glibc-build/linuxthreads
> /mnt/lfs2/usr/src/glibc-build/sunrpc/rpcgen -Y `gcc -print-file-name=cpp | sed
> "s|/cpp$||"` -c rpcsvc/bootparam_prot.x -o
> /mnt/lfs2/usr/src/glibc-build/sunrpc/xbootparam_prot.T
> rpcsvc/bootparam_prot.x: Value too large for defined data type
> make[2]: *** [/mnt/lfs2/usr/src/glibc-build/sunrpc/xbootparam_prot.stmp] Error
> 1
> make[2]: Leaving directory `/mnt/lfs2/usr/src/glibc-2.2/sunrpc'
> make[1]: *** [sunrpc/others] Error 2

Something like this has come up before. The problem was binutils. With
glibc 2.1.x the fix was to upgrade to a binutils version more recent
than 2.10. The workaround was to not compile glibc as root.

This error is different but at the same place; so this may not work,
but it might. ;)

sklein at                

Unsubscribe: send email to lfs-discuss-request at
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list