#47043 [Opn->Fbk]: Compilation fails on Ming library
| From: | jani@php.net | Date: | Mon, 26 Jan 2009 12:47:59 +0000 |
| Subject: | #47043 [Opn->Fbk]: Compilation fails on Ming library | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-133218@lists.php.net to get a copy of this message | ||
ID: 47043
Updated by: jani@php.net
Reported By: john at jcoppens dot com
-Status: Open
+Status: Feedback
-Bug Type: Compile Failure
+Bug Type: Ming related
Operating System: Linux 386
PHP Version: 5.2CVS-2009-01-08 (snap)
New Comment:
What's this: --with-config-file-path=\etc\apache ??? You really have
such path? (hint: forward slashes..)
And what ming library version have you installed? And how?
Previous Comments:
------------------------------------------------------------------------
[2009-01-08 21:38:20] john at jcoppens dot com
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 this bug report at http://bugs.php.net/?id=47043&edit=1