dlopen error with newly introduced (but still unused) c++ class
Geert Janssens
geert.gnucash at kobaltwit.be
Sat Jan 30 09:04:30 EST 2016
Hi,
I'm adding c++ code to the csv-importer. Various classes have been defined so far,
though they aren't really in use yet. They are compiled and linked into the csv-import
shared lib.
When running gnucash in this setup, I get this warning:
WARN <gnc.module> Failed to dlopen()
'/home/janssege/Lokaal/installs/gnucash/master/lib/gnucash/libgncmo
And the csv import functionality is skipped.
I understand this has to do with dlopen not understanding c++ name mangling, but don't
know how to avoid it.
The classes I have introduced so far don't need to be exposed to the rest of gnucash. They
are intended for internal use in the csv importer only.
How can I shield them from dlopen, or otherwise put, mark them as not exportable ?
Thanks,
Geert
More information about the gnucash-devel
mailing list