hi.
i am trying to compile a program that is using Sun RPC.
the routine clnt_call is giving me problems.
the program has:
clnt_call(cl, 15, xdr_wrapstring, (char *)&path,xdr_wrapstring, (char
*)&bp, tm);
on compilation i get:
warning: passing arg 3 from incompatible pointer type
warning: passing arg 5 from incompatible pointer type
for the same routine.
when i run the executable:
clnt_call: RPC: Can't encode arguments
this is on a machine running linux 2.0.35,but i am told
the same prog. was running just fine on a solaris 2.5.1
i have very little experience with RPCs.
can anyone suggest something to get it running on linux??
TIA.
Sent via Deja.com http://www.deja.com/
Before you buy.