missing type in sys/types.h

Ralf Corsepius rc040203@freenet.de
Mon Oct 11 13:47:00 GMT 2004


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/



More information about the Cygwin mailing list