I need to work with a library, call it libfoo.a that consists of mixed
C and C++ (the parts I need to use are all in C).  I load
libstdc++.so, no problem.  Then I try to load libfoo.a, and I get an
error that the symbol "__dso_handle" is undefined (if I don't load
libstdc++.so first, I get an error that _ZNSt8ios_base4InitC1Ev is
undefined).  I'm not sure what to do.  I don't have a good feel for
what __dso_handle really is, although I know it has something to do
with C vs. C++ issues and that errors of this sort often indicate some
sort of versoin skew problem.  On my (debian) system, __dso_handle is
defined in each of the three files

/usr/lib/gcc-lib/i486-linux/3.3.5/[crtbegin|crtbeginS|crtbeginT].o

but loading any/all of these files into CMUCL doesn't seem to help.

Any ideas?

rif


Reply via email to