[Mono-list] troubles compiling mono-debugger

Cedric Marcone marcone@mdeo.fr
Mon, 15 Sep 2003 13:22:36 +0200


OK,

I checked out debugger from CVS, installed jay, compiled and IT WORKS.
As it is fixed in cvs, when is the next packaged version planned ?

Thank you
--
Cédric

On Mon, 2003-09-15 at 11:41, Cedric Marcone wrote:
> Well, I edited Backtrace.cs, and replaced Math.Min by System.Math.Min
> and mcs seems to find the "missing symbol".
> 
> I'm a bit curious to know why as the class file contains "using
> System;"...
> 
> Now it fails later with :
> 
> make[2]: Entering directory
> `/home/cedric/garnome/garnome-0.27.1/mono/mono-debugger/work/main.d/mono-debugger-0.4/lib'
> /home/cedric/gnome-2.4/bin/mcs /target:library
> /out:Mono.Debugger.Backend.dll -g -r Mono.GetOptions -r
> Mono.Debugger.dll -r Mono.CSharp.Debugger ../backends/*.cs
> ../backends/classes/*.cs ../backends/ptrace/*.cs
> ../backends/mono-csharp/*.cs ../backends/native/*.cs ../arch/*.cs
> ../backends/ptrace/PTrace.cs(36) error CS0536:
> `Mono.Debugger.Backends.PTraceInferior' does not implement interface
> member `Mono.Debugger.Backends.IInferior.add_ChildEvent'.  (method might
> be non-public or static)
> ../backends/ptrace/PTrace.cs(36) error CS0536:
> `Mono.Debugger.Backends.PTraceInferior' does not implement interface
> member `Mono.Debugger.Backends.IInferior.remove_ChildEvent'.  (method
> might be non-public or static)
> ../backends/mono-csharp/MonoVariable.cs(105) error CS0572: Can't
> reference type `AddressMode' through an expression; try
> `Mono.Debugger.Languages.CSharp.VariableInfo+AddressMode' instead
> ../arch/DwarfReader.cs(72) error CS0029: Cannot convert implicitly from
> `Mono.Debugger.ITargetInfo' to `Mono.Debugger.Backends.TargetInfo'
> Compilation failed: 4 error(s), 0 warnings
> make[2]: *** [Mono.Debugger.Backend.dll] Error 1
> make[2]: Leaving directory
> `/home/cedric/garnome/garnome-0.27.1/mono/mono-debugger/work/main.d/mono-debugger-0.4/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/cedric/garnome/garnome-0.27.1/mono/mono-debugger/work/main.d/mono-debugger-0.4'
> make: *** [all] Error 2
> 
> 
> Was anyone successful in compiling mono-debugger-0.4 using mono-0.26 ?
> Should I use CVS mono instead ?
> 
> Thank you,
> --
> Cedric
> 
> 
> On Mon, 2003-09-15 at 08:57, Cedric Marcone wrote:
> > Hi all,
> > 
> > I just installed gnome-2.4 from the shiny brand new garnome-0.27.1 and
> > it fails in gnome-hacker-tools on mono-debugger-0.4 (with mono-0.26 and
> > gtk#-0.10) :
> > 
> > make[4]: Entering directory
> > `/home/cedric/garnome/garnome-0.27.1/mono/mono-debugger/work/main.d/mono-debugger-0.4/lib'
> > /home/cedric/gnome-2.4/bin/mcs /target:library /out:Mono.Debugger.dll -g
> > -r Mono.CSharp.Debugger ../interfaces/*.cs ../classes/*.cs
> > Implement the type definition for params
> > ../classes/TargetAddress.cs(20) warning CS0660:
> > `Mono.Debugger.TargetAddress' defines operator == or operator != but
> > does not override Object.Equals (object o)
> > ../classes/TargetAddress.cs(20) warning CS0661:
> > `Mono.Debugger.TargetAddress' defines operator == or operator != but
> > does not override Object.GetHashCode ()
> > ../classes/Backtrace.cs(99) error CS0103: The name `Math.Min' could not
> > be found in `Mono.Debugger.Backtrace'
> > ../classes/Backtrace.cs(100) error CS0103: The name `Math.Min' could not
> > be found in `Mono.Debugger.Backtrace'
> > Compilation failed: 2 error(s), 2 warnings
> > make[4]: *** [Mono.Debugger.dll] Error 1
> > make[4]: Leaving directory
> > `/home/cedric/garnome/garnome-0.27.1/mono/mono-debugger/work/main.d/mono-debugger-0.4/lib'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory
> > `/home/cedric/garnome/garnome-0.27.1/mono/mono-debugger/work/main.d/mono-debugger-0.4'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory
> > `/home/cedric/garnome/garnome-0.27.1/mono/mono-debugger/work/main.d/mono-debugger-0.4'
> > make[1]: *** [build-work/main.d/mono-debugger-0.4/Makefile] Error 2
> > make[1]: Leaving directory
> > `/home/cedric/garnome/garnome-0.27.1/mono/mono-debugger'
> > make: *** [../../mono/mono-debugger/cookies/main.d/install] Error 2
> > 
> > Any hints would be appreciated.
> > --
> > Cedric
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list