« Return to Thread: [PATCH] sunrpc: fix rpc bootstrap builds

Re: [PATCH] sunrpc: fix rpc bootstrap builds

by Andreas Jaeger-8 :: Rate this Message:

| View in Thread

On 07/03/2012 09:54 PM, Mike Frysinger wrote:

> If you build & install glibc w/rpc disabled, you no longer have headers in
> /usr/include/rpc/ (this is expected).  But if you try to build glibc w/rpc
> enabled, this gets into a bad state due to the new rpc helpers that get
> cross-compiled:
>
> $ make
> ...
> x86_64-pc-linux-gnu-gcc -m32   -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \
> -include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \
> -MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c
> rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
> compilation terminated.
> make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1
>
> Signed-off-by: Mike Frysinger <vapier@...>
>
> 2012-07-03  Mike Frysinger  <vapier@...>
>
> * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".


I suggest to commit this for the 2.16 branch as well,

Andreas
--
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


 « Return to Thread: [PATCH] sunrpc: fix rpc bootstrap builds