From:             Bjorn dot Wiberg at its dot uu dot se
Operating system: IBM AIX 5.3 5300-08-01-0819
PHP version:      5.3.0beta1
PHP Bug Type:     MySQL related
Bug description:  Compilation failure in ps_fetch_from_1_to_8_bytes()

Description:
------------
Compilation fails with undeclared references to MYSQLND_LLU_SPEC and
MYSQLND_LL_SPEC.

Reproduce code:
---------------
#! /bin/sh
#
# Created by configure

LDFLAGS='-Wl,-bbigtoc' \
CC='gcc' \
'./configure' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-cli' \
'--enable-dba' \
'--enable-debug' \
'--enable-exif' \
'--enable-flatfile' \
'--enable-ftp' \
'--enable-gd-jis-conv' \
'--enable-gd-native-ttf' \
'--enable-inifile' \
'--enable-mbstring' \
'--enable-pcntl' \
'--enable-shmop' \
'--enable-soap' \
'--enable-sockets' \
'--enable-sqlite-utf8' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-wddx' \
'--enable-zip' \
'--enable-zend-multibyte' \
'--prefix=/apache/php' \
'--with-apxs2=/apache/bin/apxs' \
'--with-bz2' \
'--with-cdb' \
'--with-curl' \
'--with-freetype-dir' \
'--with-gd' \
'--with-gdbm' \
'--with-gettext' \
'--with-jpeg-dir' \
'--with-ldap' \
'--with-libxml-dir=/usr/local' \
'--with-mysql=mysqlnd' \
'--with-mysqli=mysqlnd' \
'--with-openssl=/opt/freeware' \
'--with-pdo-mysql=mysqlnd' \
'--with-png-dir' \
'--with-xmlrpc' \
'--with-xpm-dir' \
'--with-xsl' \
'--with-zlib' \
'--with-zlib-dir' \
"$@"

Expected result:
----------------
No compilation failure.

Actual result:
--------------
/bin/sh /home/bwiberg/rpm/BUILD/php-5.3.0beta1/libtool --preserve-dup-deps
--mode=compile gcc  -Iext/mysqlnd/
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/ -DPHP_ATOM_INC
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/include
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/main
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/ereg/regex
-I/usr/local/include/libxml2 -I/opt/freeware/include -I/usr/local/include
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/date/lib -I/usr/X11R6/include
-I/usr/include/freetype2
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mbstring/oniguruma
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mbstring/libmbfl
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mbstring/libmbfl/mbfl
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/sqlite3/libsqlite
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/TSRM
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/Zend    -I/usr/include -g
-fvisibility=hidden -O0 -Wall   -c
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_ps_codec.c -o
ext/mysqlnd/mysqlnd_ps_codec.lo
 gcc -Iext/mysqlnd/ -I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/
-DPHP_ATOM_INC -I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/include
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/main
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/ereg/regex
-I/usr/local/include/libxml2 -I/opt/freeware/include -I/usr/local/include
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/date/lib -I/usr/X11R6/include
-I/usr/include/freetype2
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mbstring/oniguruma
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mbstring/libmbfl
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mbstring/libmbfl/mbfl
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/sqlite3/libsqlite
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/TSRM
-I/home/bwiberg/rpm/BUILD/php-5.3.0beta1/Zend -I/usr/include -g
-fvisibility=hidden -O0 -Wall -c
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_ps_codec.c 
-DPIC -o ext/mysqlnd/.libs/mysqlnd_ps_codec.o
In file included from
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd.h:59,
                 from
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_ps_codec.c:23:
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_portability.h:466:1:
warning: "float8get" redefined
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_portability.h:418:1:
warning: this is the location of the previous definition
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_portability.h:467:1:
warning: "float8store" redefined
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_portability.h:408:1:
warning: this is the location of the previous definition
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_ps_codec.c: In
function 'ps_fetch_from_1_to_8_bytes':
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_ps_codec.c:82:
error: 'MYSQLND_LLU_SPEC' undeclared (first use in this function)
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_ps_codec.c:82:
error: (Each undeclared identifier is reported only once
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_ps_codec.c:82:
error: for each function it appears in.)
/home/bwiberg/rpm/BUILD/php-5.3.0beta1/ext/mysqlnd/mysqlnd_ps_codec.c:111:
error: 'MYSQLND_LL_SPEC' undeclared (first use in this function)
make: *** [ext/mysqlnd/mysqlnd_ps_codec.lo] Error 1
Bad exit status from /var/opt/freeware/tmp/rpm-tmp.6916 (%build)
bwib...@melody-lp04:~/rpm/SPECS$

-- 
Edit bug report at http://bugs.php.net/?id=47535&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=47535&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=47535&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=47535&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=47535&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=47535&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=47535&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=47535&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=47535&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=47535&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=47535&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=47535&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=47535&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=47535&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=47535&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47535&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47535&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=47535&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=47535&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=47535&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=47535&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=47535&r=mysqlcfg

Reply via email to