| You need to reconfigure FLTK to enable threads as explained on page 3 of
csound.pdf, and rebuild FLTK. This is required to enable the FLTK widgets
to work.
Original Message:
-----------------
From: jpff@cs.bath.ac.uk
Date: Tue, 11 May 2004 16:54:42 +0100
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:4671] Moving forward
And now we have..... (used to work!)
gcc -o cscore util1/cscore/cscore_main.o -L. -L. -L. -L/usr/lib
-L/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lcsound -lsndfile
-lfltk -ldl -lm -lXext -lX11 -lportaudio -lasound -lfltk -lstdc++ -lpthread
-lm -ldl
./libcsound.a(main.o): In function `csoundCompile':
/bigdisk/jpff/Sourceforge/csound5/Top/main.c:423: the use of `tmpnam' is
dangerous, better use `mkstemp'
./libcsound.a(FL_graph.o): In function `POLL_EVENTS':
/bigdisk/jpff/Sourceforge/csound5/InOut/FL_graph.cpp:284: undefined
reference to `Fl::lock(void)'
/bigdisk/jpff/Sourceforge/csound5/InOut/FL_graph.cpp:286: undefined
reference to `Fl::unlock(void)'
./libcsound.a(FL_graph.o): In function `myFLwait':
/bigdisk/jpff/Sourceforge/csound5/InOut/FL_graph.cpp:309: undefined
reference to `Fl::lock(void)'
/bigdisk/jpff/Sourceforge/csound5/InOut/FL_graph.cpp:311: undefined
reference to `Fl::unlock(void)'
./libcsound.a(FL_graph.o): In function `ReadXYin_':
/bigdisk/jpff/Sourceforge/csound5/InOut/FL_graph.cpp:349: undefined
reference to `Fl::lock(void)'
/bigdisk/jpff/Sourceforge/csound5/InOut/FL_graph.cpp:351: undefined
reference to `Fl::unlock(void)'
./libcsound.a(widgets.o): In function `fltkRun(void *)':
/bigdisk/jpff/Sourceforge/csound5/InOut/widgets.cpp:1727: undefined
reference to `Fl::lock(void)'
/bigdisk/jpff/Sourceforge/csound5/InOut/widgets.cpp:1729: undefined
reference to `Fl::unlock(void)'
./libcsound.a(widgets.o): In function `fltkKeybRun(void *)':
/bigdisk/jpff/Sourceforge/csound5/InOut/widgets.cpp:1752: undefined
reference to `Fl::lock(void)'
/bigdisk/jpff/Sourceforge/csound5/InOut/widgets.cpp:1759: undefined
reference to `Fl::unlock(void)'
collect2: ld returned 1 exit status
==John ffitch
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ . |