On Mon, 23 Mar 2009, Seth Thomas Rasmussen wrote:

> On Mon, Mar 23, 2009 at 2:19 PM, Hugh Sasse <[email protected]> wrote:
> > After my idiotic tactless remark, the least I could do by way of penance
> > was make a patch.  Can you try this, attached?  Will inline if attachements
> > don't reach the list, can't remember.
> >
> > Fixes the header file, and moves that star to after the space, in
> > accordance with the rest of the code.
> >
> > Can't remember if static should make it into function prototypes
> > added to the header file.  You may need to knock that out if it
> > doesn't work.
> 
> -hugs hugh-

Thanks.  I can't test this on my system (Cygwin) because cygwin distributes
no version of portaudio (not by the usual means, anyway), and building it
failed.  So I'm unable to help much further at this point.

For those interested:

 gcc -shared lib/.libs/cygportaudio-2.dll.def  src/common/.libs/p
a_allocation.o src/common/.libs/pa_converters.o src/common/.libs/
pa_cpuload.o src/common/.libs/pa_dither.o src/common/.libs/pa_deb
ugprint.o src/common/.libs/pa_front.o src/common/.libs/pa_process
.o src/common/.libs/pa_skeleton.o src/common/.libs/pa_stream.o sr
c/common/.libs/pa_trace.o src/hostapi/wmme/.libs/pa_win_wmme.o sr
c/os/win/.libs/pa_win_hostapis.o src/os/win/.libs/pa_win_util.o
-lwinmm  -o lib/.libs/cygportaudio-2.dll -Wl,--enable-auto-image-
base -Xlinker --out-implib -Xlinker lib/.libs/libportaudio.dll.a
src/hostapi/wmme/.libs/pa_win_wmme.o: In function `QueryFormatSup
ported':
/home/hgs/portaudio/portaudio/src/hostapi/wmme/pa_win_wmme.c:549:
 undefined reference to `_PaWin_InitializeWaveFormatExtensible'
/home/hgs/portaudio/portaudio/src/hostapi/wmme/pa_win_wmme.c:555:
 undefined reference to `_PaWin_InitializeWaveFormatEx'
src/hostapi/wmme/.libs/pa_win_wmme.o: In function `InitializeWave
Handles':
/home/hgs/portaudio/portaudio/src/hostapi/wmme/pa_win_wmme.c:1751
: undefined reference to `_PaWin_InitializeWaveFormatExtensible'
/home/hgs/portaudio/portaudio/src/hostapi/wmme/pa_win_wmme.c:1759
: undefined reference to `_PaWin_InitializeWaveFormatEx'
src/hostapi/wmme/.libs/pa_win_wmme.o: In function `OpenStream':
/home/hgs/portaudio/portaudio/src/hostapi/wmme/pa_win_wmme.c:2260
: undefined reference to `_PaWin_DefaultChannelMask'
/home/hgs/portaudio/portaudio/src/hostapi/wmme/pa_win_wmme.c:2309
: undefined reference to `_PaWin_DefaultChannelMask'
Creating library file: lib/.libs/libportaudio.dll.a
collect2: ld returned 1 exit status
gmake: *** [lib/libportaudio.la] Error 1

h...@q2p14hgs ~/portaudio/portaudio
18:55:15$

It appears that I'll need to install MingW and Msys to get that built.
http://www.portaudio.com/trac/wiki/TutorialDir/Compile/WindowsMinGW
Hopefully someone else can confirm my patch before I need to do that,
as things are a tad hairy at the moment.


_Why, would you like me to amend my patch to include a reference to

http://www.portaudio.com/

in the README file for bloopsaphone for those building this stuff?
T'was easily found with Google, but it might be of use to some.


        Hugh

> 
> -- 
> Seth Thomas Rasmussen
> http://greatseth.com
> 

Reply via email to