Csound Csound-dev Csound-tekno Search About

[Csnd] build errors

Date2009-04-10 07:54
Fromkelly hirai
Subject[Csnd] build errors
using a fairly up to date gentoo x86 distro, i'm getting the following 
build error in cvs and 5.10.1.tar.gz

scons  includeWii=1
.
.
.
In file included from OOps/remote.c:31:
/usr/include/linux/if.h:177: error: field 'ifru_map' has incomplete type
OOps/remote.c: In function 'getIpAddress':
OOps/remote.c:70: error: storage size of 'ifr' isn't known
scons: *** [OOps/remote.o] Error 1
scons: building terminated because of errors.

---configuration options output below.

scons: warning: The Options class is deprecated; use the Variables class 
instead.
File "/home/kelly/personal/csound/Csound5.10.1/SConstruct", line 71, in 

Using options from 'custom.py.'
Build platform is 'linux'.
SCons tools on this platform:  ['default', 'gnulink', 'gcc', 'g++', 
'gfortran', 'gas', 'ar', 'CVS', 'filesystem', 'dvipdf', 'dvips', 'gs', 
'jar', 'javac', 'javah', 'latex', 'lex', 'm4', 'pdflatex', 'pdftex', 
'rmic', 'rpcgen', 'swig', 'tar', 'tex', 'yacc', 'zip']
Using GNU gettext scheme
CONFIGURATION DECISION: Using single-precision floating point for audio 
samples.
Checking for C header file stdio.h... yes
Checking for C library sndfile... yes
Checking for C library pthread... yes
Checking for pthread_barrier_init(0, 0, 0) in C library pthread... yes
Checking for __sync_lock_test_and_set((int32_t *)0, 0) in C library m... 
yes
found sync lock
Checking for C++ header file 
frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h... 
no
Checking for C library portaudio... yes
Checking for C header file portmidi.h... no
Checking for C++ library fltk... yes
Checking for C++ header file FL/Fl_Spinner.H... yes
Checking for C++ header file boost/any.hpp... yes
Checking for C++ header file gmm/gmm.h... no
Checking for C library asound... yes
Checking for C library lo... yes
Checking for C header file jack/jack.h... yes
Checking for C header file pulse/simple.h... no
Checking for C++ header file Opcodes/stk/include/Stk.h... no
Checking for C header file m_pd.h... no
Checking for C header file tcl.h... yes
Checking for C header file zlib.h... yes
Checking for C++ header file funknown.h... no
Checking for C header file lua.h... no
Checking for SWIG... yes
Checking for C header file Python.h... no
Checking for C header file /usr/include/python2.5/Python.h... yes
Checking for C++ header file jni.h... no
Checking for C header file io.h... no
Checking for C header file fcntl.h... yes
Checking for C header file unistd.h... yes
Checking for C header file stdint.h... yes
Checking for C header file sys/time.h... yes
Checking for C header file sys/types.h... yes
Checking for C header file termios.h... yes
Checking for C header file sys/socket.h... yes
Checking for C header file dirent.h... yes
Checking for libsndfile version 1.0.16 or later... yes
CONFIGURATION DECISION: Not building with new parser
CONFIGURATION DECISION: Building static Csound library
CONFIGURATION DECISION: Not building Csound interfaces library.
CONFIGURATION DECISION: Not generating Csound API PDF documentation.
Checking for C library png... yes
CONFIGURATION DECISION: Building image opcodes
CONFIGURATION DECISION: Not building linear algebra opcodes.
CONFIGURATION DECISION: Not building Virtual Keyboard plugin. (FLTK 1.1.7+ 
required)
CONFIGURATION DECISION: Not building CoreAudio plugin.
CONFIGURATION DECISION: Building ALSA plugin.
CONFIGURATION DECISION: Building PortAudio module.
Adding Jack library for PortAudio
CONFIGURATION DECISION: Building JACK plugin.
CONFIGURATION DECISION: Not building with PortMIDI.
CONFIGURATION DECISION: Not building OSC plugin.
CONFIGURATION DECISION: Building UDP plugins.
Checking for C header file fluidsynth.h... yes
CONFIGURATION DECISION: Building fluid opcodes.
CONFIGURATION DECISION: Not building vst4cs opcodes.
Checking for C header file ladspa.h... yes
Checking for C header file dssi.h... no
CONFIGURATION DECISION: Not building DSSI plugin host opcodes.
Checking for C header file Opcodes/Loris/src/loris.h... no
CONFIGURATION DECISION: Not building Loris Python extension and Csound 
opcodes.
CONFIGURATION DECISION: Not building STK opcodes.
CONFIGURATION DECISION: Not building Python opcodes.
CONFIGURATION DECISION: Not building FLTK CSOUND5GUI frontend.
CONFIGURATION DECISION: Not building Csound Text Editor.
CONFIGURATION DECISION: Not building CsoundAC extension module for Csound 
with algorithmic composition.
CONFIGURATION DECISION: Not building CsoundVST plugin and standalone.
CONFIGURATION DECISION: Not building Tclcsound
CONFIGURATION DECISION: Not building Winsound
CONFIGURATION DECISION: Not building OSX GUI frontend
CONFIGURATION DEFAULT:  Building csLadspa.
CONFIGURATION DECISION: Not calling TAGS
scons: done reading SConscript files.
scons: Building targets ...


Date2009-04-13 09:37
Fromkelly hirai
Subject[Csnd] Re: Re: Re: build errors
hey all,
    getting some action on the wii opcodes with kr=480. it makes me happy, 
it makes me happy.

build errors:

thanks, i will test this on monday in gentoo, and also here on a fedora 
box this evening to see if it causes any interference. the wiimote opcodes 
are working as advertized in fedora.

feature request:

i would like to make use of the release information of key presses. do you 
think we could set up an connect flag so that keypress information is 
1=pressed, 0=not_pressed? a flag or, some new channels in the wiidata 
opcode. also, it would be cool to have mac addersses of the wii's 
assignable to specific wiimote numbers.

orchestras forthcomming....

thanks, this is going to be great!
kelly


On Fri, 17 Apr 2009, Andres Cabrera wrote:

> I found this on the archives. Does it fix the issue and should it be committed?

Cheers,
Andrés

On Wed, Mar 4, 2009 at 10:20 AM, Ted  wrote:
> A further header problem on Gentoo Linux with gcc-4.1.2 is that
> #define _ISOC99_SOURCE etc. in H/sysdep.h doesn't cover Linux
> BSD socket structures. I had to add the following:
>
> diff OOps/remote.c.Orig OOps/remote.c
> 23a24,25
>> #define _BSD_SOURCE
>>
>
> Also, in the current scons control file, a minor fix:
>
> diff SConstruct.Orig SConstruct
> 1303c1303
> <     headers += ['csPerfThread.hpp']
> ---
>>     headers += ['interfaces/csPerfThread.hpp']
>
> Ted.

On Thu, Apr 16, 2009 at 9:40 AM,   wrote:
>> using a fairly up to date gentoo x86 distro, i'm getting the following
>> build error in cvs and 5.10.1.tar.gz
>>
>
> Gentoo is (imo) broken regrding networking nd this kills remote in Csound.
>  Easiest to removethat file, or get deep into wu gentoo is so different
> from all other distributions
>
> ==John ff
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-04-16 08:02
Fromkelly hirai
Subject[Csnd] Re: Re: Re: build errors
made these changes and it built on gentoo.

the line in SConstruct is 1329 and seems optional to change.

dont have the hardware here to finish testing wii opcodes here tonight 
though. jsut though i'd let you know it built.

kelly

On Fri, 17 Apr 2009, Andres Cabrera wrote:

> I found this on the archives. Does it fix the issue and should it be committed?

Cheers,
Andrés

On Wed, Mar 4, 2009 at 10:20 AM, Ted  wrote:
> A further header problem on Gentoo Linux with gcc-4.1.2 is that
> #define _ISOC99_SOURCE etc. in H/sysdep.h doesn't cover Linux
> BSD socket structures. I had to add the following:
>
> diff OOps/remote.c.Orig OOps/remote.c
> 23a24,25
>> #define _BSD_SOURCE
>>
>
> Also, in the current scons control file, a minor fix:
>
> diff SConstruct.Orig SConstruct
> 1303c1303
> <     headers += ['csPerfThread.hpp']
> ---
>>     headers += ['interfaces/csPerfThread.hpp']
>
> Ted.

On Thu, Apr 16, 2009 at 9:40 AM,   wrote:
>> using a fairly up to date gentoo x86 distro, i'm getting the following
>> build error in cvs and 5.10.1.tar.gz
>>
>
> Gentoo is (imo) broken regrding networking nd this kills remote in Csound.
>  Easiest to removethat file, or get deep into wu gentoo is so different
> from all other distributions
>
> ==John ff
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-04-16 08:45
FromMatti Koskinen
Subject[Csnd] more on pvoc
hi,

I tried pvoc with csound5.10 float os x and got next error:
Csound version 5.10 (float samples) Dec 17 2008
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
PortAudio V19-devel
PortAudio: available output devices:
    0: Built-in Output
    1: USB Audio
PortAudio: selected output device 'USB Audio'
writing 4096-byte blks of shorts to dac
SECTION 1:
new alloc for instr 1:
csound(393,0xa0735720) malloc: *** mmap(size=3439681536) failed (error  
code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
memory allocate failure for 3439679656
inactive allocs returned to freespace
end of score.		   overall amps:      0.0      0.0
	   overall samples out of range:        0        0
0 errors in performance
Elapsed time at end of performance: real: 0.081s, CPU: 0.040s
0 4096-byte soundblks of shorts written to dac

the pvx file is 670 kb, so the allocation seems a bit large.

the orc is like this:
sr=48000
kr = 4800
ksmps=10
nchnls = 2

instr 1
       ktime line 0,p3,1
       a1 pvoc ktime,1,"/Users/mjkoskin/sounds/axe.pvx"
       kvol linseg 0,p/3,1,p3/3,1,p3/3,0
       outs a1*kvol,a1*kvol
endin


thanks

-matti



Date2009-04-16 10:19
Frompeiman khosravi
Subject[Csnd] Re: more on pvoc
I havent tested your instrument but there is an error:
kvol linseg 0,p/3,1,p3/3,1,p3/3,0

You must mean:
kvol linseg 0,p3/3,1,p3/3,1,p3/3,0

Best
Peiman

2009/4/16 Matti Koskinen <mjkoskin@kolumbus.fi>
hi,

I tried pvoc with csound5.10 float os x and got next error:
Csound version 5.10 (float samples) Dec 17 2008
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
PortAudio V19-devel
PortAudio: available output devices:
  0: Built-in Output
  1: USB Audio
PortAudio: selected output device 'USB Audio'
writing 4096-byte blks of shorts to dac
SECTION 1:
new alloc for instr 1:
csound(393,0xa0735720) malloc: *** mmap(size=3439681536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
memory allocate failure for 3439679656
inactive allocs returned to freespace
end of score.              overall amps:      0.0      0.0
          overall samples out of range:        0        0
0 errors in performance
Elapsed time at end of performance: real: 0.081s, CPU: 0.040s
0 4096-byte soundblks of shorts written to dac

the pvx file is 670 kb, so the allocation seems a bit large.

the orc is like this:
sr=48000
kr = 4800
ksmps=10
nchnls = 2

instr 1
     ktime line 0,p3,1
     a1 pvoc ktime,1,"/Users/mjkoskin/sounds/axe.pvx"
     kvol linseg 0,p/3,1,p3/3,1,p3/3,0
     outs a1*kvol,a1*kvol
endin


thanks

-matti




Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2009-04-16 10:53
FromMatti Koskinen
Subject[Csnd] Re: Re: more on pvoc

On Apr 16, 2009, at 12:19 PM, peiman khosravi wrote:

I havent tested your instrument but there is an error:
kvol linseg 0,p/3,1,p3/3,1,p3/3,0

You must mean:
kvol linseg 0,p3/3,1,p3/3,1,p3/3,0

Best
Peiman


yeah, a stupid typo. csound 5.10 renders now ok. I just happen to like drawing graphs, that's why cecilia is great.
Is it possible to draw graphs a la cecilia in blue?
thanks

-matti



Date2009-04-16 13:10
Frompeiman khosravi
Subject[Csnd] Re: Re: Re: more on pvoc
Is it possible to draw graphs a la cecilia in blue?

Yes of course :)

2009/4/16 Matti Koskinen <mjkoskin@kolumbus.fi>

On Apr 16, 2009, at 12:19 PM, peiman khosravi wrote:

I havent tested your instrument but there is an error:
kvol linseg 0,p/3,1,p3/3,1,p3/3,0

You must mean:
kvol linseg 0,p3/3,1,p3/3,1,p3/3,0

Best
Peiman


yeah, a stupid typo. csound 5.10 renders now ok. I just happen to like drawing graphs, that's why cecilia is great.
Is it possible to draw graphs a la cecilia in blue?
thanks

-matti




Date2009-04-16 15:40
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: build errors
> using a fairly up to date gentoo x86 distro, i'm getting the following
> build error in cvs and 5.10.1.tar.gz
>

Gentoo is (imo) broken regrding networking nd this kills remote in Csound.
 Easiest to removethat file, or get deep into wu gentoo is so different
from all other distributions

==John ff


Date2009-04-17 19:24
FromAnthony Kozar
Subject[Csnd] Re: more on pvoc
Despite the error in the orchestra, the huge allocation still indicates that
there must be a bug in Csound (possibly in the orchestra parser).

Anthony Kozar
mailing-lists-1001 AT anthonykozar DOT net
http://anthonykozar.net/

Matti Koskinen wrote on 4/16/09 5:53 AM:

> 
> On Apr 16, 2009, at 12:19 PM, peiman khosravi wrote:
> 
>> I havent tested your instrument but there is an error:
>> kvol linseg 0,p/3,1,p3/3,1,p3/3,0
>> 
>> You must mean:
>> kvol linseg 0,p3/3,1,p3/3,1,p3/3,0
>> 
>> Best
>> Peiman
>> 
>> 
> yeah, a stupid typo. csound 5.10 renders now ok. I just happen to like
> drawing graphs, that's why cecilia is great.
> Is it possible to draw graphs a la cecilia in blue?
> thanks


Date2009-04-18 02:28
FromAndres Cabrera
Subject[Csnd] Re: Re: build errors
I found this on the archives. Does it fix the issue and should it be committed?

Cheers,
Andrés

On Wed, Mar 4, 2009 at 10:20 AM, Ted  wrote:
> A further header problem on Gentoo Linux with gcc-4.1.2 is that
> #define _ISOC99_SOURCE etc. in H/sysdep.h doesn't cover Linux
> BSD socket structures. I had to add the following:
>
> diff OOps/remote.c.Orig OOps/remote.c
> 23a24,25
>> #define _BSD_SOURCE
>>
>
> Also, in the current scons control file, a minor fix:
>
> diff SConstruct.Orig SConstruct
> 1303c1303
> <     headers += ['csPerfThread.hpp']
> ---
>>     headers += ['interfaces/csPerfThread.hpp']
>
> Ted.

On Thu, Apr 16, 2009 at 9:40 AM,   wrote:
>> using a fairly up to date gentoo x86 distro, i'm getting the following
>> build error in cvs and 5.10.1.tar.gz
>>
>
> Gentoo is (imo) broken regrding networking nd this kills remote in Csound.
>  Easiest to removethat file, or get deep into wu gentoo is so different
> from all other distributions
>
> ==John ff
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés