PTL logo

From: Jan Celis (jancelis_at_[hidden])
Date: 2009-07-06 18:17:30


I try to compile mpi.net-1.0.0 on Ubuntu jaunty and I get gmcs compile errors on lines containing "internal extern int;"
I am using gmcs Mono C# compiler version 2.0.1.0 and perl v5.10.0 built for i486-linux-gnu-thread-multi

Any hints?

./configure went well
make gives following errors on CustomUnsafe.cs (errors are identical using LAM/MPI or OpenMPI)

/usr/bin/gmcs -out:MPI.dll -unsafe -target:library -lib:../MPIUtils -reference:MPIUtils -optimize+ -define:BROKEN_IL_EMIT -define:BROKEN_NULL_DELEGATE -define:MPI_HANDLES_ARE_POINTERS -keyfile:./MPI.snk ./Attribute.cs ./CartesianCommunicator.cs ./Communicator.cs ./Comparison.cs ./DatatypeCache.cs ./Environment.cs ./Exceptions.cs ./GraphCommunicator.cs ./Group.cs ./Intercommunicator.cs ./Intracommunicator.cs ./Operation.cs ./Request.cs ./RequestList.cs ./Status.cs ./TagAllocator.cs ./TopologicalCommunicator.cs ./UnmanagedMemoryStream.cs CustomUnsafe.cs
CustomUnsafe.cs(104,32): error CS1041: Identifier expected
CustomUnsafe.cs(105,32): error CS1518: Expected `class', `delegate', `enum', `interface', or `struct'
CustomUnsafe.cs(340,41): error CS0116: A namespace can only contain types and namespace declarations
CustomUnsafe.cs(345,41): error CS0116: A namespace can only contain types and namespace declarations
Compilation failed: 4 error(s), 0 warnings
make[1]: *** [MPI.dll] Error 1
make[1]: Leaving directory `/home/jancelis/gedistrsystemen/mpi.net-1.0.0/MPI'
make: *** [all-recursive] Error 1