Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5720] Building error

Date2005-01-15 15:42
FromAndres Cabrera
Subject[CSOUND-DEV:5720] Building error
Hi all,
I just did a cvs checkout, and I'm trying to build on linux FC1, but it 
failed at:
gcc -DCSOUND_WITH_API -g -gstabs -O2 -DLINUX -Wall -DPIPES 
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_MALLOC_H -DHAVE_SGTTY_H 
-DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H 
-DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_ITOA 
-DHAVE_JNI_H -DRTAUDIO -DWINDOWS -DUSE_FLTK -DBETA -I. -IH 
-I/usr/local/include/python2.3 -I/home/andres/boost_1_32_0/boost 
-I/home/andres/portmidi/pm_common -I/home/andres/portmidi/pm_linux 
-I/home/andres/portmidi/porttime -I/usr/local/include -I/usr/include -c 
-o InOut/rtpa.o InOut/rtpa.c
InOut/rtpa.c:44: error: syntax error before '*' token
InOut/rtpa.c:44: warning: type defaults to `int' in declaration of 
`pabsRead'
InOut/rtpa.c:44: warning: data definition has no type or storage class
InOut/rtpa.c:45: error: syntax error before '*' token
InOut/rtpa.c:45: warning: type defaults to `int' in declaration of 
`pabsWrite'
InOut/rtpa.c:45: warning: data definition has no type or storage class
InOut/rtpa.c: In function `recopen_':
InOut/rtpa.c:133: warning: implicit declaration of function 
`paBlockingReadOpen'
InOut/rtpa.c: In function `playopen_':
InOut/rtpa.c:196: warning: implicit declaration of function 
`paBlockingWriteOpen'
InOut/rtpa.c: In function `rtrecord_':
InOut/rtpa.c:216: warning: implicit declaration of function `paBlockingRead'
InOut/rtpa.c: In function `rtplay_':
InOut/rtpa.c:234: warning: implicit declaration of function 
`paBlockingWrite'
InOut/rtpa.c: In function `rtclose_':
InOut/rtpa.c:240: warning: implicit declaration of function 
`paBlockingClose'
scons: *** [InOut/rtpa.o] Error 1


Scons reported this at the start:
Adding Jack library for PortAudio
CONFIGURATION DECISION: Building with PortAudio.
CONFIGURATION DECISION: Building with internal MIDI.
CONFIGURATION DECISION: Building with FLTK for graphs and widgets.
CONFIGURATION DECISION: Not generating PDF documentation.
Checking for C header file fluidsynth.h... no
CONFIGURATION DECISION: Not building fluid opcodes.
CONFIGURATION DECISION: Not building CsoundVST plugin and standalone.
CONFIGURATION DECISION: Not calling TAGS
CONFIGURATION DECISION: Calling makedb
CONFIGURATION DECISION: Not compiling zip file for release.


Cheers,
Andrés

Date2005-01-18 19:04
FromIain Duncan
Subject[CSOUND-DEV:5723] Re: Building error
For what it's worth, I just built successfully from a fresh blank cvs 
checkout, and it worked straight outta the box on linux. First time 
that's worked for me without mucking with scons, whoo hoo!

iain

jpff@codemist.co.uk wrote:
> Very odd!  I have just ensured my tree is up to date and line 44 is
> blank.
> Did you get this from a cvs checkout or update or by looking at the
> CVS files on sourceforge (which can be out of date by a day or so)
> The error suggests that you do not have pa_blocking.h loaded as
> PA_BLOCKING_STREAM is defined there.
> ==John ffitch
> 
> 

Date2005-01-19 07:27
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:5722] Re: Building error
Very odd!  I have just ensured my tree is up to date and line 44 is
blank.
Did you get this from a cvs checkout or update or by looking at the
CVS files on sourceforge (which can be out of date by a day or so)
The error suggests that you do not have pa_blocking.h loaded as
PA_BLOCKING_STREAM is defined there.
==John ffitch

Date2005-01-19 13:01
FromAndres Cabrera
Subject[CSOUND-DEV:5732] Re: Building error
Yes!
That was an old message I sent almost a week ago! Old messages will 
surely be popping up these days!

Andres

Iain Duncan wrote:

> For what it's worth, I just built successfully from a fresh blank cvs 
> checkout, and it worked straight outta the box on linux. First time 
> that's worked for me without mucking with scons, whoo hoo!
>
> iain
>
> jpff@codemist.co.uk wrote:
>
>> Very odd!  I have just ensured my tree is up to date and line 44 is
>> blank.
>> Did you get this from a cvs checkout or update or by looking at the
>> CVS files on sourceforge (which can be out of date by a day or so)
>> The error suggests that you do not have pa_blocking.h loaded as
>> PA_BLOCKING_STREAM is defined there.
>> ==John ffitch
>>
>>
>
>
>
>