| emeralddream 2005-02-22, 11:39 pm |
| I am trying to create a server and client pair to run using RPC. I have generated the client/server stubs, the XDR file, and the header file using rpcgen. The problem is that when I try to compile the code, I always get undefined symbols: xdr_vector, xdr_pointer, clnt_create, xdr_char, clnt_pcreateerror, 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 files. 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!! |