Building linker

Neale Ferguson <[email protected]> Mon, 29 Jan 2018 21:10:27 +0000
Newsgroups gmane.comp.gnome.mono.devel
Message-ID <D694F7EF.BD969%[email protected]>
--===============7349666588231810424==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_D694F7EFBD969nealesinenominenet_"

--_000_D694F7EFBD969nealesinenominenet_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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.Expec=
tations.dll Assertions/BaseInAssemblyAttribute.cs Assertions/IgnoreTestCase=
Attribute.cs Assertions/KeptAssemblyAttribute.cs Assertions/KeptAttribute.c=
s Assertions/BaseExpectedLinkedBehaviorAttribute.cs Assertions/KeptBackingF=
ieldAttribute.cs Assertions/KeptDelegateCacheFieldAttribute.cs Assertions/K=
eptEventAddMethodAttribute.cs Assertions/KeptEventRemoveMethodAttribute.cs =
Assertions/KeptMemberAttribute.cs Assertions/KeptMemberInAssemblyAttribute.=
cs Assertions/KeptResourceAttribute.cs Assertions/KeptResourceInAssemblyAtt=
ribute.cs Assertions/KeptSecurityAttribute.cs Assertions/KeptTypeInAssembly=
Attribute.cs Assertions/RemovedAssemblyAttribute.cs Assertions/RemovedMembe=
rInAssemblyAttribute.cs Assertions/RemovedResourceInAssemblyAttribute.cs As=
sertions/RemovedTypeInAssemblyAttribute.cs Assertions/SkipPeVerifyAttribute=
.cs Metadata/BaseMetadataAttribute.cs Metadata/SetupCompileAfterAttribute.c=
s Metadata/SetupCompileAssemblyNameAttribute.cs Metadata/SetupCompileArgume=
ntAttribute.cs Metadata/SetupCompileBeforeAttribute.cs Metadata/DefineAttri=
bute.cs Metadata/IncludeBlacklistStepAttribute.cs Metadata/Il8nAttribute.cs=
 Metadata/KeepTypeForwarderOnlyAssembliesAttribute.cs Metadata/NotATestCase=
Attribute.cs Metadata/ReferenceAttribute.cs Metadata/SandboxDependencyAttri=
bute.cs Assertions/KeptBaseTypeAttribute.cs Assertions/KeptInterfaceAttribu=
te.cs Assertions/KeptAttributeAttribute.cs Assertions/RemovedForwarderAttri=
bute.cs Metadata/SetupLinkerActionAttribute.cs Metadata/SetupLinkerArgument=
Attribute.cs Metadata/SetupLinkerCoreActionAttribute.cs Metadata/SetupCompi=
leResourceAttribute.cs Metadata/SetupLinkerLinkSymbolsAttribute.cs obj/Debu=
g/.NETFramework,Version=3Dv4.0.AssemblyAttribute.cs /target:library /define=
:"DEBUG;TRACE" /nostdlib /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5=
c561934e089/System.dll /reference:/usr/lib/mono/gac/Microsoft.CSharp/4.0.0.=
0__b03f5f7f11d50a3a/Microsoft.CSharp.dll /reference:/usr/lib/mono/gac/Syste=
m.Data/4.0.0.0__b77a5c561934e089/System.Data.dll /reference:/usr/lib/mono/g=
ac/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 im=
ported

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 imp=
orted

CSC: error CS0518: The predefined type `System.UInt32' is not defined or im=
ported

:

:

I am building using mono 4.6.2 on Ubuntu.

Neale



--_000_D694F7EFBD969nealesinenominenet_
Content-Type: text/html; charset="iso-8859-1"
Content-ID: <[email protected]>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif;">
<div>Hi,</div>
<div>&nbsp;I am trying to build the linker from master and after installing=
 the NUnit dependencies and cloning cecil into the cecil subdirectory (I as=
sume that was required), a make in mono build results in:</div>
<div><br>
</div>
<div>
<p style=3D"margin: 0px; font-size: 18px; line-height: normal; font-family:=
 'Courier New'; color: rgb(49, 185, 198); background-color: rgb(255, 254, 2=
29);">
<span style=3D"font-variant-ligatures: no-common-ligatures"><span class=3D"=
Apple-tab-span" style=3D"white-space:pre"></span>Target CoreCompile:</span>=
</p>
<p style=3D"margin: 0px; font-size: 18px; line-height: normal; font-family:=
 'Courier New'; background-color: rgb(255, 254, 229);">
<span style=3D"font-variant-ligatures: no-common-ligatures"><span class=3D"=
Apple-tab-span" style=3D"white-space:pre"></span>Tool /usr/lib/mono/4.5/mcs=
.exe execution started with arguments: /noconfig /debug:full /debug&#43; /o=
ptimize- /out:obj/Debug/Mono.Linker.Tests.Cases.Expectations.dll
 Assertions/BaseInAssemblyAttribute.cs Assertions/IgnoreTestCaseAttribute.c=
s Assertions/KeptAssemblyAttribute.cs Assertions/KeptAttribute.cs Assertion=
s/BaseExpectedLinkedBehaviorAttribute.cs Assertions/KeptBackingFieldAttribu=
te.cs Assertions/KeptDelegateCacheFieldAttribute.cs
 Assertions/KeptEventAddMethodAttribute.cs Assertions/KeptEventRemoveMethod=
Attribute.cs Assertions/KeptMemberAttribute.cs Assertions/KeptMemberInAssem=
blyAttribute.cs Assertions/KeptResourceAttribute.cs Assertions/KeptResource=
InAssemblyAttribute.cs Assertions/KeptSecurityAttribute.cs
 Assertions/KeptTypeInAssemblyAttribute.cs Assertions/RemovedAssemblyAttrib=
ute.cs Assertions/RemovedMemberInAssemblyAttribute.cs Assertions/RemovedRes=
ourceInAssemblyAttribute.cs Assertions/RemovedTypeInAssemblyAttribute.cs As=
sertions/SkipPeVerifyAttribute.cs
 Metadata/BaseMetadataAttribute.cs Metadata/SetupCompileAfterAttribute.cs M=
etadata/SetupCompileAssemblyNameAttribute.cs Metadata/SetupCompileArgumentA=
ttribute.cs Metadata/SetupCompileBeforeAttribute.cs Metadata/DefineAttribut=
e.cs Metadata/IncludeBlacklistStepAttribute.cs
 Metadata/Il8nAttribute.cs Metadata/KeepTypeForwarderOnlyAssembliesAttribut=
e.cs Metadata/NotATestCaseAttribute.cs Metadata/ReferenceAttribute.cs Metad=
ata/SandboxDependencyAttribute.cs Assertions/KeptBaseTypeAttribute.cs Asser=
tions/KeptInterfaceAttribute.cs
 Assertions/KeptAttributeAttribute.cs Assertions/RemovedForwarderAttribute.=
cs Metadata/SetupLinkerActionAttribute.cs Metadata/SetupLinkerArgumentAttri=
bute.cs Metadata/SetupLinkerCoreActionAttribute.cs Metadata/SetupCompileRes=
ourceAttribute.cs Metadata/SetupLinkerLinkSymbolsAttribute.cs
 obj/Debug/.NETFramework,Version=3Dv4.0.AssemblyAttribute.cs /target:librar=
y /define:&quot;DEBUG;TRACE&quot; /nostdlib /reference:/usr/lib/mono/gac/Sy=
stem/4.0.0.0__b77a5c561934e089/System.dll /reference:/usr/lib/mono/gac/Micr=
osoft.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__b77a5c5619=
34e089/System.Core.dll /warn:4</span></p>
<p style=3D"margin: 0px; font-size: 18px; line-height: normal; font-family:=
 'Courier New'; color: rgb(194, 54, 31); background-color: rgb(255, 254, 22=
9);">
<span style=3D"font-variant-ligatures: no-common-ligatures">CSC: error CS05=
18: The predefined type `System.Object' is not defined or imported</span></=
p>
<p style=3D"margin: 0px; font-size: 18px; line-height: normal; font-family:=
 'Courier New'; color: rgb(194, 54, 31); background-color: rgb(255, 254, 22=
9);">
<span style=3D"font-variant-ligatures: no-common-ligatures">CSC: error CS05=
18: The predefined type `System.ValueType' is not defined or imported</span=
></p>
<p style=3D"margin: 0px; font-size: 18px; line-height: normal; font-family:=
 'Courier New'; color: rgb(194, 54, 31); background-color: rgb(255, 254, 22=
9);">
<span style=3D"font-variant-ligatures: no-common-ligatures">CSC: error CS05=
18: The predefined type `System.Attribute' is not defined or imported</span=
></p>
<p style=3D"margin: 0px; font-size: 18px; line-height: normal; font-family:=
 'Courier New'; color: rgb(194, 54, 31); background-color: rgb(255, 254, 22=
9);">
<span style=3D"font-variant-ligatures: no-common-ligatures">CSC: error CS05=
18: The predefined type `System.Int32' is not defined or imported</span></p=
>
<p style=3D"margin: 0px; font-size: 18px; line-height: normal; font-family:=
 'Courier New'; color: rgb(194, 54, 31); background-color: rgb(255, 254, 22=
9);">
<span style=3D"font-variant-ligatures: no-common-ligatures">CSC: error CS05=
18: The predefined type `System.UInt32' is not defined or imported</span></=
p>
<p style=3D"margin: 0px; font-size: 18px; line-height: normal; font-family:=
 'Courier New'; color: rgb(194, 54, 31);">
:</p>
<p style=3D"margin: 0px; font-size: 18px; line-height: normal; font-family:=
 'Courier New'; color: rgb(194, 54, 31);">
:</p>
</div>
<div><br>
</div>
<div>I am building using mono 4.6.2 on Ubuntu.&nbsp;</div>
<div><br>
</div>
<div>Neale</div>
<div><br>
</div>
<div><br>
</div>
</body>
</html>

--_000_D694F7EFBD969nealesinenominenet_--

--===============7349666588231810424==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTW9uby1kZXZl
bC1saXN0IG1haWxpbmcgbGlzdApNb25vLWRldmVsLWxpc3RAbGlzdHMuZG90Lm5ldApodHRwOi8v
bGlzdHMuZG90Lm5ldC9tYWlsbWFuL2xpc3RpbmZvL21vbm8tZGV2ZWwtbGlzdAo=

--===============7349666588231810424==--