[sword-devel] Problem compiling sword-1.5.9 on Fedora Core 5

Karl Kleinpaste karl at charcoal.com
Sun Oct 1 18:55:33 MST 2006

"Deji Akingunola" <dakingun at gmail.com> writes:
> On a side note, I've taken over maintaining sword and gnomesword in
> Fedora extras from Micheal Peters. I hope to get sword-1.5.9 in the
> repository as soon as I'm done testing it with current gnomesword

There has been difficulty with recent (i.e. SVN) GS in FC5 due to the
failure of any of the dialogs (prefs, installer, search) to work, in
turn because g_module_symbol() seems not to be returning valid
responses for anything.  If you find a way to make this work, a note
to gnomesword-developers about how you fixed it would be much

The problem appears to be with g_module_symbol() itself.  Test case:

#include <gtk/gtk.h>

    return 1;

main(int c, char **v)
    gpointer handler;
    int retval;
    GModule *self = g_module_open(NULL, 0);
    printf("self = 0x%x\n", self);
    retval = g_module_symbol(self, "main", &handler);
    printf("retval %d, main = 0x%x\n", retval, handler);
    retval = g_module_symbol(self, "foo", &handler);
    printf("retval %d, foo = 0x%x\n", retval, handler);

$ gcc `pkg-config --cflags --libs libglade-2.0` test.c
$ ./a.out
self = 0x96c6e60
retval 0, main = 0x0
retval 0, foo = 0x0

...bleakness, desolation, plastic forks...

More information about the sword-devel mailing list