Re: [PHP-DEV] php modules and C++ From: Andi Gutmans (andi <email protected>)
Date: 02/24/00

You need to extern "C" the symbols PHP interacts with.

Andi

At 10:21 PM 2/24/00 +0100, Fabien Seisen wrote:
>Hi,
>
>Is it possible to create a php3 module compiled with g++ ?
>When i try, when i use dl("my_module_compiled_cpp.so");
>Php says there is some unresolved things ...
>
>Any clue ?
>PS: must i use g++ instead of gcc when i compile php3 ?
>--
>Fabien Seisen seisen <email protected> http://perso.linuxfr.org/seisen dakol <email protected>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>