dlopen error with newly introduced (but still unused) c++ class
Geert Janssens
geert.gnucash at kobaltwit.be
Sat Jan 30 09:20:59 EST 2016
The module compiles and links just fine. Wouldn't I get link failures when I had
undefined symbols ?
Geert
On Saturday 30 January 2016 09:09:54 Derek Atkins wrote:
> Did you check you don't have undefined symbols in the module?
>
> -derek
>
> Sent on my mobile. Please forgive any typos.
>
> ----- Reply message -----
> From: "Geert Janssens" <geert.gnucash at kobaltwit.be>
> To: <gnucash-devel at gnucash.org>
> Subject: dlopen error with newly introduced (but still unused) c++
> class Date: Sat, Jan 30, 2016 9:04 AM
>
> 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
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
More information about the gnucash-devel
mailing list