Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] compile error in trunk
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-02-20 08:09:07


Was just fixed in https://svn.open-mpi.org/trac/ompi/changeset/30780.

On Feb 20, 2014, at 7:11 AM, Mike Dubman <miked_at_[hidden]> wrote:

> Hi,
> This commit caused the failure:
> • Comments about 'db' arguments.
> • Fixes #4205: ensure sizeof(MPI_Count) <= sizeof(size_t)
>
> 13:28:24
> CC ompi_datatype_args.lo
>
> 13:28:24
> In file included from ../../ompi/datatype/ompi_datatype.h:43,
>
> 13:28:24
> from ompi_datatype_args.c:33:
>
> 13:28:24
> ../../ompi/include/mpi.h:324: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:325: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:326: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:374: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:376: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> In file included from ../../ompi/datatype/ompi_datatype.h:43,
>
> 13:28:24
> from ompi_datatype_args.c:33:
>
> 13:28:24
> ../../ompi/include/mpi.h:1159: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1164: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1178: error: expected ')' before 'size'
>
> 13:28:24
> ../../ompi/include/mpi.h:1331: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1332: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1333: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1338: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1340: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1343: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1345: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1347: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1349: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1351: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1353: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1367: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1368: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1369: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1370: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1383: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1384: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1385: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1388: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1404: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1424: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1427: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:1430: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1550: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1550: error: expected ';', ',' or ')' before 'sdispls'
>
> 13:28:24
> ../../ompi/include/mpi.h:1553: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1553: error: expected ';', ',' or ')' before 'sdispls'
>
> 13:28:24
> ../../ompi/include/mpi.h:1564: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1564: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1566: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1576: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1653: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:1677: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1677: error: expected ';', ',' or ')' before 'array_of_displacements'
>
> 13:28:24
> ../../ompi/include/mpi.h:1681: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1681: error: expected ';', ',' or ')' before 'array_of_displacements'
>
> 13:28:24
> ../../ompi/include/mpi.h:1684: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1695: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1695: error: expected ';', ',' or ')' before 'array_of_displacements'
>
> 13:28:24
> ../../ompi/include/mpi.h:1701: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1702: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1705: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1715: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1720: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1721: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1722: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:1723: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:1726: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1727: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1728: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:1729: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:1731: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1734: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1740: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1747: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:1749: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1753: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1761: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1762: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1775: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1810: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1815: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:1829: error: expected ')' before 'size'
>
> 13:28:24
> ../../ompi/include/mpi.h:1982: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1983: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1984: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1989: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1991: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1994: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1996: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:1998: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2000: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2002: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2004: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2018: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2019: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2020: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2021: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2034: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2035: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2036: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2039: error: expected declaration specifiers or '...' before 'MPI_Offset'
>
> 13:28:24
> ../../ompi/include/mpi.h:2055: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2075: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2080: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:2083: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2203: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2203: error: expected ';', ',' or ')' before 'sdispls'
>
> 13:28:24
> ../../ompi/include/mpi.h:2206: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2206: error: expected ';', ',' or ')' before 'sdispls'
>
> 13:28:24
> ../../ompi/include/mpi.h:2217: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2217: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2219: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2229: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2306: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:2329: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2329: error: expected ';', ',' or ')' before 'array_of_displacements'
>
> 13:28:24
> ../../ompi/include/mpi.h:2332: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2339: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2339: error: expected ';', ',' or ')' before 'array_of_displacements'
>
> 13:28:24
> ../../ompi/include/mpi.h:2347: warning: type defaults to 'int' in declaration of 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2347: error: expected ';', ',' or ')' before 'array_of_displacements'
>
> 13:28:24
> ../../ompi/include/mpi.h:2353: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2354: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2357: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2367: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2372: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2373: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2374: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:2375: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:2378: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2379: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2380: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:2381: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:2383: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2386: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2392: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2399: error: expected declaration specifiers or '...' before 'MPI_Count'
>
> 13:28:24
> ../../ompi/include/mpi.h:2401: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2405: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2414: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2415: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:24
> ../../ompi/include/mpi.h:2428: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:25
> ompi_datatype_args.c:661: error: expected declaration specifiers or '...' before 'MPI_Aint'
>
> 13:28:25
> ompi_datatype_args.c:661: error: conflicting types for '__ompi_datatype_create_from_args'
>
> 13:28:25
> ompi_datatype_args.c:41: note: previous declaration of '__ompi_datatype_create_from_args' was here
>
> 13:28:25
> ompi_datatype_args.c: In function '__ompi_datatype_create_from_args':
>
> 13:28:25
> ompi_datatype_args.c:689: error: 'a' undeclared (first use in this function)
>
> 13:28:25
> ompi_datatype_args.c:689: error: (Each undeclared identifier is reported only once
>
> 13:28:25
> ompi_datatype_args.c:689: error: for each function it appears in.)
>
> 13:28:25 make[2]: *** [ompi_datatype_args.lo] Error 1
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/