php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10784 "./global.h", line 525.17: 1506-334 (S) Identifier int8 has already been define
Submitted: 2001-05-10 08:41 UTC Modified: 2001-06-03 20:30 UTC
From: christelle dot duarte at univ-fcomte dot fr Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: UNIX AIX 4.3.3.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: christelle dot duarte at univ-fcomte dot fr
New email:
PHP Version: OS:

 

 [2001-05-10 08:41 UTC] christelle dot duarte at univ-fcomte dot fr
J'ai un probl?me de compilation de php sur un serveur unix (AIX 4.3.3.0) . J'ai install? le serveur apache 1.3.12 . j'ai configur? php avec apache et oracle 8.1.6. 
Lorsque je lance le make j'ai le message d'erreur suivant :

"./global.h", line 525.17: 1506-334 (S) Identifier int8 has already been defined
on line 622 of "/usr/include/sys/inttypes.h".
"libmysql.c", line 179.59: 1506-280 (W) Function argument assignment between typ
es "unsigned long*" and "int*" is not allowed.
make : 1254-004 Code d'erreur de la derni?re commande : 1.

La commande ne m'installe pas le module PHP4 sous /src/modules
je ne peux dons pas reconfigurer apache avec php4 

Que faire ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-10 08:49 UTC] derick@php.net
Please report you bug in the English Language.
 [2001-05-10 09:42 UTC] christelle dot duarte at univ-fcomte dot fr
When I try to build php distribution using the native xlc compiler, it failed with the several errors :

"./global.h", line 525.17: 1506-334 (S) Identifier int8 has already been defined
 on line 622 of "/usr/include/sys/inttypes.h".
"libmysql.c", line 179.59: 1506-280 (W) Function argument assignment between typ
es "unsigned long*" and "int*" is not allowed.
make : 1254-004 Code d'erreur de la derni?re commande : 1.


 [2001-05-10 09:47 UTC] derick@php.net
Hello,

this looks like a problem in the bundled mysql client libraries.
You can try the following things:
- Don't use the bundled library and point configure to the already installed libraries on your system (if you have them):
./configure --with-mysql=/usr/local
- Please try to build without mysql:
./configure --without-mysql

Can you please try these?

regards,
Derick
 [2001-05-10 09:47 UTC] derick@php.net
status: feedback
 [2001-05-10 10:56 UTC] christelle dot duarte at univ-fcomte dot fr
I try with the command ./configure --without-mysql . It's OK but I have always a problem when I want to compile Apache whith the php4's module .

./configure --activate-module=src/modules/php4/libmodphp4.a --prefix=/apache/apache_1.3.12

Error message : 
===> src/modules/php4
        cc -c  -I../../os/unix -I../../include   -DAIX=43 -U__STR__ -DAIX_BIND_c
"mod_php4.c", line 28.10: 1506-296 (S) #include file "zend.h" not found.
"mod_php4.c", line 29.10: 1506-296 (S) #include file "php.h" not found.
"mod_php4.c", line 30.10: 1506-296 (S) #include file "php_variables.h" not foun.
"mod_php4.c", line 47.10: 1506-296 (S) #include file "php_ini.h" not found.
"mod_php4.c", line 48.10: 1506-296 (S) #include file "php_globals.h" not found.
"mod_php4.c", line 49.10: 1506-296 (S) #include file "SAPI.h" not found.
"mod_php4.c", line 50.10: 1506-296 (S) #include file "php_main.h" not found.
"mod_php4.c", line 52.10: 1506-296 (S) #include file "zend_compile.h" not found.
"mod_php4.c", line 53.10: 1506-296 (S) #include file "zend_execute.h" not found.
"mod_php4.c", line 54.10: 1506-296 (S) #include file "zend_highlight.h" not fou.
"mod_php4.c", line 55.10: 1506-296 (S) #include file "zend_indent.h" not found.
"mod_php4.c", line 57.10: 1506-296 (S) #include file "ext/standard/php_standard.
"mod_php4.h", line 36.8: 1506-166 (S) Definition of function zend_module_entry .
"mod_php4.h", line 36.26: 1506-276 (S) Syntax error: possible missing '{'?
"mod_php4.c", line 112.3: 1506-273 (E) Missing type in declaration of php_per_d.
"mod_php4.c", line 120.9: 1506-045 (S) Undeclared identifier saved_umask.
"mod_php4.c", line 130.16: 1506-045 (S) Undeclared identifier server_context.
"mod_php4.c", line 155.58: 1506-275 (S) Unexpected text SLS_DC encountered.

 [2001-06-03 20:30 UTC] sniper@php.net
Please try the latest release candidate from:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

And also follow the instructions found in INSTALL file.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 23:01:28 2025 UTC