[PHP-DEV] Antwort: PHP 4.0 Bug #6458 Updated: already defined From: stefan.marquardt <email protected>
Date: 12/21/00

Now there is a new error while running make:

cc: "/usr/include/iconv.h", line 68: error 1000: Unexpected symbol: "shl_t".
cc: "string.c", line 83: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 85: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 95: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 112: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 112: warning 563: Argument #1 is not the correct type.
cc: "string.c", line 853: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 853: warning 563: Argument #1 is not the correct type.
cc: "string.c", line 854: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 854: warning 563: Argument #1 is not the correct type.
cc: "string.c", line 855: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 855: warning 563: Argument #1 is not the correct type.
cc: "string.c", line 855: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 855: warning 563: Argument #2 is not the correct type.
cc: "string.c", line 855: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 855: warning 563: Argument #4 is not the correct type.
cc: "string.c", line 916: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 923: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 923: warning 563: Argument #1 is not the correct type.
cc: "string.c", line 923: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 923: warning 563: Argument #2 is not the correct type.
cc: "string.c", line 3034: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 3034: warning 563: Argument #2 is not the correct type.
cc: "string.c", line 3034: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 3034: warning 563: Argument #3 is not the correct type.
cc: "string.c", line 3034: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 3034: warning 563: Argument #5 is not the correct type.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

This seems to be a new bug ! ( I saw the pointer error's in other modules before.)

I try this now with 4.04:
cc: "zend_builtin_functions.c", line 725: warning 562: Redeclaration of "zend_if
_get_included_files" with a different storage class specifier: "zend_if_get_incl
uded_files" will have internal linkage.
c: "session.c", line 543: warning 604: Pointers are not assignment-compatible.
c: "session.c", line 543: warning 563: Argument #2 is not the correct type.
c: "session.c", line 556: warning 604: Pointers are not assignment-compatible.
c: "session.c", line 556: warning 563: Argument #2 is not the correct type.
cc: "base64.c", line 163: warning 604: Pointers are not assignment-compatible.
cc: "base64.c", line 163: warning 563: Argument #1 is not the correct type.
cc: "base64.c", line 165: warning 604: Pointers are not assignment-compatible.
cc: "base64.c", line 184: warning 604: Pointers are not assignment-compatible.
cc: "base64.c", line 184: warning 563: Argument #1 is not the correct type.
cc: "base64.c", line 186: warning 604: Pointers are not assignment-compatible.
c: "image.c", line 237: warning 604: Pointers are not assignment-compatible.
c: "image.c", line 237: warning 563: Argument #1 is not the correct type.
c: "image.c", line 239: warning 604: Pointers are not assignment-compatible.
c: "image.c", line 239: warning 563: Argument #2 is not the correct type.
c: "image.c", line 239: warning 604: Pointers are not assignment-compatible.
c: "image.c", line 239: warning 563: Argument #1 is not the correct type.
c: "image.c", line 241: warning 604: Pointers are not assignment-compatible.
c: "image.c", line 241: warning 563: Argument #2 is not the correct type.
c: "image.c", line 241: warning 604: Pointers are not assignment-compatible.
c: "image.c", line 241: warning 563: Argument #3 is not the correct type.
cc: "string.c", line 67: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 69: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 79: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 96: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 96: warning 563: Argument #1 is not the correct type.
cc: "string.c", line 833: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 833: warning 563: Argument #1 is not the correct type.
cc: "string.c", line 834: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 834: warning 563: Argument #1 is not the correct type.
cc: "string.c", line 835: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 835: warning 563: Argument #1 is not the correct type.
cc: "string.c", line 835: warning 604: Pointers are not assignment-compatible.
cc: "string.c", line 835: warning 563: Argument #2 is not the correct type.
cc: "stub.c", line 1: warning 501: Empty source file.

Much warning, but NOW it works !!!

Great work.

Stefan !

Bug Database <php-dev <email protected>> am 18.12.2000 16:30:55

An: stefan.marquardt <email protected>
Kopie:

Thema: PHP 4.0 Bug #6458 Updated: already defined

ID: 6458
Updated by: sniper
Reported By: stefan.marquardt <email protected>
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:

Does this happen with latest snapshot from http://snaps.php.net/ ??

--Jani

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

[2000-08-31 05:55:54] stefan.marquardt <email protected>
tok -I/home2/src/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g
-c li

bmysql.c && touch libmysql.lo

cc: "global.h", line 508: error 1642: Duplicate type specifier "unsigned":
ignor

ed.

cc: "global.h", line 508: warning 554: Declarator is missing.

*** Error exit code 1

Stop.

*** Error exit code 1

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

[2000-08-31 05:24:42] stefan.marquardt <email protected>
make stops with cc error on line 508 !

file global.h

it seems to be that HP-UX defined unsigned long in another file before !

It is HP-UX 11 !

507 #if !defined(HAVE_ULONG) && !defined(HAVE_LINUXTHREADS) && !defined
(__US

ISC)

508 typedef unsigned long ulong; /* Short for unsigned long */

509 #endif

510 #ifndef longlong_defined

511 #if defined(HAVE_LONG_LONG) && SIZEOF_LONG != 8

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

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

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