[PHP-DEV] PHP 4.0 Bug #6677 Updated: Compile with native xlC varfs: duplicate def for int8 From: sniper <email protected>
Date: 01/30/01

ID: 6677
Updated by: sniper
Reported By: Ken.Coar <email protected>
Old-Status: Feedback
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:

No feedback. If problem exists with latest CVS snapshot
reopen this bug report.

--Jani

Previous Comments:
---------------------------------------------------------------------------

[2000-12-18 11:02:54] sniper <email protected>
Does this happen with latest snapshot from http://snaps.php.net/ ??

--Jani

---------------------------------------------------------------------------

[2000-09-12 05:30:37] Ken.Coar <email protected>
When I try to build the 4.0.2 tarball using the native xlC compiler, it fails with a
severe error.

./configure --with-mysql --with-apxs=<path>
    :
make
    :
Making all in libmysql
        /bin/sh /home/coar/php/php-4.0.2/libtool --silent --mode=compile cc -I.
-I/home/coar/php/php-4.0.2/ext/mysql/libmysql -I/home/coar/php/php-4.0.2 -I/home/coar/php/php-4.0.2/main
-I/home/coar/web/server/include -I/home/coar/php/php-4.0.2/Zend -I/home/coar/php/php-4.0.2
-I/home/coar/php/php-4.0.2/ext/mysql/libmysql -I/home/coar/php/php-4.0.2/ext/xml/expat/xmltok
-I/home/coar/php/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -c libmysql.c
"./global.h", line 484.17: 1506-334 (S) Identifier int8 has already been defined on line 606 of
"/usr/include/sys/inttypes.h".
"libmysql.c", line 165.59: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not
allowed.
make: 1254-004 The error code from the last command is 1.

Stop.

I am retrying this with CFLAGS="-ma" ./configure ..., but it's unclear
whether that will make a difference. In any event, it would be nice
if this had been detected out of the box. Or am I (as usual) missing
something?

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=6677

-- 
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>