Csound Csound-dev Csound-tekno Search About

[Cs-dev] Failure to build

Date2009-07-21 14:55
Fromjpff@codemist.co.uk
Subject[Cs-dev] Failure to build
Just did a checkout and fixed a bug in seed but I cannot build

g++ -o Opcodes/stk/src/ADSR.os -c -fexceptions -fno-strict-aliasing -fno-strict-aliasing -Wno-format -O3 -mtune=k8 -ftree-vectorize -ffast-math -DGNU_GETTEXT -g -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fno-strict-aliasing -D__OS_LINUX__ -D__LINUX_ALSA__ -D__STK_REALTIME__ -D__LITTLE_ENDIAN__ -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -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/home/jpff/Sourceforge/include -I. -IH -I/usr/lib/jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include Opcodes/stk/src/ADSR.cpp
In file included from Opcodes/stk/include/Generator.h:15,
                 from Opcodes/stk/include/Envelope.h:19,
                 from Opcodes/stk/include/ADSR.h:21,
                 from Opcodes/stk/src/ADSR.cpp:18:
Opcodes/stk/include/Stk.h:352:1: warning: "__OS_LINUX__" redefined
: warning: this is the location of the previous definition
Opcodes/stk/include/Stk.h:353:1: warning: "__STK_REALTIME__" redefined
: warning: this is the location of the previous definition

and thsi repeats many times in stk code

and then it fails with

g++ -o Opcodes/stk/src/Messager.os -c -fexceptions -fno-strict-aliasing -fno-strict-aliasing -Wno-format -O3 -mtune=k8 -ftree-vectorize -ffast-math -DGNU_GETTEXT -g -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fno-strict-aliasing -D__OS_LINUX__ -D__LINUX_ALSA__ -D__STK_REALTIME__ -D__LITTLE_ENDIAN__ -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -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/home/jpff/Sourceforge/include -I. -IH -I/usr/lib/jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include Opcodes/stk/src/Messager.cpp
In file included from Opcodes/stk/include/Messager.h:38,
                 from Opcodes/stk/src/Messager.cpp:35:
Opcodes/stk/include/Stk.h:352:1: warning: "__OS_LINUX__" redefined
: warning: this is the location of the previous definition
Opcodes/stk/include/Stk.h:353:1: warning: "__STK_REALTIME__" redefined
: warning: this is the location of the previous definition
Opcodes/stk/src/Messager.cpp: In function ‘void* socketHandler(void*)’:
Opcodes/stk/src/Messager.cpp:334: error: ‘sort’ is not a member of ‘std’
scons: *** [Opcodes/stk/src/Messager.os] Error 1
scons: building terminated because of errors.

What changed?

==John ff

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-de

Date2009-07-21 16:16
FromMichael Gogins
SubjectRe: [Cs-dev] Failure to build
STK version incremented. Try with latest STK sources. If you don't
want to, diff with earlier SConstruct and STKOpcodes.cpp and #ifdef
the changes I made.

Regards,
Mike

On 7/21/09, jpff@codemist.co.uk  wrote:
> Just did a checkout and fixed a bug in seed but I cannot build
>
> g++ -o Opcodes/stk/src/ADSR.os -c -fexceptions -fno-strict-aliasing
> -fno-strict-aliasing -Wno-format -O3 -mtune=k8 -ftree-vectorize -ffast-math
> -DGNU_GETTEXT -g -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES
> -fno-strict-aliasing -D__OS_LINUX__ -D__LINUX_ALSA__ -D__STK_REALTIME__
> -D__LITTLE_ENDIAN__ -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA
> -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/home/jpff/Sourceforge/include -I. -IH -I/usr/lib/jvm/java-1.5.0/include
> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include -I/usr/include
> -I/usr/include -I/usr/X11R6/include Opcodes/stk/src/ADSR.cpp
> In file included from Opcodes/stk/include/Generator.h:15,
>                  from Opcodes/stk/include/Envelope.h:19,
>                  from Opcodes/stk/include/ADSR.h:21,
>                  from Opcodes/stk/src/ADSR.cpp:18:
> Opcodes/stk/include/Stk.h:352:1: warning: "__OS_LINUX__" redefined
> : warning: this is the location of the previous definition
> Opcodes/stk/include/Stk.h:353:1: warning: "__STK_REALTIME__" redefined
> : warning: this is the location of the previous definition
>
> and thsi repeats many times in stk code
>
> and then it fails with
>
> g++ -o Opcodes/stk/src/Messager.os -c -fexceptions -fno-strict-aliasing
> -fno-strict-aliasing -Wno-format -O3 -mtune=k8 -ftree-vectorize -ffast-math
> -DGNU_GETTEXT -g -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES
> -fno-strict-aliasing -D__OS_LINUX__ -D__LINUX_ALSA__ -D__STK_REALTIME__
> -D__LITTLE_ENDIAN__ -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA
> -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/home/jpff/Sourceforge/include -I. -IH -I/usr/lib/jvm/java-1.5.0/include
> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include -I/usr/include
> -I/usr/include -I/usr/X11R6/include Opcodes/stk/src/Messager.cpp
> In file included from Opcodes/stk/include/Messager.h:38,
>                  from Opcodes/stk/src/Messager.cpp:35:
> Opcodes/stk/include/Stk.h:352:1: warning: "__OS_LINUX__" redefined
> : warning: this is the location of the previous definition
> Opcodes/stk/include/Stk.h:353:1: warning: "__STK_REALTIME__" redefined
> : warning: this is the location of the previous definition
> Opcodes/stk/src/Messager.cpp: In function ‘void* socketHandler(void*)’:
> Opcodes/stk/src/Messager.cpp:334: error: ‘sort’ is not a member of ‘std’
> scons: *** [Opcodes/stk/src/Messager.os] Error 1
> scons: building terminated because of errors.
>
> What changed?
>
> ==John ff
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-07-21 16:37
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Failure to build
Where are the "latest STK sources"?  I have never changed them
==John ff

> STK version incremented. Try with latest STK sources. If you don't
> want to, diff with earlier SConstruct and STKOpcodes.cpp and #ifdef
> the changes I made.
>
> Regards,
> Mike




------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-07-21 16:55
FromMichael Gogins
SubjectRe: [Cs-dev] Failure to build
The STK download page at:

http://ccrma.stanford.edu/software/stk/download.html

Regards,
Mike

On 7/21/09, jpff@cs.bath.ac.uk  wrote:
> Where are the "latest STK sources"?  I have never changed them
> ==John ff
>
>> STK version incremented. Try with latest STK sources. If you don't
>> want to, diff with earlier SConstruct and STKOpcodes.cpp and #ifdef
>> the changes I made.
>>
>> Regards,
>> Mike
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net