From: fmonna at generali dot es Operating system: AIX 4.3.3 ML10 PHP version: 4.3.8 PHP Bug Type: Compile Failure Bug description: Error at libmysql.c:388
Description: ------------ After a succefull configure, make fails to compile at libmysql.c:388 I'm using gcc. My configure command was: ./configure --with-mysql --with-apxs=/usr/HTTPServer/bin/apxs --with-gd --with-zlib-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-xpm-dir=/usr/local/lib Thanks for any help !! Reproduce code: --------------- make /bin/sh /tmp/php/php-4.3.8/libtool --silent --preserve-dup-deps --mode=compile gcc -I/tmp/php/php-4.3.8/ext/mysql/libmysql -Iext/mysql/ -I/tmp/php/php-4.3.8/ext/mysql/ -DPHP_ATOM_INC -I/tmp/php/php-4.3.8/include -I/tmp/php/php-4.3.8/main -I/tmp/php/php-4.3.8 -I/tmp/php/php-4.3.8/Zend -I/usr/local/include -I/tmp/php/php-4.3.8/ext/xml/expat -I/tmp/php/php-4.3.8/TSRM -O2 -prefer-pic -c /tmp/php/php-4.3.8/ext/mysql/libmysql/libmysql.c -o ext/mysql/libmysql/libmysql.lo In file included from /tmp/php/php-4.3.8/ext/mysql/libmysql/libmysql.c:4: /tmp/php/php-4.3.8/ext/mysql/libmysql/global.h:260: warning: redefinition of `uint' /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/include/sys/types.h:464: warning: `uint' previously declared here /tmp/php/php-4.3.8/ext/mysql/libmysql/global.h:261: warning: redefinition of `ushort' /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/include/sys/types.h:463: warning: `ushort' previously declared here In file included from /tmp/php/php-4.3.8/ext/mysql/libmysql/libmysql.c:4: /tmp/php/php-4.3.8/ext/mysql/libmysql/global.h:577: conflicting types for `int8' /usr/include/sys/inttypes.h:622: previous declaration of `int8' /tmp/php/php-4.3.8/ext/mysql/libmysql/global.h:578: warning: redefinition of `int16' /usr/include/sys/inttypes.h:623: warning: `int16' previously declared here /tmp/php/php-4.3.8/ext/mysql/libmysql/global.h:581: warning: redefinition of `uchar' /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/include/sys/types.h:462: warning: `uchar' previously declared here /tmp/php/php-4.3.8/ext/mysql/libmysql/global.h:588: warning: redefinition of `int32' /usr/include/sys/inttypes.h:624: warning: `int32' previously declared here /tmp/php/php-4.3.8/ext/mysql/libmysql/global.h:601: warning: redefinition of `ulong' /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/include/sys/types.h:465: warning: `ulong' previously declared here /tmp/php/php-4.3.8/ext/mysql/libmysql/libmysql.c: In function `net_field_length_ll': /tmp/php/php-4.3.8/ext/mysql/libmysql/libmysql.c:388: warning: left shift count >= width of type make: 1254-004 The error code from the last command is 1. -- Edit bug report at http://bugs.php.net/?id=29739&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29739&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29739&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29739&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29739&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29739&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29739&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29739&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29739&r=support Expected behavior: http://bugs.php.net/fix.php?id=29739&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29739&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29739&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29739&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29739&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29739&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29739&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29739&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29739&r=float