Using Mono 2.4.2.3 compiling nmapi fails with an error (see below).
Will there be a fix/workaraound/solution other than building with Mono 2.4.0.0 (which works fine)?
Any info is appreciated.
install@karmic:nmapi$ gmcs --version
Mono C# compiler version 2.4.2.3
install@karmic:nmapi$ gmcs /debug -d:DEBUG -d:TRACE /nowarn:1591 /target:exe \
/out:bin/nmapisvr.exe \
/resource:server.zip,server.zip \
/r:System.ServiceModel.dll \
/r:Novell.Directory.Ldap.dll \
/r:Mono.WebServer2.dll \
/r:ICSharpCode.SharpZipLib.dll \
/r:bin/RemoteTeaSharp.dll \
/r:System.Runtime.Remoting.dll \
/r:System.Web.dll \
/r:bin/NMapi.Provider.TeamXChange.dll \
/r:bin/NMapi.Tools.Shell.dll \
/r:bin/NMapi.Server.ICalls.dll \
/r:bin/NMapi.dll \
server/AssemblyInfo.cs server/CallAttribute.cs server/CommonRpcService.cs server/Configuration.cs server/Driver.cs server/IEventDispatcher.cs server/InternalCallServer.cs server/IServerModule.cs server/ObjectStore.cs server/PostCallAttribute.cs server/PreCallAttribute.cs server/ProxySession.cs server/Request.cs server/ServerConnectionString.cs server/SessionManager.cs server/WebServer.cs \
server/Protocols/OncRpc/OncRpcService_Generated.cs \
server/CommonRpcService_Generated.cs
server/Protocols/OncRpc/OncRpcService_Generated.cs(31,52): error CS0115: `NMapi.Server.OncRpcService.Session_Logon2_1(CompactTeaSharp.Server.OncRpcCallInformation, NMapi.Interop.MapiRPC.Session_Logon2_arg)' is marked as an override but no suitable method found to override
server/Protocols/OncRpc/OncRpcService_Generated.cs(64,55): error CS0115: `NMapi.Server.OncRpcService.Session_OpenStore_1(CompactTeaSharp.Server.OncRpcCallInformation, NMapi.Interop.MapiRPC.Session_OpenStore_arg)' is marked as an override but no suitable method found to override
server/Protocols/OncRpc/OncRpcService_Generated.cs(104,53): error CS0115: `NMapi.Server.OncRpcService.MsgStore_Advise_1(CompactTeaSharp.Server.OncRpcCallInformation, NMapi.Interop.MapiRPC.MsgStore_Advise_arg)' is marked as an override but no suitable method found to override
[snip]
Compilation failed: 150 error(s), 0 warnings
make: *** [bin/nmapisvr.exe] Error 1
Not a NMAPI bug, but "due to Ubuntu's braindead shell setup".
See http:// git.openmapi. org/nmapi/ commit/ ?id=4015ac1c8a3 081cd8fb3282c96 f5fdcaf431ff25