| 06.09.2010 23:25, Michael Gogins kirjoitti:
> Your STK is out of date, update to 4.4.2, that should fix it, the
> Csound code was updated for 4.4.2.
>
> Regards,
> Mike
>
Okay, thanks!!! I'll try 4.4.2 tomorrow, need to get some sleep now (It's almost
midnight here, up at 6 o'clock in the morning :) )
JR
> On Mon, Sep 6, 2010 at 3:56 PM, Jouni Rinne wrote:
>> Hi!
>>
>> 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
>>
>> Yours
>>
>> Jouni Rinne
>> Tampere, Finland
>>
>> --
>> | me@home ~$whoami ^ ^ | "Trust me, I know what I'm doing!" |
>> | Jouni 'Mad Max' Rinne ('x') | - Sledge Hammer |
>> | me@home ~$man woman C " " | -------[ph34r t3h p3Ngu1n]-------- |
>> | Segmentation fault (core dumped) | :: Last.fm user ID: l33tmmx :: |
>>
>> ------------------------------------------------------------------------------
>> 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-devel
>>
>
>
>
--
| me@home ~$whoami ^ ^ | "Trust me, I know what I'm doing!" |
| Jouni 'Mad Max' Rinne ('x') | - Sledge Hammer |
| me@home ~$man woman C " " | -------[ph34r t3h p3Ngu1n]-------- |
| Segmentation fault (core dumped) | :: Last.fm user ID: l33tmmx :: |
------------------------------------------------------------------------------
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 |