[Mono-list] Problems compiling mono from CVS

Marco Craveiro marco@craveiro.fsnet.co.uk
20 Sep 2003 11:24:02 +0100


--=-CIByrupKCYwZXdHkzo/0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello Mono'ers,

I hope this question hasn't been asked elsewhere but I can't find it on
the archives; if it does exist please point me to the right place.

I just got mono, mcs, gtk# and monodoc out of CVS and followed the
instructions to build it. I am doing a make fullbuild from the mono
directory. I currently have mono 0.26 installed.

Mono builds without a problem but mcs fails. I then tried to build mcs
separately and got the attached output. 

Many thanks for your time,

Marco



--=-CIByrupKCYwZXdHkzo/0
Content-Disposition: attachment; filename=mcs_error.txt
Content-Type: text/plain; name=mcs_error.txt; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

[ mcs]$ make=20
make[1]: Entering directory `/home/phase/code/mono/mcs/build'
make[1]: Leaving directory `/home/phase/code/mono/mcs/build'
make[1]: Entering directory `/home/phase/code/mono/mcs/jay'
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o closure.o clo=
sure.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o error.o error=
.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o lalr.o lalr.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o lr0.o lr0.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o main.o main.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o mkpar.o mkpar=
.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o output.o outp=
ut.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o reader.o read=
er.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o symtab.o symt=
ab.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o verbose.o ver=
bose.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -c -o warshall.o wa=
rshall.c
cc -DSKEL_DIRECTORY=3D\""/usr/local/share/jay"\" -g -O2 -o jay closure.o er=
ror.o lalr.o lr0.o main.o mkpar.o output.o reader.o symtab.o verbose.o wars=
hall.o
make[1]: Leaving directory `/home/phase/code/mono/mcs/jay'
make[1]: Entering directory `/home/phase/code/mono/mcs/mcs'
../jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay >cs-parser.cs
../jay/jay: 2 rules never reduced
../jay/jay: 31 shift/reduce conflicts, 1 reduce/reduce conflict.
mcs   -d:NET_1_1 -g /target:exe /out:mcs.exe AssemblyInfo.cs anonymous.cs a=
ssign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs class.cs codegen.c=
s const.cs constant.cs convert.cs decl.cs delegate.cs enum.cs ecore.cs expr=
ession.cs flowanalysis.cs genericparser.cs interface.cs iterators.cs litera=
l.cs location.cs modifiers.cs namespace.cs parameter.cs pending.cs report.c=
s rootcontext.cs statement.cs support.cs typemanager.cs symbolwriter.cs tre=
e.cs cs-parser.cs
=EF=BB=BFWROTE SYMFILE: 36 sources, 1800 methods, 3137 types, 20548 line nu=
mbers, 2819 locals, 105 namespaces, 156445 bytes of string data
OffsetTable [622152 - 52:599636 - 36:621288:864 - 1800:599688:21600 - 3137]
Compilation succeeded
make[1]: Leaving directory `/home/phase/code/mono/mcs/mcs'
make[1]: Entering directory `/home/phase/code/mono/mcs/class'
make[2]: Entering directory `/home/phase/code/mono/mcs/class/corlib'
Creating ../../build/deps/corlib_plattest.dll.response ...
Creating ../../build/deps/corlib_plattest.dll.makefrag ...
Creating ../../build/deps/corlib_test.dll.response ...
Creating ../../build/deps/corlib_test.dll.makefrag ...
Creating ../../build/deps/corlib_res.dll.response ...
Creating ../../build/deps/corlib_res.dll.makefrag ...
Creating ../../build/deps/corlib.dll.response ...
Creating ../../build/deps/corlib.dll.makefrag ...
make[2]: Leaving directory `/home/phase/code/mono/mcs/class/corlib'
make[2]: Entering directory `/home/phase/code/mono/mcs/class/corlib'
touch ../../build/deps/corlib.dll.stamp
mcs /nowarn:649 /nowarn:169 -d:INSIDE_CORLIB  -d:NET_1_1 -g /noconfig /unsa=
fe /nostdlib /target:library /out:../../class/lib/corlib.dll @../../build/d=
eps/corlib.dll.response

** (/usr/bin/mcs.exe:18267): WARNING **: cant resolve internal call to "Sys=
tem.Reflection.Emit.TypeBuilder::setup_generic_class(System.Reflection.Emit=
.TypeBuilder)" (tested without signature also)

Your mono runtime and corlib are out of sync.
Corlib is: corlib

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably rela=
ted
and you need to fix your mono install first.
=EF=BB=BFWROTE SYMFILE: 945 sources, 9145 methods, 5702 types, 46478 line n=
umbers, 4695 locals, 3466 namespaces, 902237 bytes of string data
OffsetTable [2515989 - 52:2383517 - 945:2493309:22680 - 9145:2383569:109740=
 - 5702]
Compilation succeeded
make[2]: Leaving directory `/home/phase/code/mono/mcs/class/corlib'
make[2]: Entering directory `/home/phase/code/mono/mcs/class/I18N'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/Common'
Creating ../../../build/deps/I18N.dll.makefrag ...
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/Common'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/Common'
touch ../../../build/deps/I18N.dll.stamp
MONO_PATH=3D"../../../class/lib:$MONO_PATH" mono  ../../../mcs/mcs.exe /r:c=
orlib.dll  -d:NET_1_1 -g /noconfig  /target:library /out:../../../class/lib=
/I18N.dll @I18N.dll.sources

** (../../../mcs/mcs.exe:18301): WARNING **: cant resolve internal call to =
"System.Reflection.Emit.TypeBuilder::setup_generic_class(System.Reflection.=
Emit.TypeBuilder)" (tested without signature also)

Your mono runtime and corlib are out of sync.
Corlib is: ../../../class/lib/corlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably rela=
ted
and you need to fix your mono install first.
=EF=BB=BFWROTE SYMFILE: 4 sources, 31 methods, 33 types, 239 line numbers, =
25 locals, 12 namespaces, 2739 bytes of string data
OffsetTable [9581 - 52:9061 - 4:9485:96 - 31:9113:372 - 33]
Compilation succeeded
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/Common'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/West'
Creating ../../../build/deps/I18N.West.dll.makefrag ...
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/West'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/West'
touch ../../../build/deps/I18N.West.dll.stamp
MONO_PATH=3D"../../../class/lib:$MONO_PATH" mono  ../../../mcs/mcs.exe /r:c=
orlib.dll /r:I18N.dll  -d:NET_1_1 -g /noconfig  /target:library /out:../../=
../class/lib/I18N.West.dll @I18N.West.dll.sources

** (../../../mcs/mcs.exe:18328): WARNING **: cant resolve internal call to =
"System.Reflection.Emit.TypeBuilder::setup_generic_class(System.Reflection.=
Emit.TypeBuilder)" (tested without signature also)

Your mono runtime and corlib are out of sync.
Corlib is: ../../../class/lib/corlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably rela=
ted
and you need to fix your mono install first.
=EF=BB=BFWROTE SYMFILE: 15 sources, 60 methods, 64 types, 6706 line numbers=
, 30 locals, 45 namespaces, 5207 bytes of string data
OffsetTable [93681 - 52:92549 - 15:93321:360 - 60:92601:720 - 64]
Compilation succeeded
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/West'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/MidEast'
Creating ../../../build/deps/I18N.MidEast.dll.makefrag ...
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/MidEast'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/MidEast'
touch ../../../build/deps/I18N.MidEast.dll.stamp
MONO_PATH=3D"../../../class/lib:$MONO_PATH" mono  ../../../mcs/mcs.exe /r:c=
orlib.dll /r:I18N.dll  -d:NET_1_1 -g /noconfig  /target:library /out:../../=
../class/lib/I18N.MidEast.dll @I18N.MidEast.dll.sources

** (../../../mcs/mcs.exe:18355): WARNING **: cant resolve internal call to =
"System.Reflection.Emit.TypeBuilder::setup_generic_class(System.Reflection.=
Emit.TypeBuilder)" (tested without signature also)

Your mono runtime and corlib are out of sync.
Corlib is: ../../../class/lib/corlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably rela=
ted
and you need to fix your mono install first.
=EF=BB=BFWROTE SYMFILE: 7 sources, 28 methods, 32 types, 1914 line numbers,=
 14 locals, 21 namespaces, 2587 bytes of string data
OffsetTable [29317 - 52:28761 - 7:29149:168 - 28:28813:336 - 32]
Compilation succeeded
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/MidEast'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/Other'
Creating ../../../build/deps/I18N.Other.dll.makefrag ...
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/Other'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/Other'
touch ../../../build/deps/I18N.Other.dll.stamp
MONO_PATH=3D"../../../class/lib:$MONO_PATH" mono  ../../../mcs/mcs.exe /r:c=
orlib.dll /r:I18N.dll  -d:NET_1_1 -g /noconfig  /target:library /out:../../=
../class/lib/I18N.Other.dll @I18N.Other.dll.sources

** (../../../mcs/mcs.exe:18382): WARNING **: cant resolve internal call to =
"System.Reflection.Emit.TypeBuilder::setup_generic_class(System.Reflection.=
Emit.TypeBuilder)" (tested without signature also)

Your mono runtime and corlib are out of sync.
Corlib is: ../../../class/lib/corlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably rela=
ted
and you need to fix your mono install first.
=EF=BB=BFWROTE SYMFILE: 9 sources, 65 methods, 68 types, 2012 line numbers,=
 27 locals, 27 namespaces, 4678 bytes of string data
OffsetTable [36647 - 52:35599 - 9:36431:216 - 65:35651:780 - 68]
Compilation succeeded
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/Other'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/Rare'
Creating ../../../build/deps/I18N.Rare.dll.makefrag ...
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/Rare'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/Rare'
touch ../../../build/deps/I18N.Rare.dll.stamp
MONO_PATH=3D"../../../class/lib:$MONO_PATH" mono  ../../../mcs/mcs.exe /r:c=
orlib.dll /r:I18N.dll  -d:NET_1_1 -g /noconfig  /target:library /out:../../=
../class/lib/I18N.Rare.dll @I18N.Rare.dll.sources

** (../../../mcs/mcs.exe:18409): WARNING **: cant resolve internal call to =
"System.Reflection.Emit.TypeBuilder::setup_generic_class(System.Reflection.=
Emit.TypeBuilder)" (tested without signature also)

Your mono runtime and corlib are out of sync.
Corlib is: ../../../class/lib/corlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably rela=
ted
and you need to fix your mono install first.
=EF=BB=BFWROTE SYMFILE: 37 sources, 148 methods, 152 types, 29246 line numb=
ers, 74 locals, 111 namespaces, 12741 bytes of string data
OffsetTable [383355 - 52:380639 - 37:382467:888 - 148:380691:1776 - 152]
Compilation succeeded
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/Rare'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/CJK'
Creating ../../../build/deps/I18N.CJK.dll.makefrag ...
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/CJK'
make[3]: Entering directory `/home/phase/code/mono/mcs/class/I18N/CJK'
touch ../../../build/deps/I18N.CJK.dll.stamp
MONO_PATH=3D"../../../class/lib:$MONO_PATH" mono  ../../../mcs/mcs.exe /uns=
afe /resource:big5.table /resource:gb2312.table /resource:jis.table /r:corl=
ib.dll /r:I18N.dll  -d:NET_1_1 -g /noconfig  /target:library /out:../../../=
class/lib/I18N.CJK.dll @I18N.CJK.dll.sources

** (../../../mcs/mcs.exe:18436): WARNING **: cant resolve internal call to =
"System.Reflection.Emit.TypeBuilder::setup_generic_class(System.Reflection.=
Emit.TypeBuilder)" (tested without signature also)

Your mono runtime and corlib are out of sync.
Corlib is: ../../../class/lib/corlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably rela=
ted
and you need to fix your mono install first.
=EF=BB=BFWROTE SYMFILE: 9 sources, 68 methods, 86 types, 667 line numbers, =
66 locals, 27 namespaces, 5258 bytes of string data
OffsetTable [21594 - 52:20510 - 9:21378:216 - 68:20562:816 - 86]
Compilation succeeded
make[3]: Leaving directory `/home/phase/code/mono/mcs/class/I18N/CJK'
make[2]: Leaving directory `/home/phase/code/mono/mcs/class/I18N'
make[2]: Entering directory `/home/phase/code/mono/mcs/class/System'
Creating ../../build/deps/System_test.dll.response ...
Creating ../../build/deps/System_test.dll.makefrag ...
Creating ../../build/deps/System.dll.makefrag ...
make[2]: Leaving directory `/home/phase/code/mono/mcs/class/System'
make[2]: Entering directory `/home/phase/code/mono/mcs/class/System'
touch ../../build/deps/System.dll.stamp
MONO_PATH=3D"../../class/lib:$MONO_PATH" mono  ../../mcs/mcs.exe   -d:NET_1=
_1 -g /noconfig /lib:/usr/local/lib /r:System.Xml.dll /r:corlib.dll /target=
:library /out:../../class/lib/System.dll @System.dll.sources
=EF=BB=BFerror CS0006: Cannot find assembly `System.Xml.dll'
Log:=20

Compilation failed: 1 error(s), 0 warnings
make[2]: *** [../../class/lib/System.dll] Error 1
make[2]: Leaving directory `/home/phase/code/mono/mcs/class/System'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/phase/code/mono/mcs/class'
make: *** [all-recursive] Error 1
[ mcs]$=20
--=-CIByrupKCYwZXdHkzo/0--