error while compiling in mono
Closed this issue · 1 comments
`XBuild Engine Version 12.0
Mono, Version 4.2.1.0
Copyright (C) 2005-2013 Various Mono authors
Build started 12/17/2017 16:46:06.
Project "/root/ygosharp/YGOSharp.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Target Build:
Project "/root/ygosharp/YGOSharp.Network/YGOSharp.Network.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Target CoreCompile:
Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/YGOSharp.Network.dll AsyncBinaryClient.cs AsyncNetworkServer.cs AsyncYGOClient.cs BinaryClient.cs Enums/PlayerChange.cs Enums/CtosMessage.cs Enums/GameState.cs Enums/PlayerState.cs Enums/PlayerType.cs Enums/StocMessage.cs NetworkClient.cs NetworkServer.cs Properties/AssemblyInfo.cs Utils/BinaryExtensions.cs YGOClient.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll /reference:/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll /warn:4
CSC: error CS0518: The predefined type System.Object' is not defined or imported CSC: error CS0518: The predefined type
System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type System.Attribute' is not defined or imported CSC: error CS0518: The predefined type
System.Int32' is not defined or imported
CSC: error CS0518: The predefined type System.UInt32' is not defined or imported CSC: error CS0518: The predefined type
System.Int64' is not defined or imported
CSC: error CS0518: The predefined type System.UInt64' is not defined or imported CSC: error CS0518: The predefined type
System.Single' is not defined or imported
CSC: error CS0518: The predefined type System.Double' is not defined or imported CSC: error CS0518: The predefined type
System.Char' is not defined or imported
CSC: error CS0518: The predefined type System.Int16' is not defined or imported CSC: error CS0518: The predefined type
System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type System.Boolean' is not defined or imported CSC: error CS0518: The predefined type
System.SByte' is not defined or imported
CSC: error CS0518: The predefined type System.Byte' is not defined or imported CSC: error CS0518: The predefined type
System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type System.String' is not defined or imported CSC: error CS0518: The predefined type
System.Enum' is not defined or imported
CSC: error CS0518: The predefined type System.Delegate' is not defined or imported CSC: error CS0518: The predefined type
System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type System.Void' is not defined or imported CSC: error CS0518: The predefined type
System.Array' is not defined or imported
CSC: error CS0518: The predefined type System.Type' is not defined or imported CSC: error CS0518: The predefined type
System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type System.Collections.IEnumerable' is not defined or imported CSC: error CS0518: The predefined type
System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type System.IntPtr' is not defined or imported CSC: error CS0518: The predefined type
System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type System.RuntimeFieldHandle' is not defined or imported CSC: error CS0518: The predefined type
System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type System.Exception' is not defined or imported Task "Csc" execution -- FAILED Done building target "CoreCompile" in project "/root/ygosharp/YGOSharp.Network/YGOSharp.Network.csproj".-- FAILED Done building project "/root/ygosharp/YGOSharp.Network/YGOSharp.Network.csproj".-- FAILED Project "/root/ygosharp/SevenZip/SevenZip.csproj" (default target(s)): Target PrepareForBuild: Configuration: Debug Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/SevenZip.dll Common/CommandLineParser.cs Common/CRC.cs Common/InBuffer.cs Common/OutBuffer.cs Compress/LZMA/LzmaBase.cs Compress/LZMA/LzmaDecoder.cs Compress/LZMA/LzmaEncoder.cs Compress/LZ/IMatchFinder.cs Compress/LZ/LzBinTree.cs Compress/LZ/LzInWindow.cs Compress/LZ/LzOutWindow.cs Compress/RangeCoder/RangeCoder.cs Compress/RangeCoder/RangeCoderBit.cs Compress/RangeCoder/RangeCoderBitTree.cs ICoder.cs Properties/AssemblyInfo.cs /target:library /define:"DEBUG;TRACE" /nostdlib /platform:x86 /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll /reference:/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll /warn:4 CSC: error CS0518: The predefined type
System.Object' is not defined or imported
CSC: error CS0518: The predefined type System.ValueType' is not defined or imported CSC: error CS0518: The predefined type
System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type System.Int32' is not defined or imported CSC: error CS0518: The predefined type
System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type System.Int64' is not defined or imported CSC: error CS0518: The predefined type
System.UInt64' is not defined or imported
CSC: error CS0518: The predefined type System.Single' is not defined or imported CSC: error CS0518: The predefined type
System.Double' is not defined or imported
CSC: error CS0518: The predefined type System.Char' is not defined or imported CSC: error CS0518: The predefined type
System.Int16' is not defined or imported
CSC: error CS0518: The predefined type System.Decimal' is not defined or imported CSC: error CS0518: The predefined type
System.Boolean' is not defined or imported
CSC: error CS0518: The predefined type System.SByte' is not defined or imported CSC: error CS0518: The predefined type
System.Byte' is not defined or imported
CSC: error CS0518: The predefined type System.UInt16' is not defined or imported CSC: error CS0518: The predefined type
System.String' is not defined or imported
CSC: error CS0518: The predefined type System.Enum' is not defined or imported CSC: error CS0518: The predefined type
System.Delegate' is not defined or imported
CSC: error CS0518: The predefined type System.MulticastDelegate' is not defined or imported CSC: error CS0518: The predefined type
System.Void' is not defined or imported
CSC: error CS0518: The predefined type System.Array' is not defined or imported CSC: error CS0518: The predefined type
System.Type' is not defined or imported
CSC: error CS0518: The predefined type System.Collections.IEnumerator' is not defined or imported CSC: error CS0518: The predefined type
System.Collections.IEnumerable' is not defined or imported
CSC: error CS0518: The predefined type System.IDisposable' is not defined or imported CSC: error CS0518: The predefined type
System.IntPtr' is not defined or imported
CSC: error CS0518: The predefined type System.UIntPtr' is not defined or imported CSC: error CS0518: The predefined type
System.RuntimeFieldHandle' is not defined or imported
CSC: error CS0518: The predefined type System.RuntimeTypeHandle' is not defined or imported CSC: error CS0518: The predefined type
System.Exception' is not defined or imported
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/root/ygosharp/SevenZip/SevenZip.csproj".-- FAILED
Done building project "/root/ygosharp/SevenZip/SevenZip.csproj".-- FAILED
Project "/root/ygosharp/YGOSharp.OCGWrapper.Enums/YGOSharp.OCGWrapper.Enums.csproj" (default target(s)):
/root/ygosharp/YGOSharp.OCGWrapper.Enums/YGOSharp.OCGWrapper.Enums.csproj: warning : Project has unknown ToolsVersion '15.0'. Using the default tools version '4.0' instead.
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Target CoreCompile:
Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/YGOSharp.OCGWrapper.Enums.dll CardAttribute.cs CardLocation.cs CardPosition.cs CardRace.cs CardType.cs DuelPhase.cs GameMessage.cs LinkMarker.cs Query.cs Properties/AssemblyInfo.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll /reference:/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll /warn:4
CSC: error CS0518: The predefined type System.Object' is not defined or imported CSC: error CS0518: The predefined type
System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type System.Attribute' is not defined or imported CSC: error CS0518: The predefined type
System.Int32' is not defined or imported
CSC: error CS0518: The predefined type System.UInt32' is not defined or imported CSC: error CS0518: The predefined type
System.Int64' is not defined or imported
CSC: error CS0518: The predefined type System.UInt64' is not defined or imported CSC: error CS0518: The predefined type
System.Single' is not defined or imported
CSC: error CS0518: The predefined type System.Double' is not defined or imported CSC: error CS0518: The predefined type
System.Char' is not defined or imported
CSC: error CS0518: The predefined type System.Int16' is not defined or imported CSC: error CS0518: The predefined type
System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type System.Boolean' is not defined or imported CSC: error CS0518: The predefined type
System.SByte' is not defined or imported
CSC: error CS0518: The predefined type System.Byte' is not defined or imported CSC: error CS0518: The predefined type
System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type System.String' is not defined or imported CSC: error CS0518: The predefined type
System.Enum' is not defined or imported
CSC: error CS0518: The predefined type System.Delegate' is not defined or imported CSC: error CS0518: The predefined type
System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type System.Void' is not defined or imported CSC: error CS0518: The predefined type
System.Array' is not defined or imported
CSC: error CS0518: The predefined type System.Type' is not defined or imported CSC: error CS0518: The predefined type
System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type System.Collections.IEnumerable' is not defined or imported CSC: error CS0518: The predefined type
System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type System.IntPtr' is not defined or imported CSC: error CS0518: The predefined type
System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type System.RuntimeFieldHandle' is not defined or imported CSC: error CS0518: The predefined type
System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.Exception' is not defined or imported
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/root/ygosharp/YGOSharp.OCGWrapper.Enums/YGOSharp.OCGWrapper.Enums.csproj".-- FAILED
Done building project "/root/ygosharp/YGOSharp.OCGWrapper.Enums/YGOSharp.OCGWrapper.Enums.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/root/ygosharp/YGOSharp.sln".-- FAILED
Done building project "/root/ygosharp/YGOSharp.sln".-- FAILED
Build FAILED.
Warnings:
/root/ygosharp/YGOSharp.sln (default targets) ->
(Build target) ->
/root/ygosharp/YGOSharp.OCGWrapper.Enums/YGOSharp.OCGWrapper.Enums.csproj (default targets) ->
/root/ygosharp/YGOSharp.OCGWrapper.Enums/YGOSharp.OCGWrapper.Enums.csproj: warning : Project has unknown ToolsVersion '15.0'. Using the default tools version '4.0' instead.
Errors:
/root/ygosharp/YGOSharp.sln (default targets) ->
(Build target) ->
/root/ygosharp/YGOSharp.Network/YGOSharp.Network.csproj (default targets) ->
/usr/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->
CSC: error CS0518: The predefined type `System.Object' is not defined or imported
CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type `System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type `System.Int32' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type `System.Int64' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt64' is not defined or imported
CSC: error CS0518: The predefined type `System.Single' is not defined or imported
CSC: error CS0518: The predefined type `System.Double' is not defined or imported
CSC: error CS0518: The predefined type `System.Char' is not defined or imported
CSC: error CS0518: The predefined type `System.Int16' is not defined or imported
CSC: error CS0518: The predefined type `System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type `System.Boolean' is not defined or imported
CSC: error CS0518: The predefined type `System.SByte' is not defined or imported
CSC: error CS0518: The predefined type `System.Byte' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type `System.String' is not defined or imported
CSC: error CS0518: The predefined type `System.Enum' is not defined or imported
CSC: error CS0518: The predefined type `System.Delegate' is not defined or imported
CSC: error CS0518: The predefined type `System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type `System.Void' is not defined or imported
CSC: error CS0518: The predefined type `System.Array' is not defined or imported
CSC: error CS0518: The predefined type `System.Type' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerable' is not defined or imported
CSC: error CS0518: The predefined type `System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type `System.IntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeFieldHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.Exception' is not defined or imported
/root/ygosharp/YGOSharp.sln (default targets) ->
(Build target) ->
/root/ygosharp/SevenZip/SevenZip.csproj (default targets) ->
/usr/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->
CSC: error CS0518: The predefined type `System.Object' is not defined or imported
CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type `System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type `System.Int32' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type `System.Int64' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt64' is not defined or imported
CSC: error CS0518: The predefined type `System.Single' is not defined or imported
CSC: error CS0518: The predefined type `System.Double' is not defined or imported
CSC: error CS0518: The predefined type `System.Char' is not defined or imported
CSC: error CS0518: The predefined type `System.Int16' is not defined or imported
CSC: error CS0518: The predefined type `System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type `System.Boolean' is not defined or imported
CSC: error CS0518: The predefined type `System.SByte' is not defined or imported
CSC: error CS0518: The predefined type `System.Byte' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type `System.String' is not defined or imported
CSC: error CS0518: The predefined type `System.Enum' is not defined or imported
CSC: error CS0518: The predefined type `System.Delegate' is not defined or imported
CSC: error CS0518: The predefined type `System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type `System.Void' is not defined or imported
CSC: error CS0518: The predefined type `System.Array' is not defined or imported
CSC: error CS0518: The predefined type `System.Type' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerable' is not defined or imported
CSC: error CS0518: The predefined type `System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type `System.IntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeFieldHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.Exception' is not defined or imported
/root/ygosharp/YGOSharp.sln (default targets) ->
(Build target) ->
/root/ygosharp/YGOSharp.OCGWrapper.Enums/YGOSharp.OCGWrapper.Enums.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->
CSC: error CS0518: The predefined type `System.Object' is not defined or imported
CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type `System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type `System.Int32' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type `System.Int64' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt64' is not defined or imported
CSC: error CS0518: The predefined type `System.Single' is not defined or imported
CSC: error CS0518: The predefined type `System.Double' is not defined or imported
CSC: error CS0518: The predefined type `System.Char' is not defined or imported
CSC: error CS0518: The predefined type `System.Int16' is not defined or imported
CSC: error CS0518: The predefined type `System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type `System.Boolean' is not defined or imported
CSC: error CS0518: The predefined type `System.SByte' is not defined or imported
CSC: error CS0518: The predefined type `System.Byte' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type `System.String' is not defined or imported
CSC: error CS0518: The predefined type `System.Enum' is not defined or imported
CSC: error CS0518: The predefined type `System.Delegate' is not defined or imported
CSC: error CS0518: The predefined type `System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type `System.Void' is not defined or imported
CSC: error CS0518: The predefined type `System.Array' is not defined or imported
CSC: error CS0518: The predefined type `System.Type' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerable' is not defined or imported
CSC: error CS0518: The predefined type `System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type `System.IntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeFieldHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.Exception' is not defined or imported
1 Warning(s)
93 Error(s)
Time Elapsed 00:00:01.1264510
`
This is weird, I can compile with mono on Debian 8 properly (package mono-complete
).
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)
Have you tried to look at this similar issue? hirschmann/nbfc#86