[flac-dev] Failed win32 build
Erik de Castro Lopo
mle+la at mega-nerd.com
Wed Jul 4 03:09:07 PDT 2012
Avuton Olrich wrote:
> Hello,
>
> While building from git, I'm getting the following failure (help please):
>
> CC ogg_mapping.lo
> CCLD libFLAC.la
> Creating library file: .libs/libFLAC.dll.a
> .libs/bitreader.o: In function `FLAC__clz_soft_uint32':
> ./include/private/bitmath.h:46: multiple definition of `_FLAC__clz_soft_uint32'
> .libs/bitmath.o:./include/private/bitmath.h:46: first defined here
> .libs/fixed.o: In function `FLAC__clz_soft_uint32':
> ./include/private/bitmath.h:46: multiple definition of `_FLAC__clz_soft_uint32'
> .libs/bitmath.o:./include/private/bitmath.h:46: first defined here
> .libs/lpc.o: In function `FLAC__clz_soft_uint32':
> ./include/private/bitmath.h:46: multiple definition of `_FLAC__clz_soft_uint32'
> .libs/bitmath.o:./include/private/bitmath.h:46: first defined here
> .libs/stream_decoder.o: In function `FLAC__clz_soft_uint32':
> ./include/private/bitmath.h:46: multiple definition of `_FLAC__clz_soft_uint32'
> .libs/bitmath.o:./include/private/bitmath.h:46: first defined here
> .libs/stream_encoder.o: In function `FLAC__clz_soft_uint32':
> ./include/private/bitmath.h:46: multiple definition of `_FLAC__clz_soft_uint32'
> .libs/bitmath.o:./include/private/bitmath.h:46: first defined here
I'm not seeing that issue here. I am however using a more recent
version of the mingw cross compiler (i686-w64-mingw32-gcc from Debian
testing) and I'm confguring flac using:
./configure --build x86_64-linux --host i686-w64-mingw32 \
--target i686-w64-mingw32 32 --disable-ogg
In fact, with the three minor commits I just pushed it compiled
without an issue.
Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the flac-dev
mailing list