You are not logged in.

#1 2021-08-21 21:27:03

shrvtv
Member
Registered: 2021-07-25
Posts: 18

[SOLVED] Unable to install Proton from AUR: undefined reference

The output is:

/home/user/.cache/yay/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.2.0/../../../../x86_64-w64-mingw32/bin/ld: dlls/d2d1/factory.cross.o: in function `D2D1MakeRotateMatrix':
/home/user/.cache/yay/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.2.0/../../../../x86_64-w64-mingw32/bin/ld: dlls/d2d1/factory.cross.o: in function `D2D1SinCos':
/home/user/.cache/yay/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
tools/winegcc/winegcc -o dlls/d3d10_1/d3d10_1.dll --wine-objdir . -b x86_64-w64-mingw32 --lib-suffix=.cross.a \
  -Wl,--wine-builtin -shared ../wine-experimental-wine-6.3-20210616/dlls/d3d10_1/d3d10_1.spec \
  -mno-cygwin dlls/d3d10_1/d3d10_1_main.cross.o dlls/d3d10_1/version.res \
  dlls/dxguid/libdxguid.cross.a dlls/d3d10core/libd3d10core.cross.a dlls/dxgi/libdxgi.cross.a \
  dlls/ucrtbase/libucrtbase.cross.a 
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...
error making: wine-valve

How do I fix this?

Last edited by shrvtv (2021-08-21 22:43:45)

Offline

#2 2021-08-21 22:20:43

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] Unable to install Proton from AUR: undefined reference

Is there a reason you need to install from the AUR instead of just installing through Steam?

Offline

#3 2021-08-21 22:23:03

shrvtv
Member
Registered: 2021-07-25
Posts: 18

Re: [SOLVED] Unable to install Proton from AUR: undefined reference

Ammako wrote:

Is there a reason you need to install from the AUR instead of just installing through Steam?

Is there a way to install it from steam? I thought installing it from AUR was the right way, so I can update it with other packages

Last edited by shrvtv (2021-08-21 22:23:21)

Offline

#4 2021-08-21 22:40:44

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] Unable to install Proton from AUR: undefined reference

Settings --> Steam Play --> check "Enable Steam Play for all other titles" and select the Proton version you want from the dropdown menu. Proton will install automatically as a dependency once you try to run a Windows game with it, and will update alongside the rest of your Steam stuff.

If you want Proton for non-Steam purposes, don't. It's not made to be used outside of Steam. If you want something similar in functionality for off-Steam use I would recommend wine-ge.

Last edited by Ammako (2021-08-21 22:42:42)

Offline

#5 2021-08-21 22:41:35

shrvtv
Member
Registered: 2021-07-25
Posts: 18

Re: [SOLVED] Unable to install Proton from AUR: undefined reference

Ammako wrote:

Settings --> Steam Play --> check "Enable Steam Play for all other titles" and select the Proton version you want from the dropdown menu. Proton will download automatically as a dependency once you try to run a Windows game with it, and will update alongside the rest of your Steam stuff.

Thanks! Marking as solved

Offline

Board footer

Powered by FluxBB