php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6677 Compile with native xlC varfs: duplicate def for int8
Submitted: 2000-09-12 05:30 UTC Modified: 2001-01-30 03:47 UTC
From: Ken dot Coar at Golux dot Com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: AIX 4.3.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Ken dot Coar at Golux dot Com
New email:
PHP Version: OS:

 

 [2000-09-12 05:30 UTC] Ken dot Coar at Golux dot Com
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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-18 11:02 UTC] sniper@php.net
Does this happen with latest snapshot from http://snaps.php.net/ ??

--Jani
 [2001-01-30 03:47 UTC] sniper@php.net
No feedback. If problem exists with latest CVS snapshot
reopen this bug report.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC