delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/02/02:33:12

X-Spam-Check-By: sourceware.org
Date: Fri, 2 Dec 2005 18:32:53 +1100
From: Erik de Castro Lopo <mle+cygwin AT mega-nerd DOT com>
To: cygwin AT cygwin DOT 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 AT mega-nerd DOT com> <438ECA5D DOT 8030400 AT equate DOT dyndns DOT org>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019