hum... I still get the same<div><div>*** WARNING -- Could not find C function: "____20_xml_2e_o1"</div><div>*** ERROR IN (console)@1.1 -- /home/alvatar/gambit-xml/xml.o1: undefined symbol: ___release_scmobj</div>

<div><br></div><div>I've surrounded all those calls with ___EXT()</div><div><br></div><div><br></div><br><div class="gmail_quote">2012/2/13 Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca">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">Can you try the change I suggest to see if the problem goes away?<br>
<span class="HOEnZb"><font color="#888888"><br>
Marc<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 2012-02-13, at 5:59 AM, Álvaro Castro-Castilla wrote:<br>
<br>
> Marc, if you mean my error, it was on Linux 3.1 (Gentoo), and happens also on latest Ubuntu on VirtualBox.<br>
><br>
><br>
><br>
> 2012/2/13 Marc Feeley <<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>><br>
><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>
> 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>
><br>
> Marc<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>