Hi Aaron, Just to make sure, are you using PortAudio v19? steven On 4/18/06, Aaron Krister Johnson wrote: > I built and installed portaudio and portmidi, scons sees them and say ok let's > go...then coughs here: > > gcc -o InOut/rtpa.os -c -Wall -g -gstabs -O2 -DLINUX -DPIPES -fPIC > -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H > -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_DIRENT_H -I. -IH > -I/usr/local/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c > 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' > scons: *** [InOut/rtpa.os] Error 1 > scons: building terminated because of errors. > > > Any thoughts? > > -Aaron. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net