From:             jeremy dot jacque at maximo dot fr
Operating system: AIX 5.1
PHP version:      5.2.3
PHP Bug Type:     Dynamic loading
Bug description:  Undefined symbol: .XpmFreeXpmImage

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 bug report at http://bugs.php.net/?id=42156&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42156&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42156&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42156&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42156&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42156&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42156&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42156&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42156&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42156&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42156&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42156&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42156&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42156&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42156&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42156&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42156&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42156&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42156&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42156&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42156&r=mysqlcfg

Reply via email to