[Gtk-sharp-list] Problem compiling gtk-sharp

Paul paul at all-the-johnsons.co.uk
Sun Oct 9 07:09:42 EDT 2005


Hi,

I have mono and mcs running on the laptop after installing a new HD
yesterday (the old one was slow, small and generally a bit naff). I have
just started to compile up gtksharp, set the build up
using ./bootstrap-2.4 --prefix=/usr and made.

A good way through the build stops with the following error

Exception caught by the compiler when compiling:
  Block that caused the problem begin at : ./Valtest.cs(27,20)
                 Block being compiled at :
[./Valtest.cs(90,7):,./Valtest.cs(96,3):]
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
in <0x00014> Mono.CSharp.EmptyCast:.ctor (Mono.CSharp.Expression child,
System.Type return_type)
in <0x001a1> Mono.CSharp.Convert:ExplicitConversionCore
(Mono.CSharp.EmitContext ec, Mono.CSharp.Expression expr, System.Type
target_type, Location loc)
in <0x00016> Mono.CSharp.Convert:ExplicitConversion
(Mono.CSharp.EmitContext ec, Mono.CSharp.Expression expr, System.Type
target_type, Location loc)
in <0x0016f> Mono.CSharp.Cast:ResolveRest (Mono.CSharp.EmitContext ec)
in <0x0003c> Mono.CSharp.Cast:DoResolve (Mono.CSharp.EmitContext ec)
in <0x000e3> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext ec,
ResolveFlags flags)
in <0x00012> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext ec)
in <0x000dc> Mono.CSharp.Binary:DoResolve (Mono.CSharp.EmitContext ec)
in <0x000e3> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext ec,
ResolveFlags flags)
in <0x00012> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext ec)
in <0x00017> Mono.CSharp.Expression:ResolveBoolean
(Mono.CSharp.EmitContext ec, Mono.CSharp.Expression e, Location loc)
in <0x0002f> Mono.CSharp.If:Resolve (Mono.CSharp.EmitContext ec)
in <0x001bd> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec)
in <0x0007e> Mono.CSharp.Try:Resolve (Mono.CSharp.EmitContext ec)
in <0x001bd> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec)
in <0x001bd> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext ec)
in <0x00122> Mono.CSharp.EmitContext:ResolveTopBlock
(Mono.CSharp.EmitContext anonymous_method_host,
Mono.CSharp.ToplevelBlock block, Mono.CSharp.InternalParameters ip,
IMethodData md, System.Boolean unreachable)
make[3]: *** [valtest.exe] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I have tried compiling with bootstrap-2.4, bootstrap-for-the-insane and
straight bootstrap and get the same results.

The source was originally checked out at around midnight, 9th Oct
(British Summer Time) and updated around midday, 9th Oct (BST). I'm
using the developers trunk and using FC4 (rawhide).

Can someone tell me if this is a gtksharp or mcs problem so that I can
enter it under the correct place on Bugzilla?

TTFN

Paul
-- 
"Duirt me leat go raibh me breoite." - T.M.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20051009/f03f34c6/attachment.bin


More information about the Gtk-sharp-list mailing list