X-Spam-Check-By: sourceware.org
Date: Fri, 2 Dec 2005 18:32:53 +1100
From: Erik de Castro Lopo <mle+cygwin@mega-nerd.com>
To: cygwin@cygwin.com
Subject: Re: RPC headers anyone?
Message-Id: <20051202183253.33d50e9d.mle+cygwin@mega-nerd.com>
In-Reply-To: <438ECA5D.8030400@equate.dyndns.org>
References: <20051201202658.721762eb.mle+cygwin@mega-nerd.com> 	<438ECA5D.8030400@equate.dyndns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

