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" <[email protected]>
To: <[email protected]>
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
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to