Re: php modules and C++
| From: | Andi Gutmans | Date: | Thu, 24 Feb 2000 21:40:55 +0000 |
| Subject: | Re: php modules and C++ | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-15958@lists.php.net to get a copy of this message | ||
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@linuxfr.org http://perso.linuxfr.org/seisen dakol@IRCNET -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net--- Andi Gutmans <andi@zend.com> http://www.zend.com/