Re: building php 4.3.7 with sablot 1.0.1 and gcc 3.3.3

From: Date: Sat, 19 Jun 2004 15:20:28 +0000
Subject: Re: building php 4.3.7 with sablot 1.0.1 and gcc 3.3.3
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188640@lists.php.net to get a copy of this message
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

« previous php.general (#188640) next »