On Wed, 3 Jul 2002, Rafa Rodriguez Hernandez wrote: > >#if COMPILE_DL_GD >ZEND_GET_MODULE(gd) >#endif > >I compile with this: >gcc -rdynamic -fpic -DCOMPILE_DL=1 -I/opt/php/include/php/main/ >-I/opt/php/include/php/TSRM/ -I/opt/php/include/php/Zend/ -I/opt/php/include/php/ -c >gd.c
You need to define it -DCOMPILE_DL_GD or it won't work. Aren't you aware of the 'phpize' tool? Just 'cd ext/gd ; phpize ; ./configure ; make' (this works if you have installed PHP before and not disabled pear) --Jani -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php