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