Re: Re: modules in c++

From: Date: Wed, 05 Mar 2003 21:40:24 +0000
Subject: Re: Re: modules in c++
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-94814@lists.php.net to get a copy of this message
Looks like you need to link to the standard C++ library. Try putting this in your config.m4 file: PHP_ADD_LIBRARY(stdc++) And run phpize, configure and make again. That should make gcc link with stdc++. J Michel M. Dos Santos wrote: > > > J, > > First, thanks by your article. My original e first problem is : > > PHP Warning: Unable to load dynamic library > '/usr/lib/php4/20010901/biac.so' - /usr/lib/php4/20010901/biac.so: > undefined symbol: endl__FR7ostream in Unknown on line 0 > > The use of cout (in this case) result it. I try with std::cout or using > namespace std but not resolve. Linking with g++ the error dont occur. > > What is wrong ? > > Thanks a lot, > > Michel M. dos Santos > > >

« previous php.dev (#94814) next »