From: Joel W. <jwh...@us...> - 2005-04-22 17:59:16
|
The way to make the glade_xml_signal_autoconnect() function work correctly is to link with "-Wl,-bexpall". Thanks to Dan McNichol of Austin, IBM for the suggestion! Joel Wheeler jwh...@us... aixtoolbox-list-r eq...@li...ur ceforge.net To Sent by: aix...@li...urceforge.n aixtoolbox-list-a et dm...@li...urce cc forge.net Subject aixtoolbox-list digest, Vol 1 #14 - 04/20/2005 11:00 1 msg PM Please respond to aixtoolbox-list Send aixtoolbox-list mailing list submissions to aix...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/aixtoolbox-list or, via email, send a message with subject or body 'help' to aix...@li... You can reach the person managing the list at aix...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of aixtoolbox-list digest..." Today's Topics: 1. Problems with glade_xml_signal_autoconnect() (Joel Wheeler) --__--__-- Message: 1 To: aix...@li... From: Joel Wheeler <jwh...@us...> Date: Wed, 20 Apr 2005 09:36:05 -0400 Subject: [tbox-l] Problems with glade_xml_signal_autoconnect() 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 --__--__-- _______________________________________________ aixtoolbox-list mailing list aix...@li... https://lists.sourceforge.net/lists/listinfo/aixtoolbox-list End of aixtoolbox-list Digest |