Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] linux build errors

Date2005-08-11 19:36
FromMichael Gogins
SubjectRe: [Cs-dev] linux build errors
As I thought, this means that you must compile FLTK from source with ./configure --enable-threads --enable-shared (thanks to Istvan for the --enable-thread reminder).

Regards,
Mike

-----Original Message-----
From: Ken 
Sent: Aug 11, 2005 2:12 PM
To: csound-list 
Subject: Re: [Cs-dev] linux build errors

Sorry forgot to attach the errors.  Thanks everyone for responding by
the way:

By the way, I downgraded my fltk, and it built fine.  I'm sure its the
thread shared stuff.  I'll stay put with what works right now!

Ken




TA -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include -
I/usr/include -I/usr/X11R6/include -I/usr/X11R6/include -
I/usr/X11R6/include -c -o frontends/csound/csound_main.o
frontends/csound/csound_main.c
ar r libcsound.a Engine/auxfd.o Engine/cfgvar.o Engine/entry1.o
Engine/entry2.o Engine/envvar.o Engine/express.o Engine/extract.o
Engine/fgens.o Engine/insert.o Engine/linevent.o Engine/memalloc.o
Engine/memfiles.o Engine/musmon.o Engine/namedins.o Engine/oload.o
Engine/otran.o Engine/rdorch.o Engine/rdscor.o Engine/scsort.o
Engine/scxtract.o Engine/sort.o Engine/sread.o Engine/swrite.o
Engine/twarp.o InOut/libsnd.o InOut/libsnd_u.o InOut/midifile.o
InOut/midirecv.o InOut/midisend.o InOut/winascii.o InOut/windin.o
InOut/window.o InOut/winEPS.o OOps/aops.o OOps/cmath.o OOps/control.o
OOps/diskin.o OOps/diskin2.o OOps/disprep.o OOps/dsputil.o OOps/dumpf.o
OOps/fftlib.o OOps/goto_ops.o OOps/midiinterop.o OOps/midiops.o
OOps/midiout.o OOps/mxfft.o OOps/oscils.o OOps/pstream.o OOps/pvadd.o
OOps/pvfileio.o OOps/pvinterp.o OOps/pvocext.o OOps/pvread.o
OOps/pvsanal.o OOps/schedule.o OOps/sdif.o OOps/sdif-mem.o
OOps/sndinfUG.o OOps/str_ops.o OOps/ugens1.o OOps/ugens2.o OOps/ugens3.o
OOps/ugens4.o OOps/ugens5.o OOps/ugens6.o OOps/ugens8.o OOps/ugrw1.o
OOps/ugrw2.o OOps/vbap.o OOps/vbap_eight.o OOps/vbap_four.o
OOps/vbap_sixteen.o OOps/vbap_zak.o OOps/vdelay.o OOps/vpvoc.o
Top/argdecode.o Top/cscore_internal.o Top/cscorfns.o Top/csmodule.o
Top/csound.o Top/dl_opcodes.o Top/getstring.o Top/main.o Top/natben.o
Top/new_opts.o Top/one_file.o Top/opcode.o Top/scot.o Top/threads.o
Top/utility.o InOut/FL_graph.o InOut/winFLTK.o
ranlib libcsound.a
ar: creating libcsound.a
gcc -Wl,-Bdynamic -o csound frontends/csound/csound_main.o -L. -L. -
L/usr/local/lib -L. -L. -L/usr/local/include -L/usr/X11R6/lib -lcsound -
lsndfile -lfltk -lm -lXext -lX11 -lsupc++ -ldl -lpthread -lfltk -lstdc++
-lpthread -lm
./libcsound.a(one_file.o)(.text+0xb): In function `mytmpnam':
Top/one_file.c:72: warning: the use of `tmpnam' is dangerous, better use
`mkstemp'
./libcsound.a(FL_graph.o)(.text+0x77e): In function
`defaultCsoundYield':
InOut/FL_graph.cpp:60: undefined reference to `Fl::unlock()'
./libcsound.a(FL_graph.o)(.text+0x785):InOut/FL_graph.cpp:53: undefined
reference to `Fl::lock()'
./libcsound.a(FL_graph.o)(.text+0x809): In function `myFLwait':
InOut/FL_graph.cpp:326: undefined reference to `Fl::lock()'
./libcsound.a(FL_graph.o)(.text+0x81f):InOut/FL_graph.cpp:328: undefined
reference to `Fl::unlock()'
./libcsound.a(FL_graph.o)(.text+0x973): In function `ReadXYin_':
InOut/FL_graph.cpp:366: undefined reference to `Fl::lock()'
./libcsound.a(FL_graph.o)(.text+0x98c):InOut/FL_graph.cpp:368: undefined
reference to `Fl::unlock()'
collect2: ld returned 1 exit status
scons: *** [csound] Error 1
scons: building terminated because of errors.
[nunativs@localhost csound5]$ 


On Thu, 2005-08-11 at 13:29 -0400, Michael Gogins wrote: 
> Did you build it with --enable-threads? What are your build errors?
> 
> Regards,
> Mike
> 
> -----Original Message-----
> From: Ken 
> Sent: Aug 11, 2005 12:21 PM
> To: csound-list 
> Subject: [Cs-dev] linux build errors
> 
> i'm getting new build errors on Fedora Core 3 linux.  I think its FLTK,
> which i recently upgraded(?).  Is there a version requirement for FLTK?
> I have version: 1.1.6-1.1.fc3.rf
> 
> Thnks,
> Ken
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net