Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] v1.5 build failure w/ Solaris Studio 12.2 on Linux
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2012-02-21 15:16:37

Building the v1.5 branch on Linux with the Solaris Studio 12.2 compilers
I see the following failure:
> "[srcdir]/opal/event/event.h", line 797: Error: Type name expected
> instead of "u_char".
> "[srcdir]/opal/event/event.h", line 798: Error: Type name expected
> instead of "u_char".
> "[srcdir]/opal/event/event.h", line 1184: Error: "," expected instead
> of "*".
Where line 1184 is a prototype containing "u_char *".

As far as I can find, only several files below opal/event/ contain any
use of "u_char".
There is a typedef for u_char in hwloc, but no use that I could see.

To the best of my knowledge u_char is NOT defined by any standard, and
thus there is no particular header one can reliably find it in.
The alternatives, of course are "unsigned char" or "uint8_t" (defined in

I had a look at the trunk and VISUALLY is appears the same problem
exists in:
However, my testing is currently confined to the v1.5 branch in the
hopes of finally getting the next 1.5.5rc out the door.


Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900