[PHP-DEV] Bug #11467: Problem to compile From: gommaraschi <email protected>
Date: 06/13/01

From: gommaraschi <email protected>
Operating system: AIX 4.3.3
PHP version: 4.0.5
PHP Bug Type: Compile Failure
Bug description: Problem to compile

Hi

I've this problem to compile php whit this option:
./configure --with-apache=../apache_1.3.20 --enable-track-vars --enable-trans-sid --enable-ftp

My gcc version is:
gcc 2.95.2.1

###########################################################
Making all in Zend
Target "all" is up to date.
Making all in main
Target "all-p" is up to date.
Target "all" is up to date.
Making all in ext
Making all in ftp
Target "all-p" is up to date.
Target "all" is up to date.
Making all in mysql
Making all in libmysql
        gcc -I. -I/home/aix/php-4.0.5/ext/mysql/libmysql -I/home/aix/php-4.0.5/main -I/home/aix/php-4.0.5 -I/home/aix/apache_1.3.20/src/include -I/home/aix/apache_1.3.20/src/os/unix -I/home/aix/php-4.0.5/Zend -I/home/aix/php-4.0.5/ext/mysql/libmysql -I/home/aix/php-4.0.5/ext/xml/expat/xmltok -I/home/aix/php-4.0.5/ext/xml/expat/xmlparse -I/home/aix/php-4.0.5/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -O2 -c libmysql.c && touch libmysql.lo
In file included from libmysql.c:9:
global.h:548: conflicting types for `int8'
/usr/include/sys/inttypes.h:622: previous declaration of `int8'
global.h:549: warning: redefinition of `int16'
/usr/include/sys/inttypes.h:623: warning: `int16' previously declared here
global.h:559: warning: redefinition of `int32'
/usr/include/sys/inttypes.h:624: warning: `int32' previously declared here
libmysql.c: In function `connect2':
libmysql.c:188: warning: passing arg 5 of `getsockopt' from incompatible pointer type
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
###########################################################

-- 
Edit Bug report at: http://bugs.php.net/?id=11467&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>