Package Details: mingw-w64-portaudio 1:19.6.0-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-portaudio.git (read-only, click to copy)
Package Base: mingw-w64-portaudio
Description: A free, cross-platform, open source, audio I/O library. (mingw-w64)
Upstream URL: http://www.portaudio.com
Licenses: custom
Submitter: Schala
Maintainer: None
Last Packager: adsun
Votes: 5
Popularity: 0.000002
First Submitted: 2013-03-29 01:16
Last Updated: 2020-03-06 20:04

Latest Comments

Martchus commented on 2020-03-08 11:10

Thanks for fixing, it builds now.

Martchus commented on 2020-03-06 13:49

This package fails to build with the latest mingw-w64-configure/environment.

/bin/sh ./libtool --mode=link i686-w64-mingw32-gcc -Wl,-O1,--sort-common,--as-needed -fstack-protector   -rpath /usr/i686-w64-mingw32/lib -no-undefined -export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa|PaAsio|PaOSS)_.*" -version-info 2:0:0 -o lib/libportaudio.la src/common/pa_allocation.lo src/common/pa_converters.lo src/common/pa_cpuload.lo src/common/pa_dither.lo src/common/pa_debugprint.lo src/common/pa_front.lo src/common/pa_process.lo src/common/pa_stream.lo src/common/pa_trace.lo src/hostapi/dsound/pa_win_ds.lo src/hostapi/dsound/pa_win_ds_dynlink.lo src/os/win/pa_win_hostapis.lo src/os/win/pa_win_util.lo src/os/win/pa_win_coinitialize.lo src/os/win/pa_win_waveformat.lo src/hostapi/wdmks/pa_win_wdmks.lo src/common/pa_ringbuffer.lo src/os/win/pa_win_wdmks_utils.lo src/hostapi/wmme/pa_win_wmme.lo src/hostapi/wasapi/pa_win_wasapi.lo -lwinmm -lm -L/usr/i686-w64-mingw32/lib -ldsound -lole32 -lwinmm -lm -L/usr/i686-w64-mingw32/lib -luuid -lsetupapi -lole32 -lwinmm -lwinmm -lole32
libtool: link: /usr/bin/ar cru lib/.libs/libportaudio.a  src/common/pa_allocation.o src/common/pa_converters.o src/common/pa_cpuload.o src/common/pa_dither.o src/common/pa_debugprint.o src/common/pa_front.o src/common/pa_process.o src/common/pa_stream.o src/common/pa_trace.o src/hostapi/dsound/pa_win_ds.o src/hostapi/dsound/pa_win_ds_dynlink.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_coinitialize.o src/os/win/pa_win_waveformat.o src/hostapi/wdmks/pa_win_wdmks.o src/common/pa_ringbuffer.o src/os/win/pa_win_wdmks_utils.o src/hostapi/wmme/pa_win_wmme.o src/hostapi/wasapi/pa_win_wasapi.o
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: i686-w64-mingw32-ranlib lib/.libs/libportaudio.a
libtool: link: ( cd "lib/.libs" && rm -f "libportaudio.la" && ln -s "../libportaudio.la" "libportaudio.la" )
if test -n "" ; then for dir in ""; do make -C $dir all; done ; fi
mkdir bin
touch bin-stamp
/bin/sh ./libtool --mode=link i686-w64-mingw32-gcc -o bin/patest1 -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4  -DPA_LITTLE_ENDIAN -I../include -I../src/common -I../src/os/win -DPA_USE_WMME=0 -DPA_USE_ASIO=0 -DPA_USE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0 -I/usr/i686-w64-mingw32/include -UPA_USE_DS -DPA_USE_DS=1 -I/usr/i686-w64-mingw32/include -UPA_USE_WDMKS -DPA_USE_WDMKS=1 -UPA_USE_WMME -DPA_USE_WMME=1 -UPA_USE_WASAPI -DPA_USE_WASAPI=1 -mthreads -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_CLOCK_GETTIME=1 -DHAVE_NANOSLEEP=1 ../test/patest1.c lib/libportaudio.la -lwinmm -lm -ldsound -lole32 -lwinmm -lm -luuid -lsetupapi -lole32 -lwinmm -lm -lole32 -luuid -lwinmm -lm -lole32 -luuid
libtool: link: i686-w64-mingw32-gcc -o bin/patest1 -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -DPA_LITTLE_ENDIAN -I../include -I../src/common -I../src/os/win -DPA_USE_WMME=0 -DPA_USE_ASIO=0 -DPA_USE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0 -I/usr/i686-w64-mingw32/include -UPA_USE_DS -DPA_USE_DS=1 -I/usr/i686-w64-mingw32/include -UPA_USE_WDMKS -DPA_USE_WDMKS=1 -UPA_USE_WMME -DPA_USE_WMME=1 -UPA_USE_WASAPI -DPA_USE_WASAPI=1 -mthreads -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_CLOCK_GETTIME=1 -DHAVE_NANOSLEEP=1 ../test/patest1.c  lib/.libs/libportaudio.a -L/usr/i686-w64-mingw32/lib -ldsound -lsetupapi -lwinmm -lole32 -luuid -mthreads
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: lib/.libs/libportaudio.a(pa_win_wdmks.o):pa_win_wdmks.c:(.text+0x7560): undefined reference to `__memmove_chk'
collect2: error: ld returned 1 exit status
make: *** [Makefile:173: bin/patest1] Error 1

I suppose the last linker invocation for bin/patest1 misses -fstack-protector.

LittleHuba commented on 2019-02-07 19:37

Please add portaudiocpp by using configuration flag "--enable-cxx"

Martchus commented on 2018-08-09 09:03

For me the strip command failed because the DLLs have apparently been installed under lib instead of bin. So I addd the following lines before the strip command to be sure all DLLs are under bin:

# move DLL to bin directory
mkdir "$pkgdir"/usr/${_arch}/bin
find "$pkgdir"/usr/${_arch}/lib -iname '*.dll' -exec mv --target-directory="$pkgdir"/usr/${_arch}/bin {} \;

thestinger commented on 2014-08-04 21:56

@ant32: It should be fixed now.

ant32 commented on 2014-08-04 14:10

patch: **** Can't open patch file ../fix_static_linking.patch : No such file or directory

thestinger commented on 2014-03-21 05:16

This now includes a fix for static linking. This was discussed on the portaudio mailing list, but it doesn't appear that it was ever fixed upstream...

thestinger commented on 2014-03-19 03:37

Sadly, this doesn't build `portaudio.a`. I'm not sure what's wrong with it...