![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Carreer:Networking Programming in Unix (C programming Language) | vibhory2j | UNIX for Dummies Questions & Answers | 5 | 09-05-2008 04:57 PM |
| SS7 programming | jagdish.machhi@ | High Level Programming | 5 | 11-26-2007 11:59 PM |
| Unix Systems Programming Vs Unix Programming | BCarlson | Shell Programming and Scripting | 0 | 05-24-2006 11:34 AM |
| c programming or unix programming!? | moxxx68 | High Level Programming | 1 | 03-30-2004 05:53 AM |
| Programming | CreamHarry | High Level Programming | 3 | 03-07-2002 12:09 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
RPC Programming
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!!
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
It sounds like a linking problem. Try using the -L <path> option to have the linker search for the library in a specified location.
Last edited by jim mcnamara; 02-23-2005 at 08:44 AM. |
|||
| Google The UNIX and Linux Forums |