Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Error building mingw-w64-lame
$ makepkg-mingw -L --nocheck
=> WARNING: You don't have installed mingw-w64 toolchain for architecture x86_64.
=> WARNING: To install it run: 'pacman -S mingw-w64-x86_64-toolchain'
==> Making package: mingw-w64-i686-lame 3.99.5-2 (Thu, Jul 31, 2014 1:06:24 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading lame-3.99.5.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1411k 100 1411k 0 0 434k 0 0:00:03 0:00:03 --:--:-- 403k
-> Found 0001-fix-cr-for-awk-in-configure.mingw.patch
==> Validating source files with md5sums...
lame-3.99.5.tar.gz ... Passed
0001-fix-cr-for-awk-in-configure.mingw.patch ... Passed
==> Extracting sources...
-> Extracting lame-3.99.5.tar.gz with /usr/bin/bsdtar
==> Starting prepare()...
patching file configure
==> Starting build()...
checking build system type... i686-w64-mingw32
checking host system type... i686-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-w64-mingw32-gcc accepts -g... yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed
checking dependency style of i686-w64-mingw32-gcc... gcc3
checking how to run the C preprocessor... i686-w64-mingw32-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by i686-w64-mingw32-gcc... C:/msys2/mingw32/i686-w64-mingw32/bin/ld.exe
checking if the linker (C:/msys2/mingw32/i686-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw32/bin/nm
checking the name lister (/mingw32/bin/nm) interface... BSD nm
checking whether ln -s works... no, using cp -p
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for C:/msys2/mingw32/i686-w64-mingw32/bin/ld.exe option to reload object files... -r
checking for i686-w64-mingw32-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for i686-w64-mingw32-ar... no
checking for ar... ar
checking for i686-w64-mingw32-strip... no
checking for strip... strip
checking for i686-w64-mingw32-ranlib... no
checking for ranlib... ranlib
checking command to parse /mingw32/bin/nm output from i686-w64-mingw32-gcc object... ok
checking for dlfcn.h... no
checking for objdir... .libs
checking if i686-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-w64-mingw32-gcc static flag -static works... yes
checking if i686-w64-mingw32-gcc supports -c -o file.o... yes
checking if i686-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the i686-w64-mingw32-gcc linker (C:/msys2/mingw32/i686-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-w64-mingw32-gcc... (cached) i686-w64-mingw32-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-w64-mingw32-gcc accepts -g... (cached) yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... (cached) none needed
checking dependency style of i686-w64-mingw32-gcc... (cached) gcc3
checking version of GCC... 4.9.1
checking for function prototypes... yes
checking for string.h... (cached) yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking xmmintrin.h usability... yes
checking xmmintrin.h presence... yes
checking for xmmintrin.h... yes
checking linux/soundcard.h usability... no
checking linux/soundcard.h presence... no
checking for linux/soundcard.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking size of short... 2
checking size of unsigned short... 2
checking size of int... 4
checking size of unsigned int... 4
checking size of long... 4
checking size of unsigned long... 4
checking size of long long... 8
checking size of unsigned long long... 8
checking size of float... 4
checking size of double... 8
checking for long double with more range or precision than double... yes
checking for uint8_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for int16_t... yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for IEEE854 compliant 80 bit floats... yes
checking for ieee854_float80_t... no
checking for ieee754_float64_t... no
checking for ieee754_float32_t... no
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... no
checking for alloca... yes
checking for gettimeofday... yes
checking for strtol... yes
checking for socket... no
checking for socket in -lsocket... no
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking ncurses/termcap.h usability... yes
checking ncurses/termcap.h presence... yes
checking for ncurses/termcap.h... yes
checking for initscr in -ltermcap... no
checking for initscr in -lcurses... no
checking for initscr in -lncurses... yes
checking for ld used by GCC... C:/msys2/mingw32/i686-w64-mingw32/bin/ld.exe
checking if the linker (C:/msys2/mingw32/i686-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /mingw32/lib/libiconv.dll.a -L/mingw32/lib
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for cos in -lm... yes
checking for cos in -lffm... no
checking for cos in -lcpml... no
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking use of ElectricFence malloc debugging... no
checking use of file io... lame
checking use of analyzer hooks... yes
checking use of mpg123 decoder... yes (Layer 1, 2, 3)
checking if the lame frontend should be build... yes
checking if mp3x is requested... no
checking if mp3rtp is requested... no
checking if dynamic linking of the frontends is requested... no
checking for termcap... yes
checking if I have to build the internal vector lib... yes
checking for nasm... /usr/bin/nasm
checking for assembler routines for this processor type... yes
checking for additional optimizations... no
checking for debug options... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmp3lame/Makefile
config.status: creating libmp3lame/i386/Makefile
config.status: creating libmp3lame/vector/Makefile
config.status: creating frontend/Makefile
config.status: creating mpglib/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/man/Makefile
config.status: creating include/Makefile
config.status: creating Dll/Makefile
config.status: creating misc/Makefile
config.status: creating debian/Makefile
config.status: creating dshow/Makefile
config.status: creating ACM/Makefile
config.status: creating ACM/ADbg/Makefile
config.status: creating ACM/ddk/Makefile
config.status: creating ACM/tinyxml/Makefile
config.status: creating lame.spec
config.status: creating mac/Makefile
config.status: creating macosx/Makefile
config.status: creating macosx/English.lproj/Makefile
config.status: creating macosx/LAME.xcodeproj/Makefile
config.status: creating vc_solution/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32'
Making all in mpglib
make[2]: Entering directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32/mpglib'
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c -o common.lo ../../lame-3.99.5/mpglib/common.c
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c -o dct64_i386.lo ../../lame-3.99.5/mpglib/dct64_i386.c
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c -o decode_i386.lo ../../lame-3.99.5/mpglib/decode_i386.c
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c ../../lame-3.99.5/mpglib/common.c -DDLL_EXPORT -DPIC -o .libs/common.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c ../../lame-3.99.5/mpglib/dct64_i386.c -DDLL_EXPORT -DPIC -o .libs/dct64_i386.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c ../../lame-3.99.5/mpglib/decode_i386.c -DDLL_EXPORT -DPIC -o .libs/decode_i386.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c ../../lame-3.99.5/mpglib/common.c -o common.o >/dev/null 2>&1
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c ../../lame-3.99.5/mpglib/dct64_i386.c -o dct64_i386.o >/dev/null 2>&1
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c ../../lame-3.99.5/mpglib/decode_i386.c -o decode_i386.o >/dev/null 2>&1
mv -f .deps/common.Tpo .deps/common.Plo
mv -f .deps/dct64_i386.Tpo .deps/dct64_i386.Plo
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c -o interface.lo ../../lame-3.99.5/mpglib/interface.c
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c -o layer1.lo ../../lame-3.99.5/mpglib/layer1.c
mv -f .deps/decode_i386.Tpo .deps/decode_i386.Plo
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c -o layer2.lo ../../lame-3.99.5/mpglib/layer2.c
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c ../../lame-3.99.5/mpglib/interface.c -DDLL_EXPORT -DPIC -o .libs/interface.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c ../../lame-3.99.5/mpglib/layer1.c -DDLL_EXPORT -DPIC -o .libs/layer1.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c ../../lame-3.99.5/mpglib/layer2.c -DDLL_EXPORT -DPIC -o .libs/layer2.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c ../../lame-3.99.5/mpglib/layer1.c -o layer1.o >/dev/null 2>&1
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c ../../lame-3.99.5/mpglib/interface.c -o interface.o >/dev/null 2>&1
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c ../../lame-3.99.5/mpglib/layer2.c -o layer2.o >/dev/null 2>&1
mv -f .deps/layer1.Tpo .deps/layer1.Plo
mv -f .deps/layer2.Tpo .deps/layer2.Plo
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c -o layer3.lo ../../lame-3.99.5/mpglib/layer3.c
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c -o tabinit.lo ../../lame-3.99.5/mpglib/tabinit.c
mv -f .deps/interface.Tpo .deps/interface.Plo
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c ../../lame-3.99.5/mpglib/layer3.c -DDLL_EXPORT -DPIC -o .libs/layer3.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c ../../lame-3.99.5/mpglib/tabinit.c -DDLL_EXPORT -DPIC -o .libs/tabinit.o
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c ../../lame-3.99.5/mpglib/tabinit.c -o tabinit.o >/dev/null 2>&1
mv -f .deps/tabinit.Tpo .deps/tabinit.Plo
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../lame-3.99.5/mpglib -I.. -I../../lame-3.99.5/include -I../../lame-3.99.5/mpglib -I../../lame-3.99.5/libmp3lame -I.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c ../../lame-3.99.5/mpglib/layer3.c -o layer3.o >/dev/null 2>&1
mv -f .deps/layer3.Tpo .deps/layer3.Plo
/bin/sh ../libtool --tag=CC --mode=link i686-w64-mingw32-gcc -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -pipe -o libmpgdecoder.la common.lo dct64_i386.lo decode_i386.lo interface.lo layer1.lo layer2.lo layer3.lo tabinit.lo
libtool: link: ar cru .libs/libmpgdecoder.a .libs/common.o .libs/dct64_i386.o .libs/decode_i386.o .libs/interface.o .libs/layer1.o .libs/layer2.o .libs/layer3.o .libs/tabinit.o
libtool: link: ranlib .libs/libmpgdecoder.a
libtool: link: ( cd ".libs" && rm -f "libmpgdecoder.la" && cp -p "../libmpgdecoder.la" "libmpgdecoder.la" )
make[2]: Leaving directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32/mpglib'
Making all in libmp3lame
make[2]: Entering directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32/libmp3lame'
Making all in i386
make[3]: Entering directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32/libmp3lame/i386'
mkdir -p .libs
mkdir -p .libs
echo '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)' >choose_table.lo
echo '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)' >cpu_feat.lo
mkdir -p .libs
echo "pic_object='.libs/choose_table.o'" >>choose_table.lo
echo "pic_object='.libs/cpu_feat.o'" >>cpu_feat.lo
echo '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)' >fft3dn.lo
echo "non_pic_object='.libs/choose_table.o'" >>choose_table.lo
echo "non_pic_object='.libs/cpu_feat.o'" >>cpu_feat.lo
echo "pic_object='.libs/fft3dn.o'" >>fft3dn.lo
/usr/bin/nasm -f win32 -DWIN32 -i ../../../lame-3.99.5/libmp3lame/i386/ ../../../lame-3.99.5/libmp3lame/i386/choose_table.nas -o .libs/choose_table.o -l choose_table.lo.lst
/usr/bin/nasm -f win32 -DWIN32 -i ../../../lame-3.99.5/libmp3lame/i386/ ../../../lame-3.99.5/libmp3lame/i386/cpu_feat.nas -o .libs/cpu_feat.o -l cpu_feat.lo.lst
echo "non_pic_object='.libs/fft3dn.o'" >>fft3dn.lo
../../../lame-3.99.5/libmp3lame/i386/cpu_feat.nas:107: warning: label alone on a line without a colon might be in error
mkdir -p .libs
../../../lame-3.99.5/libmp3lame/i386/choose_table.nas:24: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/choose_table.nas:78: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/choose_table.nas:102: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/choose_table.nas:109: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/choose_table.nas:341: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/choose_table.nas:353: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/choose_table.nas:414: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/choose_table.nas:426: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/choose_table.nas:447: warning: label alone on a line without a colon might be in error
echo '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)' >fftsse.lo
/usr/bin/nasm -f win32 -DWIN32 -i ../../../lame-3.99.5/libmp3lame/i386/ ../../../lame-3.99.5/libmp3lame/i386/fft3dn.nas -o .libs/fft3dn.o -l fft3dn.lo.lst
echo "pic_object='.libs/fftsse.o'" >>fftsse.lo
echo "non_pic_object='.libs/fftsse.o'" >>fftsse.lo
/usr/bin/nasm -f win32 -DWIN32 -i ../../../lame-3.99.5/libmp3lame/i386/ ../../../lame-3.99.5/libmp3lame/i386/fftsse.nas -o .libs/fftsse.o -l fftsse.lo.lst
../../../lame-3.99.5/libmp3lame/i386/fft3dn.nas:51: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/fft3dn.nas:267: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/fft3dn.nas:295: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/fft3dn.nas:484: warning: label alone on a line without a colon might be in error
../../../lame-3.99.5/libmp3lame/i386/fftsse.nas:422: warning: label alone on a line without a colon might be in error
/bin/sh ../../libtool --mode=link i686-w64-mingw32-gcc -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -pipe -o liblameasmroutines.la choose_table.lo cpu_feat.lo fft3dn.lo fftsse.lo
libtool: link: ar cru .libs/liblameasmroutines.a .libs/choose_table.o .libs/cpu_feat.o .libs/fft3dn.o .libs/fftsse.o
libtool: link: ranlib .libs/liblameasmroutines.a
libtool: link: ( cd ".libs" && rm -f "liblameasmroutines.la" && cp -p "../liblameasmroutines.la" "liblameasmroutines.la" )
make[3]: Leaving directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32/libmp3lame/i386'
Making all in vector
make[3]: Entering directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32/libmp3lame/vector'
/bin/sh ../../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../../lame-3.99.5/libmp3lame/vector -I../.. -I../../../lame-3.99.5/include -I../../../lame-3.99.5/libmp3lame/vector -I../../../lame-3.99.5/libmp3lame -I../../../lame-3.99.5/mpglib -I../.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c -o xmm_quantize_sub.lo ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../../lame-3.99.5/libmp3lame/vector -I../.. -I../../../lame-3.99.5/include -I../../../lame-3.99.5/libmp3lame/vector -I../../../lame-3.99.5/libmp3lame -I../../../lame-3.99.5/mpglib -I../.. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw32/include -Wall -pipe -march=i686 -mtune=generic -O2 -pipe -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c -DDLL_EXPORT -DPIC -o .libs/xmm_quantize_sub.o
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c: In function 'fht_SSE2':
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:172:20: warning: variable 'v_s2' set but not used [-Wunused-but-set-variable]
__m128 v_s2;
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c: In function 'init_xrpow_core_sse':
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:65:18: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
const __m128 vec_fabs_mask = _mm_loadu_ps(&fabs_mask._float[0]);
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '_mm_loadu_ps': target specific option mismatch
_mm_loadu_ps (float const *__P)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:65:18: error: called from here
const __m128 vec_fabs_mask = _mm_loadu_ps(&fabs_mask._float[0]);
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:895:1: error: inlining failed in call to always_inline '_mm_set_ps1': target specific option mismatch
_mm_set_ps1 (float __F)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:73:27: error: called from here
vec_xrpow_max._m128 = _mm_set_ps1(0);
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:895:1: error: inlining failed in call to always_inline '_mm_set_ps1': target specific option mismatch
_mm_set_ps1 (float __F)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:74:21: error: called from here
vec_sum._m128 = _mm_set_ps1(0);
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '_mm_loadu_ps': target specific option mismatch
_mm_loadu_ps (float const *__P)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:77:25: error: called from here
vec_tmp._m128 = _mm_loadu_ps(&(cod_info->xr[i])); /* load */
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:237:1: error: inlining failed in call to always_inline '_mm_and_ps': target specific option mismatch
_mm_and_ps (__m128 __A, __m128 __B)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:78:25: error: called from here
vec_tmp._m128 = _mm_and_ps(vec_tmp._m128, vec_fabs_mask); /* fabs */
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:181:1: error: inlining failed in call to always_inline '_mm_add_ps': target specific option mismatch
_mm_add_ps (__m128 __A, __m128 __B)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:79:25: error: called from here
vec_sum._m128 = _mm_add_ps(vec_sum._m128, vec_tmp._m128);
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:205:1: error: inlining failed in call to always_inline '_mm_sqrt_ps': target specific option mismatch
_mm_sqrt_ps (__m128 __A)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:80:25: error: called from here
vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:193:1: error: inlining failed in call to always_inline '_mm_mul_ps': target specific option mismatch
_mm_mul_ps (__m128 __A, __m128 __B)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:80:25: error: called from here
vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:205:1: error: inlining failed in call to always_inline '_mm_sqrt_ps': target specific option mismatch
_mm_sqrt_ps (__m128 __A)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:80:25: error: called from here
vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:229:1: error: inlining failed in call to always_inline '_mm_max_ps': target specific option mismatch
_mm_max_ps (__m128 __A, __m128 __B)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:81:31: error: called from here
vec_xrpow_max._m128 = _mm_max_ps(vec_xrpow_max._m128, vec_tmp._m128); /* retrieve max */
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:978:1: error: inlining failed in call to always_inline '_mm_storeu_ps': target specific option mismatch
_mm_storeu_ps (float *__P, __m128 __A)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:82:9: error: called from here
_mm_storeu_ps(&(xrpow[i]), vec_tmp._m128); /* store into xrpow[] */
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:895:1: error: inlining failed in call to always_inline '_mm_set_ps1': target specific option mismatch
_mm_set_ps1 (float __F)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:84:21: error: called from here
vec_tmp._m128 = _mm_set_ps1(0);
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:237:1: error: inlining failed in call to always_inline '_mm_and_ps': target specific option mismatch
_mm_and_ps (__m128 __A, __m128 __B)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:89:29: error: called from here
vec_tmp._m128 = _mm_and_ps(vec_tmp._m128, vec_fabs_mask); /* fabs */
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:181:1: error: inlining failed in call to always_inline '_mm_add_ps': target specific option mismatch
_mm_add_ps (__m128 __A, __m128 __B)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:90:29: error: called from here
vec_sum._m128 = _mm_add_ps(vec_sum._m128, vec_tmp._m128);
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:205:1: error: inlining failed in call to always_inline '_mm_sqrt_ps': target specific option mismatch
_mm_sqrt_ps (__m128 __A)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:91:29: error: called from here
vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:193:1: error: inlining failed in call to always_inline '_mm_mul_ps': target specific option mismatch
_mm_mul_ps (__m128 __A, __m128 __B)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:91:29: error: called from here
vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:205:1: error: inlining failed in call to always_inline '_mm_sqrt_ps': target specific option mismatch
_mm_sqrt_ps (__m128 __A)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:91:29: error: called from here
vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));
^
In file included from ../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:37:0:
C:/msys2/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/xmmintrin.h:229:1: error: inlining failed in call to always_inline '_mm_max_ps': target specific option mismatch
_mm_max_ps (__m128 __A, __m128 __B)
^
../../../lame-3.99.5/libmp3lame/vector/xmm_quantize_sub.c:92:35: error: called from here
vec_xrpow_max._m128 = _mm_max_ps(vec_xrpow_max._m128, vec_tmp._m128); /* retrieve max */
^
Makefile:319: recipe for target 'xmm_quantize_sub.lo' failed
make[3]: *** [xmm_quantize_sub.lo] Error 1
make[3]: Leaving directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32/libmp3lame/vector'
Makefile:547: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32/libmp3lame'
Makefile:349: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/c/Users/saghul/work/MINGW-packages/mingw-w64-lame/src/build-i686-w64-mingw32'
Makefile:276: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
@rdp

This comment has been minimized.

Copy link

@rdp rdp commented Dec 3, 2014

here was my fix [for followers] https://sourceforge.net/p/lame/bugs/443

@jonasagx

This comment has been minimized.

Copy link

@jonasagx jonasagx commented Oct 5, 2015

This solved the thing to me:
sed -i -e '/xmmintrin\.h/d' configure

@ghodhbane

This comment has been minimized.

Copy link

@ghodhbane ghodhbane commented May 29, 2017

thanks @jonasagx , it work for me

@linuxtazdad

This comment has been minimized.

Copy link

@linuxtazdad linuxtazdad commented Jul 1, 2017

Thank you @jonasagx that worked for me also!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment