delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/11/09:40:32

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
Subject: Re: missing type in sys/types.h
From: Ralf Corsepius <rc040203 AT freenet DOT de>
To: cygwin AT cygwin DOT com
In-Reply-To: <200410110922.i9B9MPUn009448@tyr.informatik.fh-fulda.de>
References: <200410110922 DOT i9B9MPUn009448 AT tyr DOT informatik DOT fh-fulda DOT de>
Message-Id: <1097501978.17006.9861.camel@mccallum.corsepiu.local>
Mime-Version: 1.0
Date: Mon, 11 Oct 2004 15:39:38 +0200
X-IsSubscribed: yes

On Mon, 2004-10-11 at 11:22, Siegmar Gross wrote:
> Hi,
> 
> I've just tried to build MPICH-1.2.6 on the current Cygwin release and
> have had a problem because "bool_t" isn't defined in "sys/types.h" so that
> "rpc/xdr.h" couldn't be compiled.

Does mpich expect bool_t in sys/types.h?

sys/types.h is covered by standards and I am not aware of any system
providing bool_t there.

>  After adding the line "typedef int bool_t;"
> to sys/types.h and adding "-lib=-lrpc" to mpich's "configure" (otherwise
> the functions "_xdr_*" couldn't be found) I succeded.

All xdr/rpc implementations I am aware about, provide bool_t as a
typedef or define to 32bit int in rpc/types.h.

Ralf



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