The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 02-22-2005
Registered User
 

Join Date: Feb 2005
Posts: 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!!
Reply With Quote
Forum Sponsor
  #2  
Old 02-23-2005
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,274
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0