protonscr

Can't build wine-valve AUR on Manjaro Linux

wineclosed
ValveSoftware/wine#113 · opened 2021-07-03 by Inqb8tr-jp · updated 2021-07-03 · 1 comments · github
1 matching comments, n / p to jump
IInqb8tr-jp 2021-07-03 github

Hello. I've troubled with building wine-valve AUR package on my Manjaro Linux.
I've always got errors like following outputs.
Errors say several "undefined reference to `sincosf'," which means needs of math library?
But I don't know how to add and where to modify.
Please help.

tools/winegcc/winegcc -o dlls/d3d10/d3d10.dll --wine-objdir . -b x86_64-w64-mingw32 --lib-suffix=.cross.a \
  -Wl,--wine-builtin -shared ../wine-experimental-wine-6.3-20210616/dlls/d3d10/d3d10.spec \
  -mno-cygwin dlls/d3d10/d3d10_main.cross.o dlls/d3d10/effect.cross.o dlls/d3d10/reflection.cross.o \
  dlls/d3d10/shader.cross.o dlls/d3d10/stateblock.cross.o dlls/d3d10/utils.cross.o \
  dlls/d3d10/version.res dlls/uuid/libuuid.cross.a dlls/d3d10core/libd3d10core.cross.a \
  dlls/d3dcompiler_47/libd3dcompiler.cross.a dlls/dxgi/libdxgi.cross.a \
  dlls/ucrtbase/libucrtbase.cross.a 
/usr/lib/gcc/x86_64-w64-mingw32/11.1.0/../../../../x86_64-w64-mingw32/bin/ld: dlls/d2d1/brush.cross.o: in function `d2d_brush_fill_cb':
/home/aki/PKGBUILD/wine-valve/src/wine-valve-64-build/../wine-experimental-wine-6.3-20210616/dlls/d2d1/brush.c:1215: undefined reference to `sincosf'
/usr/lib/gcc/x86_64-w64-mingw32/11.1.0/../../../../x86_64-w64-mingw32/bin/ld: dlls/d2d1/factory.cross.o: in function `D2D1MakeRotateMatrix':
/home/aki/PKGBUILD/wine-valve/src/wine-valve-64-build/../wine-experimental-wine-6.3-20210616/dlls/d2d1/factory.c:637: undefined reference to `sincosf'
/usr/lib/gcc/x86_64-w64-mingw32/11.1.0/../../../../x86_64-w64-mingw32/bin/ld: dlls/d2d1/factory.cross.o: in function `D2D1SinCos':
/home/aki/PKGBUILD/wine-valve/src/wine-valve-64-build/../wine-experimental-wine-6.3-20210616/dlls/d2d1/factory.c:718: undefined reference to `sincosf'
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/x86_64-w64-mingw32-gcc failed
make: *** [Makefile:37138: dlls/d2d1/d2d1.dll] Error 2
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
Kkisak-valve maintainer 2021-07-03 github

Hello @Inqb8tr-jp, the wine-valve AUR package is not supported or maintained here. Report this issue to the AUR package's maintainers.

DLLs