[Mono-dev] Building linker

Neale Ferguson neale at sinenomine.net
Mon Jan 29 21:10:27 UTC 2018


Hi,
 I am trying to build the linker from master and after installing the NUnit dependencies and cloning cecil into the cecil subdirectory (I assume that was required), a make in mono build results in:


Target CoreCompile:

Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/Mono.Linker.Tests.Cases.Expectations.dll Assertions/BaseInAssemblyAttribute.cs Assertions/IgnoreTestCaseAttribute.cs Assertions/KeptAssemblyAttribute.cs Assertions/KeptAttribute.cs Assertions/BaseExpectedLinkedBehaviorAttribute.cs Assertions/KeptBackingFieldAttribute.cs Assertions/KeptDelegateCacheFieldAttribute.cs Assertions/KeptEventAddMethodAttribute.cs Assertions/KeptEventRemoveMethodAttribute.cs Assertions/KeptMemberAttribute.cs Assertions/KeptMemberInAssemblyAttribute.cs Assertions/KeptResourceAttribute.cs Assertions/KeptResourceInAssemblyAttribute.cs Assertions/KeptSecurityAttribute.cs Assertions/KeptTypeInAssemblyAttribute.cs Assertions/RemovedAssemblyAttribute.cs Assertions/RemovedMemberInAssemblyAttribute.cs Assertions/RemovedResourceInAssemblyAttribute.cs Assertions/RemovedTypeInAssemblyAttribute.cs Assertions/SkipPeVerifyAttribute.cs Metadata/BaseMetadataAttribute.cs Metadata/SetupCompileAfterAttribute.cs Metadata/SetupCompileAssemblyNameAttribute.cs Metadata/SetupCompileArgumentAttribute.cs Metadata/SetupCompileBeforeAttribute.cs Metadata/DefineAttribute.cs Metadata/IncludeBlacklistStepAttribute.cs Metadata/Il8nAttribute.cs Metadata/KeepTypeForwarderOnlyAssembliesAttribute.cs Metadata/NotATestCaseAttribute.cs Metadata/ReferenceAttribute.cs Metadata/SandboxDependencyAttribute.cs Assertions/KeptBaseTypeAttribute.cs Assertions/KeptInterfaceAttribute.cs Assertions/KeptAttributeAttribute.cs Assertions/RemovedForwarderAttribute.cs Metadata/SetupLinkerActionAttribute.cs Metadata/SetupLinkerArgumentAttribute.cs Metadata/SetupLinkerCoreActionAttribute.cs Metadata/SetupCompileResourceAttribute.cs Metadata/SetupLinkerLinkSymbolsAttribute.cs obj/Debug/.NETFramework,Version=v4.0.AssemblyAttribute.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/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll /reference:/usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll /reference:/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.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

:

:

I am building using mono 4.6.2 on Ubuntu.

Neale


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20180129/47a3afa8/attachment.html>


More information about the Mono-devel-list mailing list