Hi!,
> Linking with -lgcc solved my problem (my symbol was __builtin_vec_new).
> Strange enough, my version of libsablot.so doesn't require _any_ rtti
> symbol.
Pavel's suggestion worked perfectly on both FreeBSD 3.4 and 4.1.1.
The exact steps are:
cd XML-Sablotron-0.44
ee Makefile.PL
locate the line reading
LIBS => [$libpth -lsablot -lxmlparse -lxmltok]
and change it to
LIBS => [$libpth -lsablot -lxmlparse -lxmltok -lgcc]
perl Makefile.PL -d/usr/local
gmake
gmake test
gmake install
The rtti symbols happen only on the FreeBSD 4.1.1 version I have. Note
that trying to turn off rtti (with -fno-rtti added to gcc options) lead
to different undefined symbols (in my case __get_eh_context).
Thanks for the help!!!,
-- Andre