Re: bcompiler_stream_bz2open_from_BZFILE/incompatible pointer type - Error
| From: | Alan Knowles | Date: | Wed, 08 Sep 2004 12:17:30 +0000 |
| Subject: | Re: bcompiler_stream_bz2open_from_BZFILE/incompatible pointer type - Error | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1285@lists.php.net to get a copy of this message | ||
From what I remember - try changing it to this:
return php_stream_alloc_rel(&php_stream_bz2io_ops, (void *)self, (const char*) 0, mode);
AFAIR It was fixed in CVS here for the PHP5 build
http://cvs.php.net/diff.php/pecl/bcompiler/bcompiler.c?r1=1.42&r2=1.43&ty=h&num=10
Regards
Alan
Stevie wrote:
Hello Alan, I was successfull in compiling bcompiler (i did it several days - some parts with Andrew and Frank) (the main point was that I had to use a original dev branch of php4 because i tried it with xampp). Now I have only one error left while compiling: -o .libs/bcompiler.o /usr/local/lib/php/ext/bcompiler/bcompiler.c: In function `bcompiler_stream_bz2open_from_BZFILE': /usr/local/lib/php/ext/bcompiler/bcompiler.c:953: warning: passing arg 1 of `_php_stream_alloc' from incompatible pointer type It seems to be a bz2 - Function. But I did not match what does it mean. The bcompiler_stream_bz2open_from_BZFILE/incompatible pointer type - Error also accours when I rename config.m4_old and Makefile.in (to get one without bz2) Meanwhile i have ca. 20.000 bz2-librarys on my system including bzlib.h! No one at the Mailinglists and IRC can tell me more. Do you have any idea? Regards, Stefan ------------------------------------------ Stefan Werthmann Max Planck Institute for Human Development Center for Educational Research Lentzeallee 94 141 95 Berlin - Germany Tel. 82406-450, Zimmer 139a E-Mail: werthmann@mpib-berlin.mpg.de Web: http://e-research.mpg.de ------------------------------------------ ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de