I downloaded a vanilla php 4.3.8 and patched it (without errors) with
hardened-php-4.3.8-0.2.0.patch.gz.
The following are the errors I get.
vanir# make
/bin/sh
/usr/buildapache/php-4.3.8/libtool --silent --preserve-dup-deps --mode=compi
le
gcc -DHAVE_CONFIG_H -Iext/mbstring/ -I/usr/buildapache/php-4.3.8/ext/mbstri
ng/ -DPHP_ATOM_INC -I/usr/buildapache/php-4.3.8/include -I/usr/buildapache/p
hp-4.3.8/main -I/usr/buildapache/php-4.3.8 -I/usr/buildapache/php-4.3.8/Zend
-I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I
/usr/local/include/c-client -I/usr/buildapache/php-4.3.8/ext/mbstring/mbrege
x -I/usr/buildapache/php-4.3.8/ext/mbstring/libmbfl -I/usr/buildapache/php-4
.3.8/ext/mbstring/libmbfl/mbfl -I/usr/local/include/mysql -I/usr/buildapache
/php-4.3.8/ext/xml/expat -I/usr/buildapache/php-4.3.8/TSRM -g -O2 -prefer
-pic -c /usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c -o
ext/mbstring/mbstring.lo
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1470: conflicting types
for `arg'
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1470: previous
declaration of `arg'
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c: In function
`php_mbstr_encoding_handler':
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1598: `new_val_len'
undeclared (first use in this function)
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1598: (Each undeclared
identifier is reported only once
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1598: for each function
it appears in.)
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c: In function
`php_mbstr_post_handler':
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1629: warning: passing
arg 1 of `php_mbstr_encoding_handler' makes integer from pointer without a
cast
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1629: too many arguments
to function `php_mbstr_encoding_handler'
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c: In function
`mbstr_treat_data':
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1729: warning: passing
arg 1 of `php_mbstr_encoding_handler' makes integer from pointer without a
cast
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1729: warning: passing
arg 2 of `php_mbstr_encoding_handler' makes pointer from integer without a
cast
/usr/buildapache/php-4.3.8/ext/mbstring/mbstring.c:1729: too many arguments
to function `php_mbstr_encoding_handler'
*** Error code 1
Stop in /usr/buildapache/php-4.3.8.
-- Zach
|