From: john at jcoppens dot com Operating system: Linux 386 PHP version: 5.2CVS-2009-01-08 (snap) PHP Bug Type: Compile Failure Bug description: Compilation fails on Ming library
Description: ------------ Compiling PHP with the following configuration: ./configure --with-mysql=/opt/mysql -with-mysqli --with-msql=/usr/local/msql \ --with-apxs \ --with-ming --with-zlib --with-bz2 --enable-exif --enable-ftp \ --with-gd --enable-gd-native-ttf --with-ttf=/usr --enable-dbase \ --with-freetype-dir=/usr --enable-sockets --with-t1lib \ --prefix=/usr --enable-mbstring --with-libxml-dir=/usr --with-pspell \ --with-config-file-path=\etc\apache causes a lot of undefined references, apparently all related to the ming libraries. Reproduce code: --------------- configure with the above options, make Expected result: ---------------- Normal compilation Actual result: -------------- After a very long gcc command, probably near the end: ext/ming/.libs/ming.o: In function `zim_swfdisplayitem_getRot': /usr/local/src/programming/php-5.2.8/ext/ming/ming.c:1196: undefined reference to `SWFDisplayItem_get_rot' ext/ming/.libs/ming.o: In function `zim_swfdisplayitem_getYSkew': /usr/local/src/programming/php-5.2.8/ext/ming/ming.c:1181: undefined reference to `SWFDisplayItem_get_ySkew' ext/ming/.libs/ming.o: In function `zim_swfdisplayitem_getXSkew': /usr/local/src/programming/php-5.2.8/ext/ming/ming.c:1166: undefined reference to `SWFDisplayItem_get_xSkew' ext/ming/.libs/ming.o: In function `zim_swfdisplayitem_getYScale': /usr/local/src/programming/php-5.2.8/ext/ming/ming.c:1151: undefined reference to `SWFDisplayItem_get_yScale' ext/ming/.libs/ming.o: In function `zim_swfdisplayitem_getXScale': /usr/local/src/programming/php-5.2.8/ext/ming/ming.c:1136: undefined reference to `SWFDisplayItem_get_xScale' ext/ming/.libs/ming.o: In function `zim_swfdisplayitem_getY': /usr/local/src/programming/php-5.2.8/ext/ming/ming.c:1121: undefined reference to `SWFDisplayItem_get_y' ext/ming/.libs/ming.o: In function `zim_swfdisplayitem_getX': /usr/local/src/programming/php-5.2.8/ext/ming/ming.c:1106: undefined reference to `SWFDisplayItem_get_x' ext/ming/.libs/ming.o: In function `zim_swffont_getShape': /usr/local/src/programming/php-5.2.8/ext/ming/ming.c:1609: undefined reference to `SWFFont_getShape' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 -- Edit bug report at http://bugs.php.net/?id=47043&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47043&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47043&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47043&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47043&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47043&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47043&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47043&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47043&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47043&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47043&r=support Expected behavior: http://bugs.php.net/fix.php?id=47043&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47043&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47043&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47043&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47043&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47043&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47043&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47043&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47043&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47043&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47043&r=mysqlcfg