X-Spam-Check-By: sourceware.org content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: RPC headers anyone? Date: Fri, 2 Dec 2005 12:06:58 -0500 Message-ID: <3D848382FB72E249812901444C6BDB1D022F54F4@exchange.timesys.com> From: "Robb, Sam" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jB2HCSKn004041 > 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/