with portaudio19-dev 19+svn20110326-2: wxl@foo:~/bin$ wget http://portaudio.com/trac/export/1796/portaudio/trunk/examples/pa_devs.c --2011-12-10 22:10:04-- http://portaudio.com/trac/export/1796/portaudio/trunk/examples/pa_devs.c Resolving portaudio.com... 209.235.192.160 Connecting to portaudio.com|209.235.192.160|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 9015 (8.8K) [text/x-csrc] Saving to: `pa_devs.c' 100%[=======================================>] 9,015 --.-K/s in 0.1s 2011-12-10 22:10:07 (85.2 KB/s) - `pa_devs.c' saved [9015/9015] wxl@foo:~/bin$ sed -i 's/"portaudio\.h"//' pa_devs.c wxl@foo:~/bin$ gcc -lportaudio -o pa_devs pa_devs.c /tmp/ccIyl92b.o: In function `PrintSupportedStandardSampleRates': pa_devs.c:(.text+0x35): undefined reference to `Pa_IsFormatSupported' /tmp/ccIyl92b.o: In function `main': pa_devs.c:(.text+0x103): undefined reference to `Pa_Initialize' pa_devs.c:(.text+0x108): undefined reference to `Pa_GetVersionText' pa_devs.c:(.text+0x10f): undefined reference to `Pa_GetVersion' pa_devs.c:(.text+0x129): undefined reference to `Pa_GetDeviceCount' pa_devs.c:(.text+0x15b): undefined reference to `Pa_Terminate' pa_devs.c:(.text+0x1ad): undefined reference to `Pa_GetErrorText' pa_devs.c:(.text+0x1ff): undefined reference to `Pa_GetDeviceInfo' pa_devs.c:(.text+0x225): undefined reference to `Pa_GetDefaultInputDevice' pa_devs.c:(.text+0x251): undefined reference to `Pa_GetHostApiInfo' pa_devs.c:(.text+0x269): undefined reference to `Pa_GetHostApiInfo' pa_devs.c:(.text+0x292): undefined reference to `Pa_GetDefaultOutputDevice' pa_devs.c:(.text+0x2d9): undefined reference to `Pa_GetHostApiInfo' pa_devs.c:(.text+0x2f1): undefined reference to `Pa_GetHostApiInfo' pa_devs.c:(.text+0x36a): undefined reference to `Pa_GetHostApiInfo' pa_devs.c:(.text+0x533): undefined reference to `Pa_Terminate' collect2: ld returned 1 exit status On 12/10/2011 05:53 PM, RJ Ryan wrote: > Hey Walter, > > Did you install portaudio19-dev? If you have, then could you try opening > pa_devs.c and changing: > > #include "portaudio.h" > > to > > #include > > And give it another try? > > On Thu, Dec 1, 2011 at 11:45 PM, Walter Lapchynski < >