[Speex-dev] failure with latest cross compiling

Tristan Matthews tmatth at videolan.org
Fri Jul 8 22:53:53 UTC 2016


Hi,

On Fri, Jul 8, 2016 at 6:41 PM, Roger Pack <rogerdpack2 at gmail.com> wrote:
> As a note, with the latest versions, I get this "new" failure, when
> cross compiling for windows using mingw:
>
>   CCLD     speexdec.exe
> speexdec.o:speexdec.c:(.text+0x4af): undefined reference to
> `_imp__waveOutGetNumDevs at 0'
> speexdec.o:speexdec.c:(.text+0x54d): undefined reference to
> `_imp__waveOutOpen at 24'
> speexdec.o:speexdec.c:(.text+0x5aa): undefined reference to
> `_imp__waveOutReset at 4'
> speexdec.o:speexdec.c:(.text+0x7f1): undefined reference to
> `_imp__waveOutUnprepareHeader at 12'
> speexdec.o:speexdec.c:(.text+0x8f2): undefined reference to
> `_imp__waveOutPrepareHeader at 12'
> speexdec.o:speexdec.c:(.text+0x913): undefined reference to
> `_imp__waveOutWrite at 12'
> speexdec.o:speexdec.c:(.text+0xa45): undefined reference to
> `_imp__waveOutUnprepareHeader at 12'
> speexdec.o:speexdec.c:(.text+0xaae): undefined reference to
> `_imp__waveOutReset at 4'
> speexdec.o:speexdec.c:(.text+0xabf): undefined reference to
> `_imp__waveOutClose at 4'
> collect2: error: ld returned 1 exit status
> Makefile:445: recipe for target 'speexdec.exe' failed

These waveOut* functions are MS specific, so for some reason you are
not linking against the appropriate library for audio routines (I'm
guessing the winmm library?)

Can you provide your full config.log and any other pertinent logs?

Best,
Tristan


More information about the Speex-dev mailing list