From: Joel W. <jwh...@us...> - 2005-04-20 13:36:19
|
Hi, I'm trying to use the glade_xml_signal_autoconnect() function that comes with libglade to automatically join signals listed in a glade-2 generated XML file back to their appropriate signal handling callback functions. It does this by looking up these symbols in the parent binary file's symbol table. I put together a small code example and it runs and compiles fine on Linux, but fails to match up any signals with the callback functions on AIX. I've seen online in a few places that I need to use the --export-dynamic flag, but gcc complains that this is an invalid flag during both compiling and/or linking. Some places say that extern "C" is needed, but since I'm using the gcc (C) compiler, and not g++ (C++), this should not be necessary (and the compiler wont compile it anyway). I've posted a bug at http://sourceforge.net/tracker/index.php?func=detail&aid=1186038&group_id=128955&atid=712808. It has compiler flags and sample source listed. But I know that AIX can be picky when it comes to sharing or exporting symbols. Has anyone out there gotten this to work? Maybe there is something extra that I need to do to make this work that I'm currently overlooking? Thanks, Joel Wheeler |