Subject: Re: rpcgen generates "ifdef 1" in rpcb_prot.h
To: None <eeh@netbsd.org>
From: Oliver Paulzen <opp@MuFFiN.Org>
List: port-sparc64
Date: 07/18/2001 10:30:02
Hi Eduardo,

On Tue, Jul 17, 2001 at 11:14:20PM -0000, eeh@netbsd.org wrote:
> | rpcb_prot.x produce correct "#elif __STDC__" statements in rpcb_prot.h,
> | but the "%#ifdef __STDC__" results in "#ifdef 1" which makes the
> | compile fail in a later phase of the build.
> | The same source works on my sparc (32) boxes and rpcgen generates
> | "#ifdef __STDC__" as expected on those machines.
> | I recompiled rpcgen but this didn't help...
> |
> | Did someone else run into this problem? Or other ideas?
> 
> I think this problem is caused by a bad `awk' binary.  You nee to make
> sure your awk is compiled with the `-fsoft-quad-float' flag.

The awk gets compiled with -msoft-quad-float but this doesn't seem to
change anything. Is awk really part of the rpcgen process? Even
without any awk executable, rpcgen generates (a broken) rpcb_prot.h :-/

Any other hints?

TIA,
 Oliver

P.S.: Will there be a new sparc64-current snapshot soon? ;)

-- 
   opp@MuFFiN.Org       http://www.muffin.org/~opp/      +49-173-2313691