From: Marcelo M. <mm...@ac...> - 2006-02-23 22:12:15
|
It seems kevin just fixed it. Did you try CVS from 1 minute ago? Marcelo Olly Betts wrote: >On Thu, Feb 23, 2006 at 03:37:32PM -0600, Kevin Ruland wrote: > > >>I cannot seem to get examples to run anymore with SWIG CVS. Can you >>help out? I think some serious things have changed. >> >> > >I see it too. > >I've cc:-ed swig-dev as they're about to release 1.3.29 and it would be >bad if PHP support was completely broken, especially as it's meant to be >mostly a bug-fix release for 1.3.28. > >If I do the following (output omitted apart from the last): > >$ make >[...] >$ make check >[...] >$ cd Examples/php4/disown >$ php -d extension_dir=. runme.php4 > >Warning: dl(): Unable to load dynamic library './php_example.so' - >./php_example.so: undefined symbol: _wrap_ShapeContainer_ShapeContainer >in /home/olly/cvs/SWIG/Examples/php4/disown/example.php on line 19 >Creating some objects: > >Fatal error: Class 'Circle' not found in >/home/olly/cvs/SWIG/Examples/php4/disown/runme.php4 on line 12 > >Looking at example_wrap.cpp, there's this: > > ZEND_NAMED_FE(shapecontainer,_wrap_ShapeContainer_ShapeContainer, NULL) > >But _wrap_ShapeContainer_ShapeContainer is never actually defined. I >think this should instead be: > > ZEND_NAMED_FE(shapecontainer,_wrap_new_ShapeContainer, NULL) > >Interestingly, there's also this line already: > > ZEND_NAMED_FE(new_shapecontainer,_wrap_new_ShapeContainer, NULL) > >So it seems that the "-noproxy" version is generated correctly. > >I don't really know where to prod to fix this though, but hopefully the >above investigation should be helpful... > >Cheers, > Olly > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Swig-devel mailing list >Swi...@li... >https://lists.sourceforge.net/lists/listinfo/swig-devel > > |