RPC headers anyone?
Robb, Sam
sam.robb@timesys.com
Fri Dec 2 17:12:00 GMT 2005
> 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/
More information about the Cygwin
mailing list