[Mono-list] Compilation error for gecko-sharp0.7 on MacOs X
venot etienne
foobar@robatmac.com
Thu, 28 Apr 2005 22:03:06 +0200
Hello,
I try to compile gecko-sharp0.7 but I always have the same error :
Making all in gtkmozembed
mcs --unsafe --target library
-r:/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/gtk-
sharp-2.0/glib-sharp.dll
-r:/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/gtk-
sharp-2.0/pango-sharp.dll
-r:/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/gtk-
sharp-2.0/atk-sharp.dll
-r:/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/gtk-
sharp-2.0/gdk-sharp.dll
-r:/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/gtk-
sharp-2.0/gtk-sharp.dll \
./NewWindowOrphan_handler.cs ./NewWindow_delegate.cs
./NewWindow_handler.cs ./AssemblyInfo.cs generated/*.cs -o
gecko-sharp.dll
./NewWindow_delegate.cs(12) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
./NewWindow_delegate.cs(45) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
./NewWindow_delegate.cs(68) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
WebControl.custom(75) error CS1502: The best overloaded match for
method 'void Gecko.WebControl.gtk_moz_embed_set_profile_path (
System.IntPtr, System.IntPtr)' has some invalid arguments
WebControl.custom(75) error CS1503: Argument 0: Cannot convert from
'string' to ' System.IntPtr'
WebControl.custom(75) error CS1501: No overload for method
`gtk_moz_embed_set_profile_path' takes `2' arguments
WebControl.custom(81) error CS1502: The best overloaded match for
method 'void Gecko.WebControl.gtk_moz_embed_set_profile_path (
System.IntPtr, System.IntPtr)' has some invalid arguments
WebControl.custom(81) error CS1503: Argument 0: Cannot convert from
'string' to ' System.IntPtr'
WebControl.custom(81) error CS1501: No overload for method
`gtk_moz_embed_set_profile_path' takes `2' arguments
WebControl.custom(39) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
WebControl.custom(45) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
WebControl.custom(36) warning CS0618: 'GLib.Object.BeforeHandlers' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(37) warning CS0618: 'GLib.Object.BeforeSignals' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(39) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
WebControl.custom(39) warning CS0618: 'GLib.Object.BeforeSignals' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(40) warning CS0618: 'GLib.Object.BeforeHandlers' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(42) warning CS0618: 'GLib.Object.AfterHandlers' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(43) warning CS0618: 'GLib.Object.AfterSignals' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(45) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
WebControl.custom(45) warning CS0618: 'GLib.Object.AfterSignals' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(46) warning CS0618: 'GLib.Object.AfterHandlers' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(56) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
WebControl.custom(56) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
WebControl.custom(50) warning CS0618: 'GLib.Object.AfterHandlers' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(51) warning CS0618: 'GLib.Object.AfterSignals' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(53) warning CS0618: 'GLib.Object.BeforeHandlers' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(54) warning CS0618: 'GLib.Object.BeforeSignals' is
obsolete: 'Replaced by GLib.Signal marshaling mechanism.'
WebControl.custom(61) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
WebControl.custom(65) warning CS0618: 'GLib.SignalCallback' is
obsolete: 'Replaced by GLib.Signal.'
Compilation failed: 6 error(s), 23 warnings
make[1]: *** [gecko-sharp.dll] Error 1
I already have succesfully installed :
MonoFramework 1.1.6-4 (downloaded from the go-mono website)
gtk-sharp-1.9.3
gtksourceview-sharp-0.7
monodoc-1.0.6
I need to install gecko-sharp for MonoDevelop 0.6.
The error seems to be on Glib. I have the version, I have the version
2.4.6-6 installed.
Any help would be greatly apprecied ; I try to compile it for a couple
of day and I really don't know where to find this problem solution.
Please excuse my english...
Venot Etienne