Bug #10784 Updated: "./global.h", line 525.17: 1506-334 (S) Identifier int8 has already been define
| From: | christelle dot duarte at univ-fcomte dot fr | Date: | Thu, 10 May 2001 14:56:11 +0000 |
| Subject: | Bug #10784 Updated: "./global.h", line 525.17: 1506-334 (S) Identifier int8 has already been define | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54715@lists.php.net to get a copy of this message | ||
ID: 10784
User Update by: christelle.duarte@univ-fcomte.fr
Old-Status: Feedback
Status: Open
Bug Type: Compile Problem
Operating system: UNIX AIX 4.3.3.0
PHP Version: 4.0.4pl1
Description: "./global.h", line 525.17: 1506-334 (S) Identifier int8 has already been
define
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.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-10 09:47:52] derick@php.net
status: feedback
---------------------------------------------------------------------------
[2001-05-10 09:47:23] 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:42:14] christelle.duarte@univ-fcomte.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 08:49:44] derick@php.net
Please report you bug in the English Language.
---------------------------------------------------------------------------
[2001-05-10 08:41:11] christelle.duarte@univ-fcomte.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 ?
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=10784