protonscr

winelib: files does not exist at linking

dxvkclosed
doitsujin/dxvk#711 · opened 2018-10-18 by aviau · updated 2018-10-18 · 4 comments · github
1 matching comments, n / p to jump
Aaviau 2018-10-18 github

Hello!

I am getting a failing winelib build:

[125/186] Linking target src/dxgi/dxgi.dll.so.
FAILED: src/dxgi/dxgi.dll.so 

It failed at the following command:

/usr/lib/wine/wineg++  -o src/dxgi/dxgi.dll.so 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_adapter.cpp.o' 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_device.cpp.o' 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_enums.cpp.o' 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_factory.cpp.o' 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_format.cpp.o' 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_main.cpp.o' 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_options.cpp.o' 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_output.cpp.o' 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_presenter.cpp.o' 'src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_swapchain.cpp.o' ../src/dxgi/dxgi.spec -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,dxgi.dll.so src/dxvk/libdxvk.a src/util/libutil.a src/spirv/libspirv.a -lwinevulkan -Wl,--end-group -pthread '-Wl,-rpath,$ORIGIN/../dxvk:$ORIGIN/../util:$ORIGIN/../spirv' -Wl,-rpath-link,/home/aviau/git/debian-pkg/dxvk/build-32/src/dxvk:/home/aviau/git/debian-pkg/dxvk/build-32/src/util:/home/aviau/git/debian-pkg/dxvk/build-32/src/spirv -m32 -mwindows -ldl

The error of that command is:

winegcc: File does not exist: src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_adapter.cpp.o

I could fix it with:

ninja src/dxgi/src@dxgi@@dxgi.dll@sha/dxgi_adapter.cpp.o

And resume the build with:

ninja

Then, It failed again at numerous places, sometimes I could resume the build and sometimes not, I never managed to get the build done.

Any idea what may be causing this?

GGuy1524 2018-10-18 github

Can you confirm that the mingw build does work? Also, please give more details about your system (what distro are you running).

Ddoitsujin maintainer 2018-10-18 github

Works for me. Old meson/ninja/gcc version maybe?

Aaviau 2018-10-18 github

Can you confirm that the mingw build does work?

Yep!

what distro are you running

I am on Debian (testing)

Old meson/ninja/gcc version maybe?

I will try to investigate with more recent versions of meson/ninja/gcc and report back, but they should be fairly recent.

Aaviau 2018-10-18 github

Hah! Apparently this had to do with me an old version of wineg++ and winegcc.

The behaviour was wierd, I wish it printed better error messages.

Sorry for the noise!

DLLs