Re: hi !

From: Date: Wed, 27 Oct 2004 21:34:22 +0000
Subject: Re: hi !
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1548@lists.php.net to get a copy of this message
Hi, thanks for answering so fast, well, it has it already :/ On Wednesday 27 October 2004 23:23, Swithun Crowe wrote: > Hello > I had that problem, but then Jay Smith updated his tutorial, so that the > m4 config file for your extension has this line: > > PHP_ADD_LIBRARY(stdc++, 1, PHP5CPP_SHARED_LIBADD) > > you can find it all on: > http://bugs.tutorbuddy.com/php5cpp/php5cpp/config_m4.html > > Hope this solves your problem. > > Swithun. > > On Wed, 27 Oct 2004, Pierre Ancelot wrote: > > 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 :) > > > > -- > > PECL development discussion Mailing List (http://pecl.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pecl.dev (#1548) next »