02-23-05 04:39 AM
I am trying to create a server and client pair to run using RPC. I have gen
erated the client/server stubs, the XDR file, and the header file using rpcg
en. The problem is that when I try to compile the code, I always get undefi
ned symbols: xdr_vector, xdr_pointer, clnt_create, xdr_char, clnt_pcreateer
ror, xdr_u_int, and xdr_int. I believe these are defined under the headers:
<rpc/rpc.h> and <rpc/xdr.h>. Both of these headers are included in the fil
es. I am not quite sure what the problem is. I have the code compiling on
a Sun Solaris machine. It is strange though, since when I try to compile on
a Linux box, it does not have these problems. Unfortunately, I really need
to get this to work on Solaris. Any help is greatly appreciated!!
[ Post a follow-up to this message ]
|