ID:               42156
 User updated by:  jeremy dot jacque at maximo dot fr
 Reported By:      jeremy dot jacque at maximo dot fr
-Status:           Feedback
+Status:           Closed
 Bug Type:         GD related
 Operating System: AIX 5.1
 PHP Version:      5.2.3
 New Comment:

I solved the issue by compiling libxpm from source cause the one from
IBM does not contain any symbol.

I'm actually trying the "latest" version but i've got an other problem
when configuring libtool. I'll post a new bug report.


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

[2007-07-31 16:51:30] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



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

[2007-07-31 10:12:04] jeremy dot jacque at maximo dot fr

Description:
------------
I'm trying to configure php-5.2.3 on an AIX 5.1 with xlc 7.0
I'm using the xpm-3.4k (could be found there:
http://www-03.ibm.com/servers/aix/products/aixos/linux/download.html )


Thank you in advance for the help.




Reproduce code:
---------------
export CC=/usr/vac/bin/xlc
export CFLAGS='-q64'
export OBJECT_MODE=64
export LDFLAGS='-L/opt/freeware/lib'

./configure --prefix=/patch/php/php
--with-apxs2=/patch/php/apache/bin/apxs \
--without-mysql --enable-calendar --disable-dom --disable-libxml \
--disable-simplexml --without-libexpat --without-expat --disable-pear
\
--without-pcre-regex --disable-ipv6 --without-imap \
--with-jpeg-dir=/opt/freeware \
--with-png-dir=/opt/freeware --without-xpm \
--with-freetype-dir=/opt/freeware --with-png-dir=/opt/freeware \
--disable-hash --disable-filter --disable-reflection \
--with-openssl=/opt/freeware --with-gd


Actual result:
--------------
the config.log says

ld: 0711-317 ERROR: Undefined symbol: .XpmFreeXpmImage
 .XpmFreeXpmImage          [14]    ER PR conftest.c(conftest.o)
                                   0000000c .text    R_RBR    [6]    
.main
ER: The return code is 8.
configure: failed program was:
#line 35330 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XpmFreeXpmImage();

int main() {
XpmFreeXpmImage()
; return 0; }



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


-- 
Edit this bug report at http://bugs.php.net/?id=42156&edit=1

Reply via email to