Per Jessen wrote:

> I'm trying to build php 4.3.7 with sablot 1.0.1 and expat 1.95.7 - I'm using
> gcc3.3.3.
> sablot and expat built fine, but when I build/link php:
> /usr/lib/libsablot.so: undefined reference to `operator new[](unsigned)'
[snip]

After some research, I can answer my own question - I did try out gcc3.3.2 and
gcc 3.3.4 before I found the following:

http://archive.gingerall.cz/archives/public/sablot2002/msg00517.html

>I have been having the same Sablotron/gcc3/etc.. linking problem and solved the
>issue by adding a compiler instruction/reference to the standard C++
>libraries/symbols by adding the following LDFLAGS option to my Apache
>configure statement:
> 
>LDFLAGS='-lstdc++'

Might it not be a Good Thing to add this and/or an explanation to the build
instructions (unless it's already there, in which case it would be a Good Thing
for me to read them).


/Per Jessen, Zurich

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to