Re: Compilation error: How to use php stream APIs in a php extension
| From: | Antony Dovgal | Date: | Sat, 18 Sep 2004 15:24:19 +0000 |
| Subject: | Re: Compilation error: How to use php stream APIs in a php extension | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1356@lists.php.net to get a copy of this message | ||
On Sat, 18 Sep 2004 17:02:14 +0200
"mathieu" <mathieu@faya.fr> wrote:
> hi,
>
> i'm trying to develop a php extention. it need to be able to read php
> file streams.
> when i'm trying to make php with my extension, i'm getting this error
> :(from "make")
>
> ext/fpdf/f_stream_php.o(.text+0x2c0): In function
> `f_stream_file::size()':: undefined reference to
> `_php_stream_tell(_php_stream*)'
>
> the links to zend_parse_parameters and the others zend functions are
> ok but i can't work with php APIs. Why ?
>
> I think something is missing in config.m4 or in Makefile.in...
>
> could anybody help me?
do you include <main/php_streams.h> ?
--
Wbr,
Antony Dovgal aka tony2001
tony2001@phpclub.net || antony@dovgal.com