[Grub-dev] building grub-csharp
Yousef Ourabi
yourabi at zero-analog.com
Fri Jan 25 17:58:29 UTC 2008
(Bartek)
On my ubuntu system I've installed the mono compiler (mono-gmcs) -- after
./configure and during make I get the following error:
This is trunk version 25.
Do I have to set MONO_PATH explicitly? What platforms has this been
successfully compiled on?
-Thanks,
Yousef
gmcs -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG
-out:bin/Debug/Grubng.exe -target:exe './Main.cs' './AssemblyInfo.cs'
'./crawler.cs' './gtk-gui/generated.cs' './mainwindow.cs'
'./gtk-gui/Grubng.mainwindow.cs' './logindialog.cs'
'./gtk-gui/Grubng.logindialog.cs' '-resource:./gtk-gui/gui.stetic'
-r:System -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-
sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-
sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-
sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-
sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-
sharp.dll -r:Mono.Posix -r:System.Xml
** (/usr/lib/mono/2.0/gmcs.exe:30404): WARNING **: The following assembly
referenced from /usr/lib/mono/gac/gdk-sharp/2.10.0.0__35e10195dab3c99f/gdk-
sharp.dll could not be loaded:
Assembly: Mono.Cairo (assemblyref_index=2)
Version: 1.0.5000.0
Public Key: 0738eb9f132ed756
The assembly was not found in the Global Assembly Cache, a path listed in
the MONO_PATH environment variable, or in the location of the executing
assembly (/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0).
** (/usr/lib/mono/2.0/gmcs.exe:30404): WARNING **: Could not load file or
assembly 'Mono.Cairo, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
Stacktrace:
at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo.get_method_info (intptr,
System.Reflection.MonoMethodInfo&) <0x0000b>
at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo.get_method_info (intptr,
System.Reflection.MonoMethodInfo&) <0xffffffff>
at System.Reflection.MonoMethod.get_Attributes () <0x0002f>
at System.Reflection.MethodBase.get_IsVirtual () <0x00016>
at Mono.CSharp.MemberCache.AddMethods (System.Reflection.BindingFlags,
System.Type) <0x0023c>
at Mono.CSharp.MemberCache.AddMethods (System.Type) <0x00042>
at Mono.CSharp.MemberCache..ctor (Mono.CSharp.IMemberContainer) <0x001e4>
at Mono.CSharp.TypeHandle..ctor (System.Type) <0x001a7>
at Mono.CSharp.TypeHandle.GetTypeHandle (System.Type) <0x00073>
at Mono.CSharp.TypeHandle.GetMemberCache (System.Type) <0x00012>
at Mono.CSharp.TypeManager.MemberLookup_FindMembers (System.Type,
System.Reflection.MemberTypes,System.Reflection.BindingFlags,string,bool&)
<0x00308>
at Mono.CSharp.TypeManager.RealMemberLookup (System.Type,System.Type,
System.Type,System.Reflection.MemberTypes,System.Reflection.BindingFlags
,string,System.Collections.IList) <0x00269>
at Mono.CSharp.TypeManager.MemberLookup (System.Type,System.Type,
System.Type,System.Reflection.MemberTypes,System.Reflection.BindingFlags
,string,System.Collections.IList) <0x00047>
at Mono.CSharp.Expression.MemberLookup (System.Type,System.Type,
System.Type,string,System.Reflection.MemberTypes,
System.Reflection.BindingFlags,Mono.CSharp.Location) <0x000d6>
at Mono.CSharp.Expression.MemberLookup (System.Type,System.Type,
System.Type,string,Mono.CSharp.Location) <0x00047>
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext,
Mono.CSharp.Expression) <0x0045a>
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext) <0x0001d>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext,
Mono.CSharp.ResolveFlags) <0x001db>
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext,
Mono.CSharp.Expression) <0x000a0>
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext) <0x0001d>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext,
Mono.CSharp.ResolveFlags) <0x001db>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00028>
at Mono.CSharp.Argument.Resolve (Mono.CSharp.EmitContext,
Mono.CSharp.Location) <0x00073>
at Mono.CSharp.New.DoResolve (Mono.CSharp.EmitContext) <0x0065e>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext,
Mono.CSharp.ResolveFlags) <0x001db>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00028>
at Mono.CSharp.Assign.DoResolve (Mono.CSharp.EmitContext) <0x000ee>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext,
Mono.CSharp.ResolveFlags) <0x001db>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00028>
at Mono.CSharp.ExpressionStatement.ResolveStatement (
Mono.CSharp.EmitContext) <0x0002c>
at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.EmitContext)
<0x00037>
at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x00270>
at Mono.CSharp.If.Resolve (Mono.CSharp.EmitContext) <0x00393>
at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x00270>
at Mono.CSharp.Catch.Resolve (Mono.CSharp.EmitContext) <0x00144>
at Mono.CSharp.Try.Resolve (Mono.CSharp.EmitContext) <0x00269>
at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x00270>
at Mono.CSharp.If.Resolve (Mono.CSharp.EmitContext) <0x00393>
at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x00270>
at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext,
Mono.CSharp.ToplevelBlock,Mono.CSharp.Parameters,Mono.CSharp.IMethodData,bool&)
<0x0020b>
at Mono.CSharp.EmitContext.EmitTopBlock (Mono.CSharp.IMethodData,
Mono.CSharp.ToplevelBlock) <0x00072>
at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x001bf>
at Mono.CSharp.Method.Emit () <0x00021>
at Mono.CSharp.TypeContainer.EmitType () <0x00383>
at Mono.CSharp.RootContext.EmitCode () <0x000a4>
at Mono.CSharp.Driver.MainDriver (string[]) <0x00e6d>
at Mono.CSharp.Driver.Main (string[]) <0x00079>
at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
/usr/bin/mono [0x565c2b]
/usr/bin/mono [0x545811]
/lib/libpthread.so.0 [0x2b352ef2d100]
/usr/bin/mono [0x48f8e8]
[0x402a28f0]
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)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47507429225232 (LWP 30404)]
[New Thread 1075988816 (LWP 30406)]
[New Thread 1073822032 (LWP 30405)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x00002b352f4880a2 in select () from /lib/libc.so.6
3 Thread 1073822032 (LWP 30405) 0x00002b352ef2c7b1 in ?? ()
from /lib/libpthread.so.0
2 Thread 1075988816 (LWP 30406) 0x00002b352ef297a6 in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
1 Thread 47507429225232 (LWP 30404) 0x00002b352f4880a2 in select ()
from /lib/libc.so.6
Thread 3 (Thread 1073822032 (LWP 30405)):
#0 0x00002b352ef2c7b1 in ?? () from /lib/libpthread.so.0
#1 0x00000000004e70aa in ?? ()
#2 0x00002b352ef25317 in start_thread () from /lib/libpthread.so.0
#3 0x00002b352f48ed5d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 2 (Thread 1075988816 (LWP 30406)):
#0 0x00002b352ef297a6 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00000000004ec12f in ?? ()
#2 0x00000000004ec45d in ?? ()
#3 0x00000000004ec223 in ?? ()
#4 0x00000000004fd5b0 in ?? ()
#5 0x000000000049b66d in ?? ()
#6 0x00000000004b65da in ?? ()
#7 0x00000000004fbae6 in ?? ()
#8 0x0000000000517d27 in ?? ()
#9 0x00002b352ef25317 in start_thread () from /lib/libpthread.so.0
#10 0x00002b352f48ed5d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()
Thread 1 (Thread 47507429225232 (LWP 30404)):
#0 0x00002b352f4880a2 in select () from /lib/libc.so.6
#1 0x00002b352eaad16f in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#2 0x00002b352eaad538 in g_spawn_command_line_sync ()
from /usr/lib/libglib-2.0.so.0
#3 0x0000000000565cf4 in ?? ()
#4 0x0000000000545811 in ?? ()
#5 <signal handler called>
#6 0x000000000048f8e8 in ?? ()
#7 0x00000000402a28f0 in ?? ()
#8 0x00002aaaac829700 in ?? ()
#9 0x0000000000000001 in ?? ()
#10 0x0000000000858b70 in ?? ()
#11 0x00002aaaac70a988 in ?? ()
#12 0x00002aaaac712618 in ?? ()
#13 0x00000000402a289b in ?? ()
#14 0x00002aaaac829700 in ?? ()
#15 0x0000000000000001 in ?? ()
#16 0x00007fff7c683560 in ?? ()
#17 0x00002aaaac712618 in ?? ()
#18 0x00002aaaac70a9b0 in ?? ()
#19 0x00002aaaac712618 in ?? ()
#20 0x00002aaaac70a9b0 in ?? ()
#21 0x00000000400190ca in ?? ()
#22 0x0000000000858b70 in ?? ()
#23 0x00000000402aa6f0 in ?? ()
#24 0x00002aaaabf4c5a0 in ?? ()
#25 0x0000000000000000 in ?? ()
#0 0x00002b352f4880a2 in select () from /lib/libc.so.6
=================================================================
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.
=================================================================
make[1]: *** [bin/Debug/Grubng.exe] Aborted (core dumped)
make[1]: Leaving directory `/home/yourabi/projects/grub-csharp/Grubng'
make: *** [all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikia.com/pipermail/grub-dev/attachments/20080125/55b6ddf7/attachment-0001.html
More information about the Grub-dev
mailing list