| Bugs item #3060609, was opened at 2010-09-06 22:46
Message generated for change (Tracker Item Submitted) made by l33tmmx
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3060609&group_id=81968
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jouni Rinne (l33tmmx)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error in stkOpcodes.cpp
Initial Comment:
I'm trying to build stk opcodes (stk-4.3.1 sources) with csound-5.12.1, but the build fails with the following error:
x86_64-pc-linux-gnu-g++ -o Opcodes/stk/stkOpcodes.os -c -fexceptions -O2 -march=nocona -pipe -fno-strict-aliasing -Wno-format -DGNU_GETTEXT -O2 -march=nocona -pipe -fno-strict-aliasing -g -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -D__OS_LINUX__ -D__LINUX_ALSA__ -D__STK_REALTIME__ -D__LITTLE_ENDIAN__ -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -IOpcodes/stk/include -IOpcodes/stk/src -I. -I/var/tmp/portage/media-sound/csound-5.12.1-r3/work/include -I. -IH -I/usr/include/fltk-1.1 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include Opcodes/stk/stkOpcodes.cpp
In file included from Opcodes/stk/stkOpcodes.cpp:51:
Opcodes/stk/include/Stk.h:406:1: warning: "__OS_LINUX__" redefined
: warning: this is the location of the previous definition
Opcodes/stk/include/Stk.h:407:1: warning: "__STK_REALTIME__" redefined
: warning: this is the location of the previous definition
Opcodes/stk/stkOpcodes.cpp:81: error: βstkβ is not a namespace-name
Opcodes/stk/stkOpcodes.cpp:81: error: expected namespace-name before β;β token
scons: *** [Opcodes/stk/stkOpcodes.os] Error 1
scons: building terminated because of errors.
I have a hunch that this has something to do with modern toolchains... I'm building this on Gentoo Linux, with gcc-4.4.4, glibc-2.12.1 and scons-2.0.1. Ultimately, I'm trying to make a Gentoo ebuild of csound; Most of the other options are working, but stk support gives me real headaches... I'm not competent enough to fix this myself, so I *really* wish somebody else could tell me how stcOpcodes.cpp should be patched to allow it to compile
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3060609&group_id=81968
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound- |