This problem is usually caused by older version of gcc.
You have to force linker to add libgcc while compiling PHP extension.
HTH
Pavel
Franklin Kingma wrote:
> Hi,
>
> I tried to compile php4.0.3pl1 with sablot on my FreeBSD3.4-Stable
> machine... I followed all instructions I could find,
> sablot-0.44 & expat-1.1.2 seemed to build fine and after some adjustments to
> 'ext/sablot/config.m4' (and buildconf) in the phptree I was able to
> configure/make and make install...
>
> But when I tried to start apache it came back with this error:
>
> Syntax error on line 224 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server:
> /usr/local/lib/libsablot.so.44: Undefined symbol "__builtin_vec_new"
>
> Any clue?
>
> franklin
--
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic