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
> 
> 
> 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to