GNOME Bugzilla – Bug 503639
Compilation problem with mono 1.2.6
Last modified: 2007-12-20 20:29:41 UTC
Please describe the problem: Beagle 0.3.1 failed to compile with the lastest mono 1.6.0 and gtk-sharp 2.10.2 from Gnome 2.20.2 source. /usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error) /usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error) Compilation failed: 2 error(s), 0 warnings make[2]: *** [Settings.exe] Error 1 make[2]: Leaving directory `/tmp/tgz/beagle-0.3.1/tools' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/tmp/tgz/beagle-0.3.1/tools' make: *** [install-recursive] Error 1 Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
/Settings.cs(897,32): error CS0121: The call is ambiguous between the following methods or properties: `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.CellLayoutDataFunc)' and `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.TreeCellDataFunc)' /usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error) /usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error) Compilation failed: 2 error(s), 0 warnings make[2]: *** [Settings.exe] Error 1 make[2]: Leaving directory `/tmp/tgz/beagle-0.3.1/tools' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/tmp/tgz/beagle-0.3.1/tools' make: *** [install-recursive] Error 1
Presumably you mean Mono 1.2.6?
Oh sorry yes the lastest Mono 1.2.6. With the previous Mono 1.2.4, Beagle 0.3.1 compile good and work fine.
Did you also update your gtk-sharp, or is mono the only thing that's changed between then and now?
The Gtk-sharp is the same version 2.10.2, but it's recompiled with new mono 1.2.6. Ps. All the Mono packages for Gnome 2.20.2 are rebuilted with new Mono 1.2.6, with no problems. Only Beagle 0.3.* give an error on compilation.
Ps2. I don't know if it is usefull but i have updated the Gtk+ to the new 2.12.3. Because the Gnome 2.20.2 Gtk+ 2.12.2 cause Epiphany and Gedit crash.
I cant test with 1.2.6 right now, but if you replace all SetCellDataFunc (renderer_text, xxx); with SetCellDataFunc (renderer_text, new TreeCellDataFunc (xxx)); does that fix the compilation problem ?
Created attachment 101067 [details] [review] Patch for compilation on mono 1.2.6
With the changes from Debajyoti Bera beagle compiles and runs fine on mono 1.2.6
Checked in the fix, r4316.