php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5345 main.c:370: incompatible types in assignment
Submitted: 2000-07-03 19:03 UTC Modified: 2000-08-15 15:46 UTC
From: tomas dot karlsson at anatomy dot umu dot se Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: LinuxPPC 2000 (RH 6.2 based)
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: tomas dot karlsson at anatomy dot umu dot se
New email:
PHP Version: OS:

 

 [2000-07-03 19:03 UTC] tomas dot karlsson at anatomy dot umu dot se
Expreinecd on two machines; on erlier versions of php been-able to compile but they have not been vorking, even crashed Apache. Dont know what to do. Enviroment Apache 1.3.12, mod_ssl, mod_perl, MySQL 3.22.32 - all complied and runs nicly on these macines: Confiure options for php --with-mysql=/usr/local --with-apxs.  Configure scripts returns no errors.


/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DXML_BYTE_ORDER=21  -g -O2 -c zend_sprintf.c
/bin/sh ../libtool --silent --mode=link gcc  -g -O2  -o libZend.la  -lgdbm -lpam  -ldl -lttf -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv zend-parser.lo zend_alloc.lo zend_compile.lo zend_constants.lo zend_dynamic_array.lo zend_execute.lo zend_execute_API.lo zend_highlight.lo zend_llist.lo zend_opcode.lo zend_operators.lo zend_ptr_stack.lo zend_stack.lo zend_variables.lo zend.lo zend_API.lo zend_extensions.lo zend_hash.lo zend_list.lo zend_indent.lo zend_builtin_functions.lo zend_sprintf.lo libZend_c.la libZend_gcc.la 
make[1]: Leaving directory `/home/root/php-4.0.1/Zend'
Making all in main
make[1]: Entering directory `/home/root/php-4.0.1/main'
make[2]: Entering directory `/home/root/php-4.0.1/main'
gcc -DHAVE_CONFIG_H -I. -I/home/root/php-4.0.1/main -I/home/root/php-4.0.1 -I/home/root/php-4.0.1/main -I/home/root/apache_1.3.12/src/include -I/home/root/apache_1.3.12/src/os/unix -I/home/root/php-4.0.1/Zend -I/home/root/php-4.0.1 -I/home/root/php-4.0.1/ext/mysql/libmysql -I/home/root/php-4.0.1/ext/xml/expat/xmltok -I/home/root/php-4.0.1/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=21 -g -O2  -c main.c && touch main.lo
main.c: In function `php_error_cb':
main.c:370: incompatible types in assignment
main.c:435: incompatible types in assignment
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/home/root/php-4.0.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/php-4.0.1/main'
make: *** [all-recursive] Error 1
[root@imb php-4.0.1]# 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-27 20:30 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version from CVS or snaps.php.net.
 [2000-07-27 22:33 UTC] waldschrott@php.net
marked 5454 as duplicate (LinuxPPC)
marked 5751 as duplicate (Yellow Dog Linux CS 1.2)


 [2000-08-12 13:44 UTC] waldschrott@php.net
user update:


Anyway, on 7/27, you asked to have this bug checked against
the latest CVS. Tonight, I did. It's still there:

make[2]: Entering directory
`/home/chuqui/php4-200008112045/main'
/bin/sh /home/chuqui/php4-200008112045/libtool --silent
--mode=compile gcc  -DHA
VE_CONFIG_H -I. -I/home/chuqui/php4-200008112045/main
-I/home/chuqui/php4-200008
112045 -I/home/chuqui/php4-200008112045/main
-I/home/httpd/include -I/home/chuqu
i/php4-200008112045/Zend -I/home/chuqui/php4-200008112045
-I/home/chuqui/php4-20
0008112045/ext/mysql/libmysql
-I/home/chuqui/php4-200008112045/ext/xml/expat/xml
tok -I/home/chuqui/php4-200008112045/ext/xml/expat/xmlparse
-DXML_BYTE_ORDER=21
-g -O2  -c main.c
main.c: In function `php_error_cb':
main.c:369: incompatible types in assignment
main.c:445: incompatible types in assignment
make[2]: *** [main.lo] Error 1

So this bug hasn't been fixed as of tonight on Yellowdog
linux 1.2.

Let me know if you need anything else....
 [2000-08-15 13:12 UTC] sas@php.net
Fixed in CVS. Thanks for your report.
 [2000-08-15 14:39 UTC] waldschrott@php.net
user feedback:

"Still incompatibla types with source from 200008150545. On
line 369 and 445
in main.c in the main dir. and no warningins from the
configure script"

perhaps you?ve grabbed the sources too early, please build again

 [2000-08-15 15:46 UTC] waldschrott@php.net
Fixed in CVS. 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 27 10:00:01 2026 UTC