On Mon, Sep 04, 2000 at 11:16:17PM -0500, Michael Owens wrote:
[...]
> -Wl,export-dynamic, but still have not seemed to resolve the problem: when the
> program calls dlopen to load the library, it returns
> 
> ./libcircle.so: Undefined symbol "__pure_virtual"

It seems that this is a libgcc issue. When linking `testdcl', the
linker does not add unneeded symbols from libgcc. Symbols from
libgcc needed in libcircle.so or libsquare.so, but unneeded in
testdcl won't get resolved.

Try linking libgcc to libcircle.so and libsquare.so. Look after
how g++ invokes the linker (g++ -v), you may have to call the
linker by yourself. This is a dirty hack. The proper solution
is to convert libgcc into a shared library. This work is already
under way.

  Bj�rn

-- 
-----BEGIN GEEK CODE BLOCK-----
GCS d--(+) s++: a- C+++(-) UB++++OSI++++$ P+++(-) L---(++) !E W- N+ o>+
K- !w !O !M !V  PS++  PE-  PGP++  t+++  !5 X++ tv- b+++ D++ G e+ h-- y+ 
------END GEEK CODE BLOCK------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to