[flac-dev] flac fails to build shared library under MinGW

klo uo klonuo at gmail.com
Wed Jan 16 22:44:20 PST 2013


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 


More information about the flac-dev mailing list