Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
881 stars 160 forks source link

Linking dlls/capi2032/capi2032.so failed #636

Open loquesangra opened 2 years ago

loquesangra commented 2 years ago
ccache gcc -m64 -o dlls/capi2032/capi2032.so -shared -Wl,-Bsymbolic -Wl,-soname,capi2032.so -Wl,-z,defs dlls/capi2032/unixlib.o \
  dlls/ntdll/ntdll.so -ldl -Wl,-O1,--sort-common,--as-needed
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_get_serial_number':
unixlib.c:(.text+0x2a): undefined reference to `capi20_get_serial_number'
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_get_version':
unixlib.c:(.text+0x4e): undefined reference to `capi20_get_version'
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_get_manufacturer':
unixlib.c:(.text+0xaa): undefined reference to `capi20_get_manufacturer'
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_isinstalled':
unixlib.c:(.text+0x1): undefined reference to `capi20_isinstalled'
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_get_profile':
unixlib.c:(.text+0x1b): undefined reference to `capi20_get_profile'
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_waitformessage':
unixlib.c:(.text+0xc5): undefined reference to `capi20_waitformessage'
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_get_message':
unixlib.c:(.text+0xd7): undefined reference to `capi20_get_message'
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_put_message':
unixlib.c:(.text+0xe7): undefined reference to `capi20_put_message'
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_release':
unixlib.c:(.text+0xf3): undefined reference to `capi20_release'
/usr/bin/ld: dlls/capi2032/unixlib.o: in function `capi_register':
unixlib.c:(.text+0x10e): undefined reference to `capi20_register'
collect2: error: ld returned 1 exit status
distcc[24498] ERROR: compile (null) on localhost failed
make: *** [Makefile:17609: dlls/capi2032/capi2032.so] Error 1

last_build_config.log:

# Last wine-tkg-staging-fsync-git configuration - Thu Dec 16 18:40:23 -04 2021 :

Local cfg files used

Wine (plain) version: 7.0rc1.r0.g533616d23f9
Using wine-staging patchset (version 7.0rc1.r0.g544f90da)

Disabled the local Esync patchset to use Staging impl instead.
Not using vkd3d native library for d3d12 translation (allows using vkd3d-proton)

Done applying reverting hotfixes (if any) - list available in prepare.log

db2b266c57b73e1a16785213ce923b749c84400e reverted 
( Roblox Studio black mouse unbreak reverts applied )

Applied hotfix protonify_stg_syscall_emu-009.mystagingpatch
steam.patch -- ( Applied steam crossover hack )
CSMT-toggle.patch -- ( Applied CSMT toggle logic patch )

Staging overrides, if any: 

use_clock_monotonic-staging.patch -- ( Applied clock_monotonic patch )
fsync-unix-staging.patch -- ( Applied fsync, an experimental replacement for esync (unix, staging) )
fsync_futex2.patch -- ( Add futex2 support to fsync )

LAA-unix-staging.patch -- ( Applied large address aware override support )

rdr2.patch -- ( Enable Proton's RDR2 fixes from Paul Gofman )
josh-flat-theme.patch -- ( Add Josh's better-theme )

Applied hotfix Return_nt_filename_and_resolve_DOS_drive_path.mypatch
Applied hotfix ef6e33f.mypatch
Applied hotfix 0001-proton-bcrypt_rdr2_fixes3.mypatch
Applied hotfix 0002-bcrypt-Add-support-for-calculating-secret-ecc-keys.mypatch
Applied hotfix a608ef1.mypatch
Applied your own patch roblox_mouse_fix.mypatch

wine-tkg-staging.patch -- ( Please don't report bugs about this wine build on winehq.org and use https://github.com/Frogging-Family/wine-tkg-git/issues instead. )

With predefined optimizations:
CFLAGS = -O2 -ftree-vectorize
LDFLAGS = -Wl,-O1,--sort-common,--as-needed
CROSSCFLAGS = -O2 -ftree-vectorize
CROSSLDFLAGS = -Wl,-O1,--sort-common,--as-needed

configure arguments: --disable-tests --without-vkd3d

CC = ccache gcc
CXX = ccache g++
CROSSCC64 = ccache x86_64-w64-mingw32-gcc
Tk-Glitch commented 2 years ago

Distro?

loquesangra commented 2 years ago

@Tk-Glitch

PRETTY_NAME="Devuan GNU/Linux 4 (chimaera)"
NAME="Devuan GNU/Linux"
VERSION_ID="4"
VERSION="4 (chimaera)"
VERSION_CODENAME="chimaera"
ID=devuan
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"

Linux g50 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux

loquesangra commented 2 years ago

I'm guessing this must be a dependency problem of some sort. One thing to note is that Devuan releases seem to be ever so slightly behind the Debian release they are based on (in this case, Chimaera is based on Bullseye).

loquesangra commented 2 years ago

*behind, in the sense of the software versions packaged in the release.

Tk-Glitch commented 2 years ago

Sorry I forgot about this issue. It's clearly a dependency problem with capi. I'm not sure Debian stable ships with new enough software to build current wine. It used to need unstable in the past, but I have to admit I've been out of the loop for a while.