logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

hi !: msg#00134

Subject: hi !
Hi, i'm new to list list....

anyhow, here's my first problem :)

i started created my extension and it works pretty well in C but i wish to use 
C++... so i went on pecl website and followed the tutorial at this url :
http://bugs.tutorbuddy.com/phpcpp/phpcpp/
which is pretty good but i get a linking error :

Warning: dl(): Unable to load dynamic library 
'/usr/lib/php4/20020429/spider.so' - /usr/lib/php4/20020429/spider.so: 
undefined symbol: __gxx_personality_v0 
in /home/pierre/phpsource/php-4.3.9/ext/spider/spider.php on line 3
Functions available in the test extension:<br>


Clearly, it doesn't link with g++ where it should... so, since i'm used to 
makefiles and nothing else, i would know where can i set it to link with g++ 
instead of gcc to fix this problem... can i do it directly in th make file ? 
if so, i might get an incompatibility with eveything else in php at 
linking... any place to set a rule ? 
thanks  :)



<Prev in Thread] Current Thread [Next in Thread>