There is some code in ext/libxml/ruby_xml_html_parser_context.c that defines a couple of functions for older versions of libxml that are included in newer versions.
Right, those were added for OS X compatibility, since it has version 2.6.16. They actually exist in older libxml versions, but are not exposed in the header files. Thus my ugly hack to just copy them over to ruby_xml_html_parser_context.c.
The comment says the functions were added to libxml in 2.6.27 but the code is included for all versions <= 2.6.27 so if you happen to have exactly 2.6.27 on your system then you get a double definition.
Yup, should be < not <=. I take it you are using 2.6.27? Fix checked into trunk. Charlie
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel