Error in sunrpc.h

Juergen Schmied (Juergen.Schmied@isst.fhg.de)
Mon, 3 Jul 1995 14:42:34 +0200

Hi !

I found a problem during the compile time.
I use SunOS 5.3 on a SPARC.

gcc -traditional -c -O -I. -I.. -I/opt/TCLTK-7.4-4.0/include
-I/opt/TCLTK-7.4-4.0/include -I/usr/X11R5/include sunrpc.c
In file included from /usr/include/rpc/rpc.h:18,
from sunrpc.c:24:
/usr/include/rpc/types.h:74: syntax error before `char'
/usr/include/rpc/types.h:74: parse error before `char'
sunrpc.c: In function `SunrpcInfo':
sunrpc.c:453: warning: initialization makes pointer from integer without a cast
sunrpc.c: In function `SunrpcProbe':
sunrpc.c:602: warning: assignment makes pointer from integer without a cast
sunrpc.c:606: warning: assignment makes pointer from integer without a cast
*** Error code 1
make: Fatal error: Command failed for target `sunrpc.o'

Have anybody a solution ?

Bye Juergen