RPC headers anyone?

Erik de Castro Lopo mle+cygwin@mega-nerd.com
Fri Dec 2 07:33:00 GMT 2005


Chris Taylor wrote:

> In fact there are two with these headers - the source package for the 
> cygwin dll, and the sunrpc package.
> The latter is probably what you want - they go in /usr/include
> 
> For future reference: http://cygwin.com/packages/

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?

Cheers,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"I'll just say that having programmed in Lisp the shortcomings
of Java are glaringly obvious." -- Erann Gat

--
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