[Mono-dev] mscorlib.dll not found - Mono application on OpenMoko

Andreas Färber andreas.faerber at web.de
Fri May 2 05:42:18 EDT 2008


Hello Thomas,

Am 02.05.2008 um 11:20 schrieb Thomas Riegmann:

> I tried building a simple mono application but everytime I get the  
> error
> that the mscorlib.dll could not be found.
> (See below for the complete error message.)
> More precisely: The whole directory
> '/home/false/moko/build/tmp/staging/i686-linux/usr/lib/mono/1.0/'
> is missing.
> Could anybody tell me what is going wrong here, please?

I can't tell what's going wrong in your case, but in general cross- 
compiling does not build the compilers and libraries; try copying over  
the missing assembly directories from your host and see if that helps.

Andreas

> ERROR BEGIN-->
> = 
> = 
> = 
> ======================================================================
> NOTE: Running task 339 of 363 (ID: 7,
> /home/false/moko/mymoco/oe/packages/monohello/monohello.bb,  
> do_compile)
> NOTE: package monohello-0.0.1+svnr9: started
> NOTE: package monohello-0.0.1+svnr9-r0: task do_compile: started
> ERROR: function do_compile failed
> ERROR: log data follows
> (/home/false/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ 
> monohello-0.0.1+svnr9-r0/temp/log.do_compile.22707)
>
> | NOTE: make -j 4
> | make[1]: Entering directory
> `/home/false/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ 
> monohello-0.0.1+svnr9-r0/monohello'
>
> | Making all in monohello
> | make[2]: Entering directory
> `/home/false/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ 
> monohello-0.0.1+svnr9-r0/monohello/monohello'
>
> | mkdir -p bin/Release/
> | gmcs -noconfig -codepage:utf8 -warn:4 -optimize+
> -out:bin/Release/monohello.exe -target:exe './Main.cs'
> './AssemblyInfo.cs'      -r:System
> | The assembly mscorlib.dll was not found or could not be loaded.
> | It should have been installed in the
> `/home/false/moko/build/tmp/staging/i686-linux/usr/lib/mono/1.0/ 
> mscorlib.dll'
> directory.
> | make[2]: *** [bin/Release/monohello.exe] Error 1
> | make[2]: Leaving directory
> `/home/false/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ 
> monohello-0.0.1+svnr9-r0/monohello/monohello'
>
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory
> `/home/false/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ 
> monohello-0.0.1+svnr9-r0/monohello'
>
> | FATAL: oe_runmake failed
> NOTE: Task failed:
> /home/false/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ 
> monohello-0.0.1+svnr9-r0/temp/log.do_compile.22707
>
> NOTE: package monohello-0.0.1+svnr9-r0: task do_compile: failed
> ERROR: TaskFailed event exception, aborting
> NOTE: package monohello-0.0.1+svnr9: failed
> ERROR: Build of
> /home/false/moko/mymoco/oe/packages/monohello/monohello.bb do_compile
> failed
> ERROR: Task 7
> (/home/false/moko/mymoco/oe/packages/monohello/monohello.bb,  
> do_compile)
> failed
> NOTE: Tasks Summary: Attempted 354 tasks of which 354 didn't need to  
> be
> rerun and 1 failed.
> ERROR: '/home/false/moko/mymoco/oe/packages/monohello/monohello.bb'  
> failed
> make: *** [build-package-monohello] Error 1
>
> = 
> ======================================================================
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list