[Cs-dev] Recent changes
Date | 2005-05-21 16:02 |
From | jpff@codemist.co.uk |
Subject | [Cs-dev] Recent changes |
..break the build on Linux64 g++ -Wl,-Bdynamic -shared -o libwidgets.so InOut/widgets.os -L. -L. -L/usr/local/lib64 -L. -L. -L/usr/local/lib/python2.3/config -lsndfile -lfltk -lstdc++ -lpthread -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libfltk.a(Fl.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib64/libfltk.a: could not read symbols: Bad value collect2: ld returned 1 exit status scons: *** [libwidgets.so] Error 1 scons: building terminated because of errors. It seems as if fltk does not build shared libraries even if they are requested. (fltk 1.1.6) I have to build my own fltk as the one supplied with the OS does not have threads. Any advice/suggestions? ==John ffitch ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-05-21 16:22 |
From | Istvan Varga |
Subject | Re: [Cs-dev] Recent changes |
jpff@codemist.co.uk wrote: > It seems as if fltk does not build shared libraries even if they are > requested. (fltk 1.1.6) I have to build my own fltk as the one > supplied with the OS does not have threads. > > Any advice/suggestions? As suggested by the message, try recompiling FLTK with -fPIC added to CFLAGS/CXXFLAGS. ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-05-21 17:20 |
From | jpff@codemist.co.uk |
Subject | Re: [Cs-dev] Recent changes |
Actually it was insufficient to just add the -fPIC as it also needed major surgery to the Makefile to avoid assumptions of 32 bit directory structure ==John ffitch ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |