I have a pile of errors when trying to compile the cvs csound 5 on ppc Linux (ubuntu). Please help! Scott Here is the output: [snip] AVE_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 -c -o InOut/rtpa.os InOut/rtpa.c InOut/rtpa.c:35: error: syntax error before 'PaHostApiTypeId' InOut/rtpa.c:35: warning: no semicolon at end of struct or union InOut/rtpa.c:38: error: syntax 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: syntax 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: syntax error before 'i' InOut/rtpa.c:124: error: syntax 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: syntax error before 'i' InOut/rtpa.c:168: error: syntax error before 'devNum' InOut/rtpa.c: At top level: InOut/rtpa.c:175: error: syntax 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: syntax 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: syntax 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: syntax error before ')' token InOut/rtpa.c:294: error: 'PaStreamParameters' undeclared (first use in this function) InOut/rtpa.c:294: error: syntax error before ')' token InOut/rtpa.c:296: error: syntax error before ')' token InOut/rtpa.c:304: warning: passing argument 7 of 'Pa_OpenStream' makes integer from pointer without a cast InOut/rtpa.c:304: error: too few arguments to function 'Pa_OpenStream' InOut/rtpa.c: At top level: InOut/rtpa.c:326: error: syntax error before '*' token InOut/rtpa.c: In function 'paClearOutputBuffer': InOut/rtpa.c:329: error: 'pabs' undeclared (first use in this function) InOut/rtpa.c:332: error: 'buf' undeclared (first use in this function) InOut/rtpa.c: At top level: InOut/rtpa.c:340: warning: type defaults to 'int' in declaration of 'PaStreamCallbackTimeInfo' InOut/rtpa.c:340: error: syntax error before '*' token InOut/rtpa.c: In function 'paBlockingReadWriteStreamCallback': InOut/rtpa.c:345: error: 'pabs' undeclared (first use in this function) InOut/rtpa.c:345: error: syntax error before ')' token InOut/rtpa.c:347: error: 'input' undeclared (first use in this function) InOut/rtpa.c:348: error: 'output' undeclared (first use in this function) InOut/rtpa.c:357: error: 'paContinue' undeclared (first use in this function) InOut/rtpa.c: In function 'rtrecord_': InOut/rtpa.c:407: error: 'pabs' undeclared (first use in this function) InOut/rtpa.c:410: error: syntax error before ')' token InOut/rtpa.c: In function 'rtplay_': InOut/rtpa.c:443: error: 'pabs' undeclared (first use in this function) InOut/rtpa.c:446: error: syntax error before ')' token InOut/rtpa.c: In function 'recopen_': InOut/rtpa.c:473: error: 'pabs' undeclared (first use in this function) InOut/rtpa.c:475: error: syntax error before ')' token InOut/rtpa.c:480: error: syntax error before ')' token InOut/rtpa.c: In function 'playopen_': InOut/rtpa.c:495: error: 'pabs' undeclared (first use in this function) InOut/rtpa.c:497: error: syntax error before ')' token InOut/rtpa.c:502: error: syntax error before ')' token InOut/rtpa.c: In function 'rtclose_': InOut/rtpa.c:516: error: 'pabs' undeclared (first use in this function) InOut/rtpa.c:518: error: syntax error before ')' token InOut/rtpa.c: In function 'set_device_params': InOut/rtpa.c:570: error: 'PaStreamParameters' undeclared (first use in this function) InOut/rtpa.c:570: error: syntax error before 'streamParams' InOut/rtpa.c:576: error: 'streamParams' undeclared (first use in this function) InOut/rtpa.c:584: error: syntax error before 'info' InOut/rtpa.c:586: error: 'info' undeclared (first use in this function) InOut/rtpa.c:588: error: 'paALSA' undeclared (first use in this function) InOut/rtpa.c:591: error: 'paUseHostApiSpecificDeviceSpecification' undeclared (first use in this function) InOut/rtpa.c:599: error: 'PaDeviceIndex' undeclared (first use in this function)InOut/rtpa.c:599: error: syntax error before 'devNum' InOut/rtpa.c:603: error: 'PaTime' undeclared (first use in this function) InOut/rtpa.c:610: warning: passing argument 2 of 'Pa_OpenStream' makes integer from pointer without a cast InOut/rtpa.c:610: warning: passing argument 5 of 'Pa_OpenStream' makes pointer from integer without a cast InOut/rtpa.c:610: warning: passing argument 7 of 'Pa_OpenStream' makes integer from pointer without a cast InOut/rtpa.c:610: warning: passing argument 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:616: warning: passing argument 3 of 'Pa_OpenStream' makes integer from pointer without a cast InOut/rtpa.c:616: warning: passing argument 5 of 'Pa_OpenStream' makes pointer from integer without a cast InOut/rtpa.c:616: warning: passing argument 7 of 'Pa_OpenStream' makes integer from pointer without a cast InOut/rtpa.c:616: warning: passing argument 8 of 'Pa_OpenStream' makes integer from pointer without a cast InOut/rtpa.c:616: error: too few arguments to function 'Pa_OpenStream' InOut/rtpa.c: In function 'rtrecord_blocking': InOut/rtpa.c:693: warning: implicit declaration of function 'Pa_ReadStream' InOut/rtpa.c: In function 'rtplay_blocking': InOut/rtpa.c:716: warning: implicit declaration of function 'Pa_WriteStream' scons: *** [InOut/rtpa.os] Error 1 scons: building terminated because of errors. stmiller@stmiller:~/csound5$ Machine is a powermac G5: $ uname -a Linux stmiller 2.6.17.11 #2 SMP Fri Sep 8 08:12:06 PDT 2006 ppc64 GNU/Linux $ cat /proc/cpuinfo processor : 0 cpu : PPC970FX, altivec supported clock : 2000.000000MHz revision : 3.0 (pvr 003c 0300) processor : 1 cpu : PPC970FX, altivec supported clock : 2000.000000MHz revision : 3.0 (pvr 003c 0300) timebase : 33333333 platform : PowerMac machine : PowerMac7,3 motherboard : PowerMac7,3 MacRISC4 Power Macintosh detected as : 336 (PowerMac G5) pmac flags : 00000000 L2 cache : 512K unified pmac-generation : NewWorld ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net