Marc, if you mean my error, it was on Linux 3.1 (Gentoo), and happens also on latest Ubuntu on VirtualBox.<div><br></div><div><br><br><div class="gmail_quote">2012/2/13 Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
On 2012-02-12, at 8:43 AM, Álvaro Castro-Castilla wrote:<br>
<br>
> Hi Taylor,<br>
><br>
> Do you plan on making full bindings for libxml2? I'd be interested in packaging it as a Blackhole module when you are ready.<br>
> Also, when following your steps I got this error:<br>
> > (load "xml")<br>
> *** WARNING -- Could not find C function: "____20_xml_2e_o1"<br>
> *** ERROR IN (console)@1.1 -- /home/alvatar/gambit-xml/xml.o1: undefined symbol: ___release_scmobj<br>
><br>
> Using gambit 4.6.3<br>
><br>
> Best regards,<br>
><br>
> Álvaro<br>
<br>
</div>I'm not sure this is the cause of the bug, but I have noticed that Taylor's code is not completely portable.  It contains references to Gambit runtime functions that are not wrapped in a call to ___EXT. In other words, the calls<br>



<br>
vect = ___make_vector(4, ___FAL, ___STILL);<br>
___release_scmobj(x);<br>
tmp = ___make_pair(x, lst, ___STILL);<br>
<br>
should be written<br>
<br>
vect = ___EXT(___make_vector)(4, ___FAL, ___STILL);<br>
___EXT(___release_scmobj)(x);<br>
tmp = ___EXT(___make_pair)(x, lst, ___STILL);<br>
<br>
This is needed on some operating systems to link with the Gambit runtime system functions.  On the operating systems that don't need anything special, the call ___EXT(f) is replaced with f, so there is no overhead.<br>



<br>
By the way, on which OS did this problem occur?<br>
<span><font color="#888888"><br>
Marc<br>
<br>
</font></span></blockquote></div><br>
</div>