ID: 29739 Updated by: [EMAIL PROTECTED] Reported By: fmonna at generali dot es -Status: Closed +Status: Bogus Bug Type: Compile Failure Operating System: AIX 4.3.3 ML10 PHP Version: 4.3.8 New Comment:
Not a bug - > bogus. Previous Comments: ------------------------------------------------------------------------ [2004-08-19 18:43:45] fmonna at generali dot es I could compile with no problems... My lib paths were wrong. Thanks ------------------------------------------------------------------------ [2004-08-18 17:42:04] fmonna at generali dot es 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 this bug report at http://bugs.php.net/?id=29739&edit=1