I'm no expert but since this is on the general list, the error messages seem to resemble those generated when trying to compile Csound5 with Portaudio V1.8 perhaps you could try compiling with Portaudio V1.9 devel and see if that doesn't fix your problem. -David On 4/27/06, Tobiah wrote: > I'm trying to get a running csound5 on my Gentoo box. The binary installer > worked ok, but on about 75% of my orchestras, including the tests that come > with csound, I quickly get: > > Csound tidy up: Segmentation fault > > I tried the 64 bit version too, and the rpm also, which > I had to use --nodeps on, because I'm pretty sure that > I had the things that it complained about, but they weren't > registered in the rpm database, as I 'ermerge' most things. > > I didn't get too far compiling the source. I followed the > directions in the html manual, and I stopped here: > > //Here is the first offending passage > // scons useDouble was the only option > > typedef struct PaAlsaStreamInfo { > unsigned long size; > PaHostApiTypeId hostApiType; > unsigned long version; > const char *deviceString; > } PaAlsaStreamInfo; > > Thanks, > > Tobiah > > > InOut/rtpa.c:35: error: parse error before "PaHostApiTypeId" > InOut/rtpa.c:35: warning: no semicolon at end of struct or union > InOut/rtpa.c:38: error: parse error before '}' token > InOut/rtpa.c:38: warning: type defaults to `int' in declaration of `PaAlsaStreamInfo' > InOut/rtpa.c:38: warning: data definition has no type or storage class > InOut/rtpa.c:61: error: parse error before "PaStreamParameters" > InOut/rtpa.c:61: warning: no semicolon at end of struct or union > InOut/rtpa.c:62: warning: type defaults to `int' in declaration of `outputPaParameters' > InOut/rtpa.c:62: warning: data definition has no type or storage class > InOut/rtpa.c:67: warning: type defaults to `int' in declaration of `PA_BLOCKING_STREAM' > InOut/rtpa.c:67: warning: data definition has no type or storage class > InOut/rtpa.c: In function `initPortAudio': > InOut/rtpa.c:93: warning: implicit declaration of function `Pa_GetVersionText' > InOut/rtpa.c: In function `listPortAudioDevices_blocking': > InOut/rtpa.c:107: warning: implicit declaration of function `Pa_GetDeviceCount' > InOut/rtpa.c:109: error: `PaDeviceIndex' undeclared (first use in this function) > InOut/rtpa.c:109: error: (Each undeclared identifier is reported only once > InOut/rtpa.c:109: error: for each function it appears in.) > InOut/rtpa.c:109: error: parse error before "i" > InOut/rtpa.c:124: error: parse error before "i" > InOut/rtpa.c: In function `selectPortAudioDevice': > InOut/rtpa.c:146: warning: implicit declaration of function `Pa_GetDefaultOutputDevice' > InOut/rtpa.c:148: warning: implicit declaration of function `Pa_GetDefaultInputDevice' > InOut/rtpa.c:158: error: `PaDeviceIndex' undeclared (first use in this function) > InOut/rtpa.c:158: error: parse error before "i" > InOut/rtpa.c:168: error: parse error before "devNum" > InOut/rtpa.c: At top level: > InOut/rtpa.c:175: error: parse error before "PaStreamParameters" > InOut/rtpa.c: In function `pa_SetStreamParameters': > InOut/rtpa.c:181: error: `sp' undeclared (first use in this function) > InOut/rtpa.c:181: error: `PaStreamParameters' undeclared (first use in this function) > InOut/rtpa.c:182: error: `parm' undeclared (first use in this function) > InOut/rtpa.c:183: error: `csound' undeclared (first use in this function) > InOut/rtpa.c:186: error: `is_playback' undeclared (first use in this function) > InOut/rtpa.c:189: error: `PaDeviceIndex' undeclared (first use in this function) > InOut/rtpa.c:189: error: parse error before "dev" > InOut/rtpa.c:192: error: `PaTime' undeclared (first use in this function) > InOut/rtpa.c: At top level: > InOut/rtpa.c:201: warning: type defaults to `int' in declaration of `PaStreamCallbackTimeInfo' > InOut/rtpa.c:201: error: parse error before '*' token > InOut/rtpa.c: In function `paBlockingReadWriteOpen': > InOut/rtpa.c:207: error: `pabs' undeclared (first use in this function) > InOut/rtpa.c:211: error: parse error before ')' token > InOut/rtpa.c:288: error: `PaStreamParameters' undeclared (first use in this function) > InOut/rtpa.c:288: error: parse error before ')' token > InOut/rtpa.c:290: error: parse error before ')' token > InOut/rtpa.c:298: warning: passing arg 7 of `Pa_OpenStream' makes integer from pointer without a cast > InOut/rtpa.c:298: error: too few arguments to function `Pa_OpenStream' > InOut/rtpa.c: At top level: > InOut/rtpa.c:320: error: parse error before '*' token > InOut/rtpa.c: In function `paClearOutputBuffer': > InOut/rtpa.c:323: error: `pabs' undeclared (first use in this function) > InOut/rtpa.c:326: error: `buf' undeclared (first use in this function) > InOut/rtpa.c: At top level: > InOut/rtpa.c:334: warning: type defaults to `int' in declaration of `PaStreamCallbackTimeInfo' > InOut/rtpa.c:334: error: parse error before '*' token > InOut/rtpa.c: In function `paBlockingReadWriteStreamCallback': > InOut/rtpa.c:339: error: `pabs' undeclared (first use in this function) > InOut/rtpa.c:339: error: parse error before ')' token > InOut/rtpa.c:341: error: `input' undeclared (first use in this function) > InOut/rtpa.c:342: error: `output' undeclared (first use in this function) > InOut/rtpa.c:351: error: `paContinue' undeclared (first use in this function) > InOut/rtpa.c: In function `rtrecord_': > InOut/rtpa.c:401: error: `pabs' undeclared (first use in this function) > InOut/rtpa.c:404: error: parse error before ')' token > InOut/rtpa.c: In function `rtplay_': > InOut/rtpa.c:437: error: `pabs' undeclared (first use in this function) > InOut/rtpa.c:440: error: parse error before ')' token > InOut/rtpa.c: In function `recopen_': > InOut/rtpa.c:467: error: `pabs' undeclared (first use in this function) > InOut/rtpa.c:469: error: parse error before ')' token > InOut/rtpa.c:474: error: parse error before ')' token > InOut/rtpa.c: In function `playopen_': > InOut/rtpa.c:489: error: `pabs' undeclared (first use in this function) > InOut/rtpa.c:491: error: parse error before ')' token > InOut/rtpa.c:496: error: parse error before ')' token > InOut/rtpa.c: In function `rtclose_': > InOut/rtpa.c:510: error: `pabs' undeclared (first use in this function) > InOut/rtpa.c:512: error: parse error before ')' token > InOut/rtpa.c: In function `set_device_params': > InOut/rtpa.c:564: error: `PaStreamParameters' undeclared (first use in this function) > InOut/rtpa.c:564: error: parse error before "streamParams" > InOut/rtpa.c:570: error: `streamParams' undeclared (first use in this function) > InOut/rtpa.c:578: error: parse error before "info" > InOut/rtpa.c:580: error: `info' undeclared (first use in this function) > InOut/rtpa.c:582: error: `paALSA' undeclared (first use in this function) > InOut/rtpa.c:585: error: `paUseHostApiSpecificDeviceSpecification' undeclared (first use in this function) > InOut/rtpa.c:593: error: `PaDeviceIndex' undeclared (first use in this function) > InOut/rtpa.c:593: error: parse error before "devNum" > InOut/rtpa.c:597: error: `PaTime' undeclared (first use in this function) > InOut/rtpa.c:604: warning: passing arg 2 of `Pa_OpenStream' makes integer from pointer without a cast > InOut/rtpa.c:604: warning: passing arg 5 of `Pa_OpenStream' makes pointer from integer without a cast > InOut/rtpa.c:604: warning: passing arg 7 of `Pa_OpenStream' makes integer from pointer without a cast > InOut/rtpa.c:604: warning: passing arg 8 of `Pa_OpenStream' makes integer from pointer without a cast > InOut/rtpa.c:604: error: too few arguments to function `Pa_OpenStream' > InOut/rtpa.c:610: warning: passing arg 3 of `Pa_OpenStream' makes integer from pointer without a cast > InOut/rtpa.c:610: warning: passing arg 5 of `Pa_OpenStream' makes pointer from integer without a cast > InOut/rtpa.c:610: warning: passing arg 7 of `Pa_OpenStream' makes integer from pointer without a cast > InOut/rtpa.c:610: warning: passing arg 8 of `Pa_OpenStream' makes integer from pointer without a cast > InOut/rtpa.c:610: error: too few arguments to function `Pa_OpenStream' > InOut/rtpa.c: In function `rtrecord_blocking': > InOut/rtpa.c:687: warning: implicit declaration of function `Pa_ReadStream' > InOut/rtpa.c: In function `rtplay_blocking': > InOut/rtpa.c:710: warning: implicit declaration of function `Pa_WriteStream'