Hello everybody ! I try to install Varga's Csound-4.24.1 on a Linux Slackware 9.1 ( have made some minor changes to the Makefile.defs) (would like to use Alsa) # make all ..........." "....opcodes/wave-terrain.o opcodes/wavegde.o /usr/local/lib/libfltk.a /usr/ lib/libstdc++.a -L/usr/X11R6/lib -lX11 \ -lasound -ldl -lm ld: libcsound32.so: undefined versioned symbol name _ZSt10time_put_w@@GLIBCPP_3.2 ld: failed to set dynamic section sizes: Bad value make: *** [libcsound32.so] Error 1..." Should be more than glad if somebody could help me, or at least give me a hint. Many thanks in advance Peter My Makefile.defs : # Csound Makefile definitions # edit the following definitions according to need: # ----------------------------------------------------------------------------- # Select the operating system for which Csound is to be built. # The possible choices are win32 and unix. TARGET_OS = unix # ----------------------------------------------------------------------------- # installation directories INSTDIR = /usr/local BINDIR = $(INSTDIR)/bin LIBDIR = $(INSTDIR)/lib INCLDIR = $(INSTDIR)/include SHRDIR = $(INSTDIR)/share MANDIR = $(INSTDIR)/man PLGNDIR = $(INSTDIR)/lib/Csound ifeq ($(strip $(TARGET_OS)),win32) EXESUFFIX = .exe DLLSUFFIX = .dll else EXESUFFIX = DLLSUFFIX = .so endif CSOUND_NAME = csound32$(EXESUFFIX) # ----------------------------------------------------------------------------- # Select one of the following: # static build a Csound executable that uses no shared libraries at all # standalone use dynamic system libraries and libcsound.a # dynamic do not use any static libraries (results in a very small # Csound executable, but is slightly slower) BUILD_TYPE = dynamic ifeq ($(strip $(BUILD_TYPE)),dynamic) ifeq ($(strip $(TARGET_OS)),unix) PIC_FLAG = -fPIC -DPIC else PIC_FLAG = endif INSTALL_LIBS = yes BUILD_UTILS = yes else PIC_FLAG = INSTALL_LIBS = BUILD_UTILS = endif BUILD_PLUGINS = yes # set this to non-empty for compiling and installing plugin opcodes # ----------------------------------------------------------------------------- # select the programs to be used for compiling and linking CC = gcc CXX = g++ LD = gcc AR = ar rc MAKEDLL_L = ld -E -s -shared -O1 MAKEDLL_P = ld -E -s -shared -O1 RANLIB = ranlib # ----------------------------------------------------------------------------- # General defines. These set the type of system for which Csound is compiled, # and select various features to be enabled. DEFINES = -DWINDOWS -DSFIRCAM -DSYS5 -DLINUX -DHAVE_TERMIOS_H \ -DIV_VERSION -DPIPES -DMACROS -DHAVE_FLTK -D_REENTRANT \ -DHAVE_SSTREAM -DHAVE_ALSA -DMYFLT=float # choose any of - # -DSYS5 invoke System V headers, e.g. 'string.h' for 'strings.h' # -DHAVE_SSTREAM include header from C++ sources, instead of # (the latter is deprecated, but required by # old compilers) # -DWINDOWS include window system calls (X11, SGI, or FG graphics) # -DHAVE_FLTK include FLTK widgets (requires FLTK 1.1.x) # -DDOSGCC for PC, if above defined CC = gcc compiler under MSDOS # -DHPUX -D_HPUX_SOURCE for HP compilation under HP Unix # -DPIPES if system supports popen and pclose calls # -DMYFLT=float use 32-bit floats (this is the default) # -DMYFLT=double use 64-bit floats instead of the default 32-bit # -D_REENTRANT should be specified if compiling with FLTK widgets, # plugin opcodes, or as a shared library / DLL # at most one of these to select sound file format for -J option - # -DSFIRCAM read/write IRCAM-format soundfiles, with 1024-byte header; # -DSFSUN41 read/write SUN4.1-format soundfiles, with their own header; # -DNeXT read/write NeXT-format soundfiles, with their own header; # (else read/write sound with no headers) # and at most one of - # -DDEC send rtaudio calls to DEC audio device handler # -DSGI send rtaudio calls to SGI audio device handler # -Dsun send rtaudio calls to sun audio device handler # -Dsol send rtaudio calls to solaris audio handler # -DHP send rtaudio calls to HP audio device handler # -DWIN32 -D_WIN32 -D_WINDOWS # send rtaudio calls to Win32 MME audio device handler # -DLINUX send rtaudio calls to Linux audio device handler # Defining LINUX also enables an additional command-line option (-V ) # and includes an extra header in 'midirecv.c'. # If LINUX is defined, but the target is Linux on a big-endian architecture # (e.g., Linux on SPARC [not tested]), you should also define - # -DLINUX_BE Linux audio device handler for big-endian samples # ----------------------------------------------------------------------------- # Compiler flags for optimization, debugging, warnings, etc. Check the manual # of your compiler for the list of available settings. $(DEFINES) must always # be included. CFLAGS = -pipe -Wall -O2 -march=athlon -ffast-math -fomit-frame-pointer \ -finline-functions -funroll-loops -fno-strict-aliasing \ $(PIC_FLAG) -I/usr/X11R6/include \ -I. -I$(TOPDIR) -I$(TOPDIR)/include -I$(TOPDIR)/opcodes $(DEFINES) # -O Simple optimisation # -DDEC send rtaudio calls to DEC audio device handler # -DSGI send rtaudio calls to SGI audio device handler # -Dsun send rtaudio calls to sun audio device handler # -Dsol send rtaudio calls to solaris audio handler # -DHP send rtaudio calls to HP audio device handler # -DWIN32 -D_WIN32 -D_WINDOWS # send rtaudio calls to Win32 MME audio device handler # -DLINUX send rtaudio calls to Linux audio device handler # Defining LINUX also enables an additional command-line option (-V ) # and includes an extra header in 'midirecv.c'. # If LINUX is defined, but the target is Linux on a big-endian architecture # (e.g., Linux on SPARC [not tested]), you should also define - # -DLINUX_BE Linux audio device handler for big-endian samples # ----------------------------------------------------------------------------- # Compiler flags for optimization, debugging, warnings, etc. Check the manual # of your compiler for the list of available settings. $(DEFINES) must always # be included. CFLAGS = -pipe -Wall -O2 -march=athlon -ffast-math -fomit-frame-pointer \ -finline-functions -funroll-loops -fno-strict-aliasing \ $(PIC_FLAG) -I/usr/X11R6/include \ -I. -I$(TOPDIR) -I$(TOPDIR)/include -I$(TOPDIR)/opcodes $(DEFINES) # -O Simple optimisation # -DDEC send rtaudio calls to DEC audio device handler # -DSGI send rtaudio calls to SGI audio device handler # -Dsun send rtaudio calls to sun audio device handler # -Dsol send rtaudio calls to solaris audio handler # -DHP send rtaudio calls to HP audio device handler # -DWIN32 -D_WIN32 -D_WINDOWS # send rtaudio calls to Win32 MME audio device handler # -DLINUX send rtaudio calls to Linux audio device handler # Defining LINUX also enables an additional command-line option (-V ) # and includes an extra header in 'midirecv.c'. # If LINUX is defined, but the target is Linux on a big-endian architecture # (e.g., Linux on SPARC [not tested]), you should also define - # -DLINUX_BE Linux audio device handler for big-endian samples # ----------------------------------------------------------------------------- # Compiler flags for optimization, debugging, warnings, etc. Check the manual # of your compiler for the list of available settings. $(DEFINES) must always # be included. CFLAGS = -pipe -Wall -O2 -march=athlon -ffast-math -fomit-frame-pointer \ -finline-functions -funroll-loops -fno-strict-aliasing \ $(PIC_FLAG) -I/usr/X11R6/include \ -I. -I$(TOPDIR) -I$(TOPDIR)/include -I$(TOPDIR)/opcodes $(DEFINES) # -O Simple optimisation -O2 to be more specific about the optimization level # -f compile single-precision floats (4.3,VAX,DEC-RISC) # -fsingle as above, for SUN Unix # -float -cckr as above, for SGI Unix # -f68881 employ the 68881 co-processor # -ffpa employ the SUN fl-pt accelerator # -f -DWITHx87 for PC with 80x87 floating-point coprocessor # -w -D__STDC__ for PC # -Aa for HP to invoke ANSI C compiler # +e for HPUX rtaudio compilation # +x generate HP inline 68020 and 68881 code # +Nd1200 expand SYS5 pass3 tablesize # -I/usr/demo/SOUND to find SUN4.1 audio includes # -I/usr/include/X11R4 to find HP X11 includes, v.4 # -I/usr/include/sys to find NeXT malloc.h # -I/usr/openwin/include Solaris openwin interface # -I/usr/demo/SOUND/include Solaris sound interface # -I/usr/X11R6/include Linux X11 includes # $(PIC_FLAG) required # -I. -I$(TOPDIR) -I$(TOPDIR)/include -I$(TOPDIR)/opcodes $(DEFINES) # required # ----------------------------------------------------------------------------- # Additional flags for the C compiler only C_FLAGS = -march=athlon -falign-functions=16 -falign-loops=16 \ -falign-jumps=16 -frename-registers -mfpmath=387 -mno-ieee-fp \ -mno-sse # ----------------------------------------------------------------------------- # C++ compiler flags CXXFLAGS = $(CFLAGS) $(C_FLAGS) -fno-exceptions -fno-rtti \ -fno-unroll-loops `fltk-config --cxxflags` # try adding this if the compilation of # FLTK widgets stops with error messages # related to not finding include files # -fno-exceptions -fno-rtti for smaller object files # ----------------------------------------------------------------------------- # uncomment these if HAVE_FLTK was enabled in DEFINES FLTKSRC = buttonsched.c widgets.cpp FLTKOBJ = buttonsched.o widgets.o # source and object files for FLTK widgets # FLTKLIB = -lfltk -lpthread -lstdc++ # FLTKLIB = `fltk-config --libs` FLTKLIB = /usr/local/lib/libfltk.a \ /usr/lib/libstdc++.a # libraries required by widgets.cpp # -lfltk -lpthread -lstdc++ use dynamic libraries # # `fltk-config --libs` try this if the above fails # # /usr/local/lib/libfltk.a use static libraries (more # /usr/lib/libpthread.a suitable for distribution, # /usr/lib/libstdc++-libc6.2-2.a.3 but increases size; the # directiories and version # numbers are system-dependent) # WARNING: libpthread.a must not be linked if the ALSA library (-lasound) # is used # # -lfltk -lstdc++ -lgdi32 -luser32 -lwsock32 for Win32 # ----------------------------------------------------------------------------- # libraries LIBS = -lm # used for linking all executables MISC_LIB = -ldl # these are used by the main Csound executable only # -lefence for debugging only # -lm required (NOT for Mingw32) # -L$(newlib) for other special access # -l881 tell -lm to use 68881 # -ltcl -ltk for Tcl/Tk if enabled in DEFINES # -ltcl8.3 -ltk8.3 some systems may require specifying # Tcl/Tk version numbers # ----------------------------------------------------------------------------- # select source and object files for window (X11, FLTK, etc.) displays # all files are in sysdep directory WINSRC = sysdep/winX11.c WINOBJ = sysdep/winX11.o # ;if WINDOWS enabled in DEFINES, choose one of - # winX11.o for X11 window graphics # winSGI.o for SGI window graphics # winFLTK.o and FL_graph.o for `improved' X graphics # otherwise leave empty mic libraries # # `fltk-config --libs` try this if the above fails # # /usr/local/lib/libfltk.a use static libraries (more # /usr/lib/libpthread.a suitable for distribution, # /usr/lib/libstdc++-libc6.2-2.a.3 but increases size; the # directiories and version # numbers are system-dependent) # WARNING: libpthread.a must not be linked if the ALSA library (-lasound) # is used # # -lfltk -lstdc++ -lgdi32 -luser32 -lwsock32 for Win32 # ----------------------------------------------------------------------------- # libraries LIBS = -lm # used for linking all executables MISC_LIB = -ldl WINLIBS = -L/uer/X11R6/lib -IX11 # ;window system libraries # -lX11 for X window calls # -L/usr/lib/X11R4 for HP X11 library, v.4 # -lfm_s -lgl_s for SGI graphics library # fgp.lib for PC FlashGraphics lib # -L/usr/X11R6/lib on LINUX # if winFLTK.o and FL_graph.o are used without HAVE_FLTK being enabled, # see also the flags at FLTKLIB # ----------------------------------------------------------------------------- # real-time audio support RTAUDIO_PLUGINS = rtalsa.so # rtlinux.so for Linux (OSS interface) # rtalsa.so for Linux (ALSA interface) # rtwin32.dll Windows 32bit MM library # ----------------------------------------------------------------------------- # libraries and headers for real-time audio AUDLIBS = -lasound # -laudio on SUN, for SFSUN41 # -laudio on SGI, to include rt devaudio library # -lAlib on HP, to include rt devaudio library # -lmidi on NeXT, to find the midi support # -lbsd on old LINUX # -L/usr/demo/SOUND/lib on Solaris 2.4 # -lasound on Linux with ALSA interface (if this # flag is specified, libpthread.a must # not be used) # -lwinmm on Win32 # ----------------------------------------------------------------------------- # Access permissions for main Csound executable. It is recommended to set it # to 4551 under Linux to enable --sched. Other systems should use 0755. #CSOUND_PERM = 0755 CSOUND_PERM = 4551 _______________________________________________ csoundtekno mailing list csoundtekno-N4abDuUB7xo@public.gmane.org Subscribe, unsubscribe, change mailing list options: