Hi
When building SciTE on the Open Build Service against the latest GNOME Factory, I get the following error;
===================================================================================
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: ../../scintilla/bin/scintilla.a(PlatGTK.o): undefined reference to symbol 'g_module_close'
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'g_module_close' is defined in DSO /usr/lib64/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib64/libgmodule-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [../bin/SciTE] Error 1
make: Leaving directory `/home/abuild/rpmbuild/BUILD/scite-gtk3-3.02/scite/gtk'
===================================================================================
This is due to recent changes upstream and have attached a patch to fix the issue.
scite-fix-missing-gmodule-reference.patch
Any reason for gmodule-2.0 instead of gmodule-no-export-2.0? Including -Wl,--export-dynamic exposes all the symbols in the application. There have previously been issues with exposing symbols from SciTE.
Hi
I was unaware of this, and have changed to the no export version as we don't need the export-dynamic flag. Do you want me to provide an updated patch?
Its OK. Committed as http://scintilla.hg.sourceforge.net/hgweb/scintilla/scite/rev/6002e42fc41a