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 collect2: ld returned 1 exit status make[4]: *** [libFLAC.la] Error 1 make[4]: Leaving directory `/home/avuton/src/mpd-release-utils/src/flac.git/src/libFLAC' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/avuton/src/mpd-release-utils/src/flac.git/src/libFLAC' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/avuton/src/mpd-release-utils/src/flac.git/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/avuton/src/mpd-release-utils/src/flac.git' make: *** [all] Error 2 avuton at rocket:~/src/mpd-release-utils$ i586-mingw32msvc-gcc -v Using built-in specs. Target: i586-mingw32msvc Configured with: /build/buildd/mingw32-4.2.1.dfsg/build_dir/src/gcc-4.2.1-2-dfsg/configure -v --prefix=/usr --target=i586-mingw32msvc --enable-languages=c,c++ --enable-threads --enable-sjlj-exceptions --disable-multilib --enable-version-specific-runtime-libs Thread model: win32 gcc version 4.2.1-sjlj (mingw32-2) -- avuton -- Fortes fortuna adiuvat
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 hereI'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/