[Cs-dev] relocation error w. Varga Csound, redux
Date | 2005-01-29 14:42 |
From | Dave Phillips |
Subject | [Cs-dev] relocation error w. Varga Csound, redux |
Greetings: Istvan, I've built your 4.24.1 sources on a Planet CCRMA RH 9 system, GCC 3.2.2. The build process completes without complaint, but when I try to run the binary I receive this error: relocation error: /usr/local/lib/libcsound32.so: undefined symbol: __dso_handle I'm currently trying different versions of libstdc++ but so far either the build fails with other errors or I complete the build and receive the relocation error when I run the binary. I built with static libs (FLTK and stdc++) and receive this error at the link stage: ld: libcsound32.so: undefined versioned symbol name _ZSt10time_put_w@@GLIBCPP_3.2 ld: failed to set dynamic section sizes: Bad value As I mentioned yesterday, my build of CVS sources also fails now. Best, dp ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-01-29 15:39 |
From | Istvan Varga |
Subject | Re: [Cs-dev] relocation error w. Varga Csound, redux |
I was able to fix the 4.24.1 build problem by using these settings in Makefile.defs (the important change seems to be replacing ld in the MAKEDLL defines): CC = gcc CXX = g++ LD = g++ AR = ar rc MAKEDLL_L = g++ -shared -O2 MAKEDLL_P = g++ -shared -O2 RANLIB = ranlib FLTKLIB = -L/usr/X11R6/lib -lfltk -lstdc++ However, these two lines should be added to plugins/rtaudio/rtalsa.c before the includes, to fix compatibility problems between ALSA 0.9 and 1.0: #define ALSA_PCM_OLD_HW_PARAMS_API 1 #define ALSA_PCM_OLD_SW_PARAMS_API 1 I cannot comment on the CVS build though, as I did not get the scons/python error messages you reported. On the other hand, while Csound5 compiles fine for me, it has many annoying bugs that need to be fixed. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |