Rasmus Lerdorf wrote:

> Ah, didn't have an updated tree.
> 
> On Sun, 11 Nov 2001, Markus Fischer wrote:
> 
> 
>>On Sun, Nov 11, 2001 at 03:56:45AM +0100, Markus Fischer wrote : 
>>
>>>On Sat, Nov 10, 2001 at 06:44:36PM -0800, Rasmus Lerdorf wrote : 
>>>
>>>>This doesn't look like the right fix to me.  There is no such thing as 
>>>>a php_unserialize_data_t typedef as far as I can tell.
>>>>
>>>Hmm, and whats this?
>>>
>>>typedef struct php_unserialize_data php_unserialize_data_t;
>>>
>>>from var_unserializer.c
>>>
>>Sorry, php_var.h of course.
>>


It looks like some more work is needed for sysvshm.c
I get following build error.

make[3]: Entering directory `/home/yohgaki/cvs/php/PHP4/ext/sysvshm'
/bin/sh /home/yohgaki/cvs/php/PHP4/libtool --mode=compile gcc  -I. 
-I/home/yohgaki/cvs/php/PHP4/ext/sysvshm 
-I/home/yohgaki/cvs/php/PHP4/main -I/home/yohgaki/cvs/php/PHP4 
-I/usr/include/apache -I/home/yohgaki/cvs/php/PHP4/Zend 
-I/usr/local/include -I/usr/include/freetype2/freetype 
-I/home/yohgaki/cvs/php/PHP4/ext/xml/expat  -DLINUX=22 
-DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT 
-I/home/yohgaki/cvs/php/PHP4/TSRM -g -Wall -prefer-pic  -c sysvshm.c
gcc -I. -I/home/yohgaki/cvs/php/PHP4/ext/sysvshm 
-I/home/yohgaki/cvs/php/PHP4/main -I/home/yohgaki/cvs/php/PHP4 
-I/usr/include/apache -I/home/yohgaki/cvs/php/PHP4/Zend 
-I/usr/local/include -I/usr/include/freetype2/freetype 
-I/home/yohgaki/cvs/php/PHP4/ext/xml/expat -DLINUX=22 
-DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT 
-I/home/yohgaki/cvs/php/PHP4/TSRM -g -Wall -c sysvshm.c  -fPIC 
-DPIC -o sysvshm.lo
sysvshm.c: In function `zif_shm_put_var':
sysvshm.c:249: warning: passing arg 1 of `zend_hash_init' from 
incompatible pointer type
sysvshm.c:250: warning: passing arg 3 of `php_var_serialize' from 
incompatible pointer type
sysvshm.c:251: warning: passing arg 1 of `zend_hash_destroy' from 
incompatible pointer type
sysvshm.c: In function `zif_shm_get_var':
sysvshm.c:305: structure has no member named `first'
sysvshm.c:306: warning: passing arg 4 of `php_var_unserialize' 
from incompatible pointer type
sysvshm.c:307: warning: passing arg 1 of `var_destroy' from 
incompatible pointer type
sysvshm.c:311: warning: passing arg 1 of `var_destroy' from 
incompatible pointer type
make[3]: *** [sysvshm.lo] Error 1
make[3]: Leaving directory `/home/yohgaki/cvs/php/PHP4/ext/sysvshm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/yohgaki/cvs/php/PHP4/ext/sysvshm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yohgaki/cvs/php/PHP4/ext'
make: *** [all-recursive] Error 1
[yohgaki@dev PHP4]$


Yasuo Ohgaki


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to