[flac-dev] Failed win32 build

Avuton Olrich avuton at gmail.com
Wed Jun 27 05:49:10 PDT 2012


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


More information about the flac-dev mailing list