From: SourceForge.net <no...@so...> - 2011-04-30 19:27:28
|
Bugs item #2546581, was opened at 2009-01-29 21:47 Message generated for change (Comment added) made by eadmaster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=2546581&group_id=10706 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Aaron Simmons (paleozogt) Assigned to: Nobody/Anonymous (nobody) Summary: building sox with ffmpeg on Windows with mingw Initial Comment: Sox v14.2.0 Ffmpeg r16537 Speex v1.2rc1 Lame v3.98.2 MinGW v5.1.4 with updated bash, make, and binutils MSYS v1.0.10 I am trying to build Sox on Window using MingGW with Lame and FFmpeg (including Speex) support. After successfully building static versions of Lame, Speex and FFmpeg, I am able to configure Sox like so: ./configure --with-ffmpeg --with-lame --disable-shared --enable-static The build works right up to the link step: ../libtool --silent --tag=CC --silent --mode=link gcc -Wconversion -g -O2 -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -o sox.exe sox.o libsox.la ../libgsm/libgsm.la ../lpc10/liblpc10.la -lavformat -lavcodec -lavutil -lmp3lame but it fails on a ton of "undefined reference" errors in libavformat.a and libavcodec.a (see attached file). I've found that these undefined symbols are defined in libws2_32.a and libspeex.a and can be fixed by using -lws2_32 and -lspeex. libws2_32.a is an artifact of compiling with MinGW, while libspeex.a is there because I compiled Speex support into FFmpeg. When building on Ubuntu, the configure script seems to detect that FFmpeg is using Speex and will put in the -lspeex automatically. ---------------------------------------------------------------------- Comment By: eadmaster (eadmaster) Date: 2011-04-30 21:27 Message: Indeed the Windows build in the "Files" section is still missing ffmpeg support. As a workaround you can use pipes of course. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=2546581&group_id=10706 |