On Wed, Jul 03, 2002 at 05:09:28PM +0200, Rafa Rodriguez Hernandez wrote :
> >
> > This is exactly the problem. I've not seen any other scenario
> > where you get this error message yet. Make double sure
> > COMPILE_DL_module is properly defined (btw, all uppercase
> > normally, maybe that's the problem).
> >
> > - Markus
>
> I'm trying with a simple module. For example GD.
>
> In my gd.c file I've got this (exactly):
>
> #if COMPILE_DL_GD
> ZEND_GET_MODULE(gd)
> #endif
>
> I compile with this:
> gcc -rdynamic -fpic -DCOMPILE_DL=1 -I/opt/php/include/[...]
^^^^^^^^^^
COMPILE_DL_<EXTENSION NAME>
Anyway, you should never need to bother yourself with this.
Set up a config.m4 file and use autoconf, it automatically
takes care of this.
- Markus
--
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
Did I help you? http://guru.josefine.at/wish_en
Konnte ich helfen? http://guru.josefine.at/wish_de
"uhmm.. the dates in the bug db.. aren't they printed a bit wrong, i mean, did
i miss when we changed to 53 days/month ( +2002-02-53) ? =P - N0v3ll
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php