DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L1715
Version: 1.1-current
Tested on: Mandriva 2006, Mandriva 2007, Ubuntu 6.10.
fltk-1.1.x r5917 (latest snapshot) cannot be compiled with option
--enable-shared (but without --enable-threads). The following message is
produced:
Linking fluid-shared...
../src/libfltk.so: undefined reference to 'Fl::awake(void*)'
collect2: ld return 1 exit status
make[1]: *** [fluid-shared] Error 1
make: *** [all] Error 1
In addition the command ldd -r src/libfltk.so.1.1 produce the following:
undefined symbol: _ZN2Fl5awakeEPv (./libfltk.so.1.1)
linux-gate.so.1 => (0xffffe000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f00000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7ef2000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7e26000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7d4a000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7d25000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d19000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7beb000)
/lib/ld-linux.so.2 (0x80000000)
I fixed this bug by simply declaring a blank function Fl::awake(void*) in
the #else section of Fl_lock.cxx (that is without threading). Patch is
attached.
Link: http://www.fltk.org/str.php?L1715
Version: 1.1-currentIndex: Fl_lock.cxx
===================================================================
--- Fl_lock.cxx (revision 5917)
+++ Fl_lock.cxx (working copy)
@@ -348,6 +348,10 @@
void lock_ring() {
}
+void Fl::awake(void* msg) {
+}
+
+
#endif // WIN32
//
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs