Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-01-25 14:38:02


On Jan 25, 2007, at 1:58 PM, <john.shin1_at_[hidden]> wrote:

> After a while, the make process stops with the following error:
>
> maffinity_first_use_component.c:55: error: syntax error before ‘,’
> token
> maffinity_first_use_component.c:61: warning: initialization makes
> integer from pointer without a cast
> make[2]: *** [maffinity_first_use_component.lo] Error 1
> make[2]: Leaving directory ‘/usr/people/jshin/openmpi-1.1.2/opal/
> mca/maffinity/first_use’
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory ‘/usr/people/jshin/openmpi-1.1.2/opal’
> make: *** [all-recursive] Error 1

This is quite interesting -- lines 55 and 61 are part of a static
structure initialization, and the #defines in there should all be for
internal values. So they should all be fine.

Can you send the output of preprocessing this file? Copy-n-paste the
majority of the command to compile this file and remove any "-c" and
"-o foo" options, and put in -E. Redirect that to a file and send it
along -- I'd like to see what happens after all the #define's are
resolved.

-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems