Compilation fails with mono 1.2.6

Bug #180603 reported by Francesco Namuri
4
Affects Status Importance Assigned to Milestone
Desktop Drapes
New
Undecided
Unassigned

Bug Description

Hi,
trying to compile drapes for debian I get this eror:

make[1]: Entering directory `/root/drapes-0.5.1'
Making all in drapes
make[2]: Entering directory `/root/drapes-0.5.1/drapes'
sed -e "s,[@]ASM_VERSION/[@],0.5.1.*," \
     -e "s,[@]datadir/[@],/usr/share," \
  -e "s,[@]prefix/[@],/usr," \
  -e "s,[@]version/[@],0.5.1," \
  -e "s,[@]helpdir/[@],/usr/share/gnome/help," \
     < AssemblyInfo.cs.in > AssemblyInfo.cs
/usr/bin/gmcs -debug -r:System.Xml -r:Mono.Posix -pkg:gconf-sharp-2.0 -pkg:glade-sharp-2.0 -pkg:gnome-vfs-sharp-2.0 -resource:../data/drapes.glade,drapes.glade \
 -unsafe+ -target:exe -out:"drapes.exe" \
 ./AssemblyInfo.cs ./panelapplet/*.cs ./About.cs ./Applet.cs ./AppletWidget.cs ./ConfigMenuWidgets.cs ./ConfigMenu.cs ./Main.cs ./Settings.cs ./Traylib.cs ./Wallpaper.cs ./WpList.cs
./ConfigMenu.cs(154,29): 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)
./ConfigMenu.cs(155,29): 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)
./ConfigMenu.cs(156,29): 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: 3 error(s), 0 warnings
make[2]: *** [drapes.exe] Error 1
make[2]: Leaving directory `/root/drapes-0.5.1/drapes'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/drapes-0.5.1'
make: *** [debian/stamp-makefile-build] Error 2
debuild: fatal error at line 1237:
debian/rules build failed

Best Regards,
francesco

Revision history for this message
Oliver Charles (oliver-charles) wrote :

This appears to be more of a bug in the version of GTK-Sharp you have (I can compile fine with the gtk-sharp and mono 1.2.4 out of ubuntu repos fine). Can you post the version of GTK-Sharp that you have installed please, and is the bug when compiling from GIT, or a specific version tarball?

Revision history for this message
Francesco Namuri (francesco-namuri) wrote : Re: [Bug 180603] Re: Compilation fails with mono 1.2.6

Il giorno 12/gen/08, alle ore 17:18, Oliver Charles ha scritto:

> This appears to be more of a bug in the version of GTK-Sharp you
> have (I
> can compile fine with the gtk-sharp and mono 1.2.4 out of ubuntu repos
> fine). Can you post the version of GTK-Sharp that you have installed
> please, and is the bug when compiling from GIT, or a specific version
> tarball?

Sure, the gtk-sharp version is:
libgtk2.0-cil 2.10.2-5
and I'm trying to build from the released 0.5.1
Best Regards,
francesco
--
Francesco Namuri
francesco(at)namuri(dot)it http://namuri.it/
id gpg key: 21A4702A <email address hidden>

Revision history for this message
Oliver Charles (oliver-charles) wrote :

Interesting, I seem to be ok with lib-gtk2.0-cil 2.10.2-1, a few versions down. I'll try and find an upgrade and see if I can work out what's going on (seeing as I have a boring evening :P) - thanks for the more info :)

Revision history for this message
Francesco Namuri (francesco-namuri) wrote :

Hi,
in debian I've solved with this patch...

Cheers,
francesco

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.