delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | RE: RPC headers anyone? |
Date: | Fri, 2 Dec 2005 12:06:58 -0500 |
Message-ID: | <3D848382FB72E249812901444C6BDB1D022F54F4@exchange.timesys.com> |
From: | "Robb, Sam" <sam DOT robb AT timesys DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |