ID:               47043
 User updated by:  john at jcoppens dot com
 Reported By:      john at jcoppens dot com
-Status:           Feedback
+Status:           Open
 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..)

Evidently a typo. Just in case that was the cause, I retried with the
right slashes. No change.

I first had Ming 0.3 installed, and was able to compile (at that time -
last year) php 5.2.5 with Ming included. Now I got the list of undefined
references, so I installed Ming 0.4. (ming-0.4.0.rc1).
I compiled and installed 0.4 with:
./configure --enable-php --enable-cpp --enable-perl --enable-perl
so it installed in /usr/local


Previous Comments:
------------------------------------------------------------------------

[2009-01-26 12:47:50] [email protected]

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?


------------------------------------------------------------------------

[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

Reply via email to