[Gtk-sharp-list] GTK# compile error

Maurício de Lemos Rodrigues Collares Net Maurício de Lemos Rodrigues Collares Net
Thu, 24 Oct 2002 16:44:11 -0200


I get the follwoing error when trying to compile GTK# (Fresh CVS tree):

make[1]: Entering directory `/usr/src/mono/source/gtk-sharp/api'
mono  ../generator/gapi_codegen.exe --generate atk-api.xml pango-api.xml 
gdk-api.xml gdk-symbols.xml gtk-api.xml gtk-symbols.xml glade-api.xml 
art-api.xml gnome-api.xml gda-api.xml gnomedb-api.xml && touch 
generated-stamp

Unhandled Exception: System.ArgumentException: Key duplication
in <0x002e9> 00 System.Collections.Hashtable:PutImpl (object,object,bool)
in <0x00018> 00 System.Collections.Hashtable:Add (object,object)
in <0x00119> 00 System.Text.RegularExpressions.Syntax.Parser:GetMapping ()
in <0x000b3> 00 System.Text.RegularExpressions.Regex:.ctor 
(string,System.Text.RegularExpressions.RegexOptions)
in <0x00038> 00 System.Xml.XmlDeclaration:get_XmlDeclRegex ()
in <0x00016> 00 System.Xml.XmlDeclaration:ParseInput (string)
in <0x00010> 00 System.Xml.XmlDeclaration:set_Value (string)
in <0x0040e> 00 System.Xml.XmlNode:ConstructDOM 
(System.Xml.XmlReader,System.Xml.XmlNode)
in <0x00035> 00 System.Xml.XmlDocument:Load (System.Xml.XmlReader)
in <0x0006b> 00 System.Xml.XmlDocument:Load (string)
in <0x0004e> 00 GtkSharp.Generation.Parser:.ctor (string)
in <0x0011a> 00 GtkSharp.Generation.CodeGenerator:Main (string[])

make[1]: *** [generated-stamp] Error 255
make[1]: Leaving directory `/usr/src/mono/source/gtk-sharp/api'
make: *** [install-binding] Error 1

What's wrong?

(Sorry if you got this twice, I think I mistyped email addresses)