delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/01/15:59:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: jstXOJIVM1mDg.FPeft9hhF_6JO86qP6S5lgTudF3e8u60JHWut74CisKZnW9SWzRA--
Date: Thu, 1 Nov 2007 13:59:13 -0700 (PDT)
From: "Cary R." <cygcary AT yahoo DOT com>
Subject: Minor sunrpc problem
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <714154.191.qm@web59105.mail.re1.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On my Linux machine the rpc/xdr.h header file includes rpc/types.h and the
cygwin version does not. This results in configure scripts not being able
to verify that rpc/xdr.h is a valid file. Applying the following patch
makes this work as expected.

--- xdr.h.orig	2005-03-10 13:32:52.001000000 -0800
+++ xdr.h	2007-11-01 13:32:57.796875000 -0700
@@ -38,6 +38,8 @@
 #ifndef __XDR_HEADER__
 #define __XDR_HEADER__
 
+#include <rpc/types.h>
+
 /*
  * XDR provides a conventional way for converting between C data
  * types and an external bit-string representation.  Library supplied

Cary

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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