Quantcast
Community Voices
PC World readers share their point of view on today's tech news

PortAudio Gives False Errors!

Posted by MattMik | Thursday, November 29, 2007 12:26 PM PT

Recently I have been trying to build PortAudio, a cross-platform audio library, with MinGW and MSYS. Every time I tried, I got a few errors. After checking on some forums, I discovered that although PortAudio returns failure, it is built successfully. Surely enough, my build worked!

When I ran ?make?, I got this error:
for dir in ; do make -C $dir all; done
/bin/sh.exe: -c: line 1: syntax error near unexpected token `;'
/bin/sh.exe: -c: line 1: `for dir in ; do make -C $dir all; done'
make: *** [all-recursive] Error 2

When I ran ?make install?, I found:
make install-recursive
make[1]: Entering directory `/c/portaudio'
for dir in ; do make -C $dir install; done
/bin/sh.exe: -c: line 1: syntax error near unexpected token `;'
/bin/sh.exe: -c: line 1: `for dir in ; do make -C $dir install; done'
make[1]: *** [install-recursive] Error 2
make[1]: Leaving directory `/c/portaudio'
make: *** [install] Error 2

So just remember - if you ever have to compile something with PortAudio, these errors during the build process are normal!

Would you like to be a Community Voices blogger? If so, please send a letter of interest and a sample blog entry (what you would post here if you were already a blogger for us) to forums@pcworld.com. We'd love to hear your perspective.

Comments (1)

It looks like you're targeting technical C++ programmers who worked with PortAudio before.

For those who want to know what PortAudio is, here's the link:
http://www.portaudio.com/

GraysonPeddie
November 30, 2007
1:26 PM PT