libtool: compile: /msys_repo/mingw-gcc/src/gcc-build-x86_64-w64-mingw32/./gcc/xgcc -shared-libgcc -B/msys_repo/mingw-gcc/src/gcc-build-x86_64-w64-mingw32/./gcc -nostdinc++ -L/msys_repo/mingw-gcc/src/gcc-build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/src -L/msys_repo/mingw-gcc/src/gcc-build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/src/.libs -L/mingw64/x86_64-w64-mingw32/lib -L/mingw64/mingw/lib -isystem /mingw64/x86_64-w64-mingw32/include -isystem /mingw64/mingw/include -B/mingw64/x86_64-w64-mingw32/bin/ -B/mingw64/x86_64-w64-mingw32/lib/ -isystem /mingw64/x86_64-w64-mingw32/include -isystem /mingw64/x86_64-w64-mingw32/sys-include -I/msys_repo/mingw-gcc/src/gcc-4.8.2/libstdc++-v3/../libgcc -I/msys_repo/mingw-gcc/src/gcc-build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32 -I/msys_repo/mingw-gcc/src/gcc-build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include -I/msys_repo/mingw-gcc/src/gcc-4.8.2/libstdc++-v3/libsupc++ -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=math_stubs_float.lo -g -march=x86-64 -mtune=generic -O2 -pipe -I/mingw64/include -c ../../../../../gcc-4.8.2/libstdc++-v3/src/c++98/math_stubs_float.cc -o math_stubs_float.o ../../../../../gcc-4.8.2/libstdc++-v3/src/c++98/math_stubs_float.cc: In function 'float fabsf(float)': ../../../../../gcc-4.8.2/libstdc++-v3/src/c++98/math_stubs_float.cc:35:3: error: redefinition of 'float fabsf(float)' fabsf(float x) ^ In file included from C:/package_management/mingw-gcc/src/gcc-build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include/cmath:44:0, from ../../../../../gcc-4.8.2/libstdc++-v3/src/c++98/math_stubs_float.cc:25: C:/msys64/mingw64/x86_64-w64-mingw32/include/math.h:173:30: error: 'float fabsf(float)' previously defined here __CRT_INLINE float __cdecl fabsf (float x) ^ ../../../../../gcc-4.8.2/libstdc++-v3/src/c++98/math_stubs_float.cc: In function 'float expf(float)': ../../../../../gcc-4.8.2/libstdc++-v3/src/c++98/math_stubs_float.cc:99:3: error: redefinition of 'float expf(float)' expf(float x) ^ In file included from C:/package_management/mingw-gcc/src/gcc-build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include/cmath:44:0, from ../../../../../gcc-4.8.2/libstdc++-v3/src/c++98/math_stubs_float.cc:25: C:/msys64/mingw64/x86_64-w64-mingw32/include/math.h:635:22: error: 'float expf(float)' previously defined here __CRT_INLINE float expf(float _X) { return ((float)exp((double)_X)); } ^