After applying two patches: 1. http://lists.xiph.org/pipermail/flac-dev/2008-August/002570.html 2. http://wolf-u.li/4567/fehler-waehrend-der-kompilierung-von-flac-memcmp-was-not-declared-in-this-scope/ I was able to build flac without error, and noticed that shared library is silently skipped. After searching the logs I found this line as suspect: "libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries" and Google exposed this message: 3. http://mingw-users.1079350.n2.nabble.com/Undefined-symbols-link-error-from-libtool-td5105758.html which in short suggests passing "-no-undefined" flag to this libtool command. As "configure" is >25K lines long, I ask for help where to apply this patch Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20130117/effdb3de/attachment.htm
Erik de Castro Lopo
2013-Jan-17 07:04 UTC
[flac-dev] flac fails to build shared library under MinGW
klo uo wrote: <snip> I suggest that you compile FLAC out of the git repository which is here: https://git.xiph.org/?p=flac.git;a=summary We're currently working up to a release. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
On Thu, Jan 17, 2013 at 8:04 AM, Erik de Castro Lopo <mle+la at mega-nerd.com>wrote:> I suggest that you compile FLAC out of the git repository > which is here: > > https://git.xiph.org/?p=flac.git;a=summary > > We're currently working up to a release. > >Thanks for your fast reply and the tip, but I can't generate configure with git version: $ ./autogen.sh libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:56: installing `./compile' configure.ac:35: installing `./config.guess' configure.ac:308: required file `./config.rpath' not found configure.ac:35: installing `./config.sub' configure.ac:26: installing `./install-sh' configure.ac:26: installing `./missing' examples/c/decode/file/Makefile.am: installing `./depcomp' autoreconf-2.68: automake failed with exit status: 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20130117/3a269cfe/attachment.htm