[Mono-list] mscorlib.dll vs corlib.dll

Jackson Harper jackson@ximian.com
Tue, 18 Nov 2003 09:11:09 -0800


You are missing a crucial step in your update-orama. After cvs updating
mono, you should rerun autgen.sh

Jackson

On Tue, 2003-11-18 at 04:32, Jonathan Wheelhouse wrote:
> Hi
> 
> I get the latest sources via cvs then do a
>   make fullbuild
> 
> but get the following error:
> mcs /nowarn:649 /nowarn:169 -d:INSIDE_CORLIB  -d:NET_1_1 -g /noconfig /unsafe /nostdlib /target:library /out:../../class/lib/mscorlib.dll @../../build/deps/corlib.dll.response
> WROTE SYMFILE: 977 sources, 9476 methods, 6144 types, 49037 line numbers, 5096 locals, 3551 namespaces, 946051 bytes of string data
> OffsetTable [2629318 - 52:2492106 - 977:2605870:23448 - 9476:2492158:113712 - 6144]
> Compilation succeeded
> make[1]: Leaving directory `/home/jonathan/DEV/mono/tools/mcs/class/corlib'
> cp ../mcs/class/lib/corlib.dll runtime
> cp: cannot stat `../mcs/class/lib/corlib.dll': No such file or directory
> make: *** [mcs-tree-safe-build] Error 1
> 
> Looking at the makefiles reveals that the corlib/Makefile refers to
> mscorlib.dll while the mono/Makefile.am refers to corlib.dll.
> 
> ie.
> mcs/class/corlib/Makefile
> corlib = $(topdir)/class/lib/mscorlib.dll
> 
> 
> mono/Makefile.am
> mcs-tree-safe-build:
> 	(cd ../mcs/jay; $(MAKE))
> 	(cd ../mcs/mcs; $(MAKE) MCS=mcs)
> 	(cd ../mcs/class/corlib; $(MAKE) MCS=mcs)
> 	cp ../mcs/class/lib/corlib.dll runtime
> 	cp ../mcs/mcs/mcs.exe runtime
> 
> Shouldn't the mono/Makefile.am say mscorlib.dll?
> 
> Jonathan
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list