This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: missing type in sys/types.h


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]