[Mono-aspnet-list] System.Func missing?

Mark DevGood dirkroel at gmail.com
Mon Apr 6 04:06:36 EDT 2009


I am trying to compile my ASP.NET application on my Linux server. I run the
following script and I get an error. It looks really weird though as I've
never heard of 'System.Func' which it says its missing. 

My Script:

gmcs /t:library /out:bin/website.dll -pkg:dotnet 
-r:bin/xline.Website.Tasks.Controllers.dll
-r:bin/xline.Reusable.Serialization.dll
-r:bin/xline.Website.Tasks.Objects.dll controls/header.ascx.cs
controls/header.ascx.designer.cs controls/footer.ascx.cs
controls/footer.ascx.designer.cs bug.aspx.cs bug.aspx.designer.cs
Default.aspx.cs Default.aspx.designer.cs

The Result:
** (/usr/lib/mono/2.0/gmcs.exe:11265): WARNING **: The class System.Func`2
could not be loaded, used in System.Core, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
Stacktrace:

  at (wrapper managed-to-native) System.MonoType.GetFields_internal
(System.Reflection.BindingFlags,System.Type) <0x00004>
  at (wrapper managed-to-native) System.MonoType.GetFields_internal
(System.Reflection.BindingFlags,System.Type) <0xffffffff>
  at System.MonoType.GetFields (System.Reflection.BindingFlags) <0x00010>
  at System.Type.FindMembers
(System.Reflection.MemberTypes,System.Reflection.BindingFlags,System.Reflection.MemberFilter,object)
<0x002c3>
  at Mono.CSharp.TypeHandle.GetMembers
(System.Reflection.MemberTypes,System.Reflection.BindingFlags) <0x0007d>
  at Mono.CSharp.MemberCache.AddMembers
(System.Reflection.MemberTypes,System.Reflection.BindingFlags,Mono.CSharp.IMemberContainer)
<0x00031>
  at Mono.CSharp.MemberCache.AddMembers
(System.Reflection.MemberTypes,Mono.CSharp.IMemberContainer) <0x00018>
  at Mono.CSharp.MemberCache.AddMembers (Mono.CSharp.IMemberContainer)
<0x00039>
  at Mono.CSharp.MemberCache..ctor (Mono.CSharp.IMemberContainer) <0x00185>
  at Mono.CSharp.TypeHandle..ctor (System.Type) <0x00154>
  at Mono.CSharp.TypeHandle.GetTypeHandle (System.Type) <0x0004e>
  at Mono.CSharp.TypeHandle.GetMemberCache (System.Type) <0x0000b>
  at Mono.CSharp.TypeManager.MemberLookup_FindMembers
(System.Type,System.Reflection.MemberTypes,System.Reflection.BindingFlags,string,bool&)
<0x00251>
  at Mono.CSharp.TypeManager.RealMemberLookup
(System.Type,System.Type,System.Type,System.Reflection.MemberTypes,System.Reflection.BindingFlags,string,System.Collections.IList)
<0x00192>
  at Mono.CSharp.TypeManager.MemberLookup
(System.Type,System.Type,System.Type,System.Reflection.MemberTypes,System.Reflection.BindingFlags,string,System.Collections.IList)
<0x0001f>
  at Mono.CSharp.Expression.MemberLookup
(System.Type,System.Type,System.Type,string,System.Reflection.MemberTypes,System.Reflection.BindingFlags,Mono.CSharp.Location)
<0x00082>
  at Mono.CSharp.Expression.MemberLookup
(System.Type,System.Type,System.Type,string,Mono.CSharp.Location) <0x0001d>
  at Mono.CSharp.MemberAccess.DoResolve
(Mono.CSharp.EmitContext,Mono.CSharp.Expression) <0x002de>
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext) <0x0000f>
  at Mono.CSharp.Expression.Resolve
(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags) <0x00142>
  at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext) <0x000ba>
  at Mono.CSharp.Expression.Resolve
(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags) <0x00142>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00012>
  at Mono.CSharp.ExpressionStatement.ResolveStatement
(Mono.CSharp.EmitContext) <0x00016>
  at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.EmitContext)
<0x0001f>
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x001ef>
  at Mono.CSharp.EmitContext.ResolveTopBlock
(Mono.CSharp.EmitContext,Mono.CSharp.ToplevelBlock,Mono.CSharp.Parameters,Mono.CSharp.IMethodData,bool&)
<0x0017b>
  at Mono.CSharp.EmitContext.EmitTopBlock
(Mono.CSharp.IMethodData,Mono.CSharp.ToplevelBlock) <0x00048>
  at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x0015a>
  at Mono.CSharp.Method.Emit () <0x00017>
  at Mono.CSharp.TypeContainer.EmitType () <0x002c9>
  at Mono.CSharp.RootContext.EmitCode () <0x00086>
  at Mono.CSharp.Driver.MainDriver (string[]) <0x00a44>
  at Mono.CSharp.Driver.Main (string[]) <0x00055>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	/usr/bin/mono [0x816476e]
	/usr/bin/mono [0x812da28]
	/lib/libpthread.so.0 [0xb7f00970]
	/usr/bin/mono [0x80e113e]
	[0xb6872bfd]
	[0xb6872bb9]
	[0xb6871ff4]
	[0xb6871cfe]
	[0xb68719b2]
	[0xb6871849]
	[0xb68717aa]
	[0xb6870a4e]
	[0xb6870895]
	[0xb68706ff]
	[0xb687062c]
	[0xb6867a3a]
	[0xb6866fcb]
	[0xb6866e18]
	[0xb6866853]
	[0xb68571fe]
	[0xb685490f]
	[0xb6854618]
	[0xb6853ce3]
	[0xb6853ff3]
	[0xb6853ce3]
	[0xb6853b23]
	[0xb6853abf]
	[0xb6853a80]
	[0xb686b338]
	[0xb686ae84]
	[0xb6853441]
	[0xb6852c7b]
	[0xb6852ab8]
	[0xb6861eaa]
	[0xb686180f]
	[0xb714272d]
	[0xb71408ee]
	[0xb7494086]
	/usr/bin/mono(mono_runtime_exec_main+0x9f) [0x80b29af]
	/usr/bin/mono(mono_runtime_run_main+0x1b9) [0x80b2c59]
	/usr/bin/mono(mono_main+0xeab) [0x805876b]
	/usr/bin/mono [0x80573b2]
	/lib/libc.so.6(__libc_start_main+0xdc) [0xb7d91e8c]
	/usr/bin/mono [0x8057301]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1210640672 (LWP 11265)]
[New Thread -1219945584 (LWP 11268)]
[New Thread -1214379120 (LWP 11267)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7fbb7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
  3 Thread -1214379120 (LWP 11267)  0xb7fbb7f2 in _dl_sysinfo_int80 ()
   from /lib/ld-linux.so.2
  2 Thread -1219945584 (LWP 11268)  0xb7fbb7f2 in _dl_sysinfo_int80 ()
   from /lib/ld-linux.so.2
  1 Thread -1210640672 (LWP 11265)  0xb7fbb7f2 in _dl_sysinfo_int80 ()
   from /lib/ld-linux.so.2

Thread 3 (Thread -1214379120 (LWP 11267)):
#0  0xb7fbb7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0xb7effcc6 in nanosleep () from /lib/libpthread.so.0
#2  0x0810ce34 in mono_once ()
#3  0xb7ef849b in start_thread () from /lib/libpthread.so.0
#4  0xb7e4d42e in clone () from /lib/libc.so.6

Thread 2 (Thread -1219945584 (LWP 11268)):
#0  0xb7fbb7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0xb7efc595 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0x0810d4bf in mono_once ()
#3  0x0810fe3f in mono_once ()
#4  0x0810febc in mono_once ()
#5  0x0810c534 in mono_once ()
#6  0x080d192a in mono_gc_is_finalizer_thread ()
#7  0x08091ec0 in mono_thread_get_abort_signal ()
#8  0x08103202 in mono_pthread_key_for_tls ()
#9  0x0811fc87 in GC_start_blocking ()
#10 0xb7ef849b in start_thread () from /lib/libpthread.so.0
#11 0xb7e4d42e in clone () from /lib/libc.so.6

Thread 1 (Thread -1210640672 (LWP 11265)):
#0  0xb7fbb7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0xb7e46211 in select () from /lib/libc.so.6
#2  0xb7f648de in g_spawn_sync () from /lib/libglib-2.0.so.0
#3  0xb7f64cac in g_spawn_command_line_sync () from /lib/libglib-2.0.so.0
#4  0x08164821 in mono_print_thread_dump ()
#5  0x0812da28 in mono_jit_thread_attach ()
#6  <signal handler called>
#7  0x080e113e in mono_lookup_internal_call ()
#8  0xb6872bfd in ?? ()
#9  0x000ad7b0 in ?? ()
#10 0x0000001a in ?? ()
#11 0x000ad7b0 in ?? ()
#12 0x0856e290 in ?? ()
#13 0xbfdd48f0 in ?? ()
#14 0xb7494c62 in ?? ()
#15 0x00000000 in ?? ()
#0  0xb7fbb7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Aborted


-- 
View this message in context: http://www.nabble.com/System.Func-missing--tp22896968p22896968.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list