From:             n_pairat at yahoo dot com
Operating system: tru64 v4.0
PHP version:      4.4.4
PHP Bug Type:     Compile Failure
Bug description:  compile Error on output.c

Description:
------------
my configure :
./configure \
        --with-mysql \
        --with-apxs=/usr/local/apache/bin/apxs \
        --with-zlib \
        --with-gd

my message compile :
/bin/ksh /bbl/usr/npairat/tmp/php-4.4.4/libtool --silent
--preserve-dup-deps --m
ode=compile cc  -Imain/ -I/bbl/usr/npairat/tmp/php-4.4.4/main/
-DPHP_ATOM_INC -I
/bbl/usr/npairat/tmp/php-4.4.4/include
-I/bbl/usr/npairat/tmp/php-4.4.4/main -I/
bbl/usr/npairat/tmp/php-4.4.4
-I/bbl/usr/npairat/tmp/php-4.4.4/ext/xml/expat -I/
bbl/usr/npairat/tmp/php-4.4.4/TSRM -I/bbl/usr/npairat/tmp/php-4.4.4/Zend  
 -g -
ieee   -c /bbl/usr/npairat/tmp/php-4.4.4/main/output.c -o main/output.lo
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 62: In
this stat
ement, the referenced type of the pointer value "php_default_output_func"
is "fu
nction (pointer to signed char, unsigned int) returning int", which is not
compa
tible with "function (pointer to const signed char, unsigned int)
returning int"
. (ptrmismatch)
        OG(php_body_write) = php_default_output_func;
--------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 63: In
this stat
ement, the referenced type of the pointer value "php_default_output_func"
is "fu
nction (pointer to signed char, unsigned int) returning int", which is not
compa
tible with "function (pointer to const signed char, unsigned int)
returning int"
. (ptrmismatch)
        OG(php_header_write) = php_default_output_func;
--------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 88: In
this stat
ement, the referenced type of the pointer value "php_ub_body_write" is
"function
 (pointer to signed char, unsigned int) returning int", which is not
compatible
with "function (pointer to const signed char, unsigned int) returning
int". (ptr
mismatch)
        OG(php_body_write) = php_ub_body_write;
--------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 89: In
this stat
ement, the referenced type of the pointer value "sapi_module.ub_write" is
"funct
ion (pointer to signed char, unsigned int) returning int", which is not
compatib
le with "function (pointer to const signed char, unsigned int) returning
int". (
ptrmismatch)
        OG(php_header_write) = sapi_module.ub_write;
--------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 119: In this
decla
ration, parameter 1 has a different type than specified in an earlier
declaratio
n of this function. (mismatparam)
PHPAPI int php_body_write(const char *str, uint str_length TSRMLS_DC)
-----------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 119: In this
decla
ration, the type of "php_body_write" is not compatible with the type of a
previo
us declaration of "php_body_write" at line number 30 in file
/bbl/usr/npairat/tm
p/php-4.4.4/main/php_output.h. (notcompat)
PHPAPI int php_body_write(const char *str, uint str_length TSRMLS_DC)
-----------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 127: In this
decla
ration, parameter 1 has a different type than specified in an earlier
declaratio
n of this function. (mismatparam)
PHPAPI int php_header_write(const char *str, uint str_length TSRMLS_DC)
-----------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 127: In this
decla
ration, the type of "php_header_write" is not compatible with the type of
a prev
ious declaration of "php_header_write" at line number 31 in file
/bbl/usr/npaira
t/tmp/php-4.4.4/main/php_output.h. (notcompat)
PHPAPI int php_header_write(const char *str, uint str_length TSRMLS_DC)
-----------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 145: In
this sta
tement, the referenced type of the pointer value
"php_ub_body_write_no_header" i
s "function (pointer to signed char, unsigned int) returning int", which
is not
compatible with "function (pointer to const signed char, unsigned int)
returning
 int". (ptrmismatch)
                        OG(php_body_write) = php_ub_body_write_no_header;
------------------------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 147: In
this sta
tement, the referenced type of the pointer value "php_ub_body_write" is
"functio
n (pointer to signed char, unsigned int) returning int", which is not
compatible
 with "function (pointer to const signed char, unsigned int) returning
int". (pt
rmismatch)
                        OG(php_body_write) = php_ub_body_write;
------------------------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 169: In this
decla
ration, parameter 1 has a different type than specified in an earlier
declaratio
n of this function. (mismatparam)
PHPAPI int php_start_ob_buffer_named(const char *output_handler_name, uint
chunk
_size, zend_bool erase TSRMLS_DC)
-----------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 169: In this
decla
ration, the type of "php_start_ob_buffer_named" is not compatible with the
type
of a previous declaration of "php_start_ob_buffer_named" at line number 33
in fi
le /bbl/usr/npairat/tmp/php-4.4.4/main/php_output.h. (notcompat)
PHPAPI int php_start_ob_buffer_named(const char *output_handler_name, uint
chunk
_size, zend_bool erase TSRMLS_DC)
-----------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 268: In
this sta
tement, the referenced type of the pointer value
"php_ub_body_write_no_header" i
s "function (pointer to signed char, unsigned int) returning int", which
is not
compatible with "function (pointer to const signed char, unsigned int)
returning
 int". (ptrmismatch)
                        OG(php_body_write) = php_ub_body_write_no_header;
------------------------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 270: In
this sta
tement, the referenced type of the pointer value "php_ub_body_write" is
"functio
n (pointer to signed char, unsigned int) returning int", which is not
compatible
 with "function (pointer to const signed char, unsigned int) returning
int". (pt
rmismatch)
                        OG(php_body_write) = php_ub_body_write;
------------------------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 325: In
this sta
tement, the referenced type of the pointer value "php_b_body_write" is
"function
 (pointer to signed char, unsigned int) returning int", which is not
compatible
with "function (pointer to const signed char, unsigned int) returning
int". (ptr
mismatch)
                OG(php_body_write) = php_b_body_write;
----------------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 446: In
this sta
tement, the referenced type of the pointer value "php_b_body_write" is
"function
 (pointer to signed char, unsigned int) returning int", which is not
compatible
with "function (pointer to const signed char, unsigned int) returning
int". (ptr
mismatch)
        OG(php_body_write) = php_b_body_write;
--------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 724: In
this sta
tement, the referenced type of the pointer value
"php_ub_body_write_no_header" i
s "function (pointer to signed char, unsigned int) returning int", which
is not
compatible with "function (pointer to const signed char, unsigned int)
returning
 int". (ptrmismatch)
                OG(php_body_write) = php_ub_body_write_no_header;
----------------^
*** Exit 1
Stop.



-- 
Edit bug report at http://bugs.php.net/?id=40440&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40440&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40440&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40440&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40440&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40440&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40440&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40440&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40440&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40440&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40440&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40440&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40440&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40440&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40440&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40440&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40440&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40440&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40440&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40440&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40440&r=mysqlcfg

Reply via email to