> > Well; it is not that simple. Those PHP4 bindings are generated with > SWIG and use zend_register_internal_class_ex() which gained a new > parameter. I added it as NULL to compile and it further fails with > > lasso_wrap.c:35292: error: `tsrm_ls' undeclared (first use in this > function) > > That line is: > > if (SWIG_ConvertPtr(*&(property_reference->object), (void **) &arg1, > SWIGTYPE_p_LassoNameRegistration) < 0) { > > > Is there a document I could read to understand what's going on ? > > > Thanks, > > Frederic
short googling showed me your are not the only one to experience such things. apparently, SWIG has problems with zts enabled php versions[1]. I'm not sure what can be done though. And it convince me a little more that enabling -zts in debian was a mistake. [1] http://mailman.cs.uchicago.edu/pipermail/swig-dev/2005-February/014744.html -- ·O· Pierre Habouzit ··O OOO http://www.madism.org