bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fails to compile.


From: Justin Guyett
Subject: Re: fails to compile.
Date: Fri, 15 Jun 2001 03:45:31 -0700 (PDT)

On Fri, 15 Jun 2001, Phillip J Shelton wrote:

> address@hidden glibc]$ gcc --version
> 2.95.3
> address@hidden glibc]$ make --version
> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> address@hidden glibc]$ ld -version
> GNU ld 2.11
> address@hidden glibc]$ sed --version
> GNU sed version 3.02

hmm, i'm not sure if it's a problem but 3.02.80 (available at
alpha.gnu.org/pub/sed) is more than a year newer than 3.02.

> Any hlep appreiated.
>
> /home/redhat/redhat/BUILD/glibc/elf/ld-linux.so.2 --library-path
> /home/redhat/redhat/BUILD/glibc:/home/redhat/redhat/BUILD/glibc/math:/home/redhat/redhat/BUILD/glibc/elf:/home/redhat/redhat/BUILD/glibc/dlfcn:/home/redhat/redhat/BUILD/glibc/nss:/home/redhat/redhat/BUILD/glibc/nis:/home/redhat/redhat/BUILD/glibc/rt:/home/redhat/redhat/BUILD/glibc/resolv:/home/redhat/redhat/BUILD/glibc/crypt:/home/redhat/redhat/BUILD/glibc/linuxthreads
> /home/redhat/redhat/BUILD/glibc/sunrpc/rpcgen -Y `gcc
> -print-file-name=cpp | sed 's|/cpp$||'` -c rpcsvc/bootparam_prot.x -o
> /home/redhat/redhat/BUILD/glibc/sunrpc/xbootparam_prot.T
> cannot find C preprocessor: cpp/cpp
> /home/redhat/redhat/BUILD/glibc/sunrpc/rpcgen: C preprocessor failed
> with exit code 1
> make[2]: ***
> [/home/redhat/redhat/BUILD/glibc/sunrpc/xbootparam_prot.stmp] Error 1
> make[2]: Leaving directory
> `/home/redhat/redhat/BUILD/glibc-2.2.3/sunrpc'
> make[1]: *** [sunrpc/others] Error 2
> make[1]: Leaving directory `/home/redhat/redhat/BUILD/glibc-2.2.3'
> make: *** [all] Error 2

It can't find cpp, usually rpcgen looks in /lib/cpp and some other weird
places, so make sure /lib/cpp is a symlink to the appropriate place
(probably /usr/bin/cpp)


justin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]