This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: RPC headers anyone?
- From: "Robb, Sam" <sam dot robb at timesys dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 2 Dec 2005 12:06:58 -0500
- Subject: RE: RPC headers anyone?
> Ok, installed the sunrpc package and gcc now finds the required
> headers. Unfortunately, I now get an error at link time:
>
> (.text+0x96c): undefined reference to `_xdrmem_create'
> (.text+0x980): undefined reference to `_xdr_double'
>
> This code compiles under Linux so it seems that some special
> library must be needed under Cygwin.
>
> Anyone have any clues?
$ objdump -t /usr/lib/librpclib.a | grep _xdr
Are you linking with the RPC libraries? Using -lrpc should
do the trick.
-Samrobb
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/