Re: hi ! [ fixed]

From: Date: Wed, 27 Oct 2004 22:44:57 +0000
Subject: Re: hi ! [ fixed]
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1550@lists.php.net to get a copy of this message
Sorry, fixed it myself....... thanks :) On Thursday 28 October 2004 00:19, Pierre Ancelot wrote: > Okay, after trying to have set GXX for the linking instad of CC i get this: > > libtool: unrecognized option `-DPHP_ATOM_INC' > > and if i set CC back i of course get undefined symbol: __gxx_personality_v0 > > So unless someone helps me i'm stuck.... can't they simply use a makefile ? > > On Wednesday 27 October 2004 23:34, Pierre Ancelot wrote: > > 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 : ë·ê§<:13w > > > > U.thttp://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 (#1550) next »