SWF and PHP 4.0.6

From: Date: Thu, 13 Sep 2001 22:22:37 +0000
Subject: SWF and PHP 4.0.6
Groups: php.general 
Request: Send a blank email to php-general+get-67276@lists.php.net to get a copy of this message
I am trying to get SWF installed into PHP for a customer and I am having some problems. I downloaded the file dist.99.freebsd.tar.Z and uncompressed the file. Then reading the page on swf on the PHP.net website I did as one user suggested and copied the libswf.a into the /usr/local/lib and then copied swf.h into /usr/local/include and then compiled php with ./configure --with-swf=/usr/local and then it bombed on the compiling of PHP doing. /bin/sh /home/d/dreamboy/php-4.0.6/libtool --silent --mode=link gcc -I. -I/home/d/dreamboy/php-4.0.6/ -I/home/d/dreamboy/php-4.0.6/main -I/home/d/dreamboy/php-4.0.6 -I/home/d/dreamboy/php-4.0.6/Zend -I/usr/local/include -I/home/d/dreamboy/php-4.0.6/ext/mysql/libmysql -I/home/d/dreamboy/php-4.0.6/ext/xml/expat/xmltok -I/home/d/dreamboy/php-4.0.6/ext/xml/expat/xmlparse -I/home/d/dreamboy/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o php -export-dynamic stub.lo libphp4.la .libs/libphp4.a(swf.o): In function `php_if_swf_openfile': /home/d/dreamboy/php-4.0.6/ext/swf/swf.c(.text+0x7ef): undefined reference to `swf_openfile' .libs/libphp4.a(swf.o): In function `php_if_swf_closefile': /home/d/dreamboy/php-4.0.6/ext/swf/swf.c:236: undefined reference to `swf_closefile' .libs/libphp4.a(swf.o): In function `php_if_swf_labelframe': /home/d/dreamboy/php-4.0.6/ext/swf/swf.c(.text+0x970): undefined reference to `swf_labelframe' ... cut because of length ... Is there a better way to do this? Is there a better library to use for Flash with PHP? Any suggestions would be appreciated?

« previous php.general (#67276) next »