undefined reference to `__wine$func$ucrtbase$2312$memcpy'

Questions about Wine on Linux
Locked
aschloegl
Newbie
Newbie
Posts: 3
Joined: Tue Mar 15, 2022 7:45 am

undefined reference to `__wine$func$ucrtbase$2312$memcpy'

Post by aschloegl »

I'm trying to enable nvcuda in wine-staging again. After reverting
https://gitlab.winehq.org/wine/wine-sta ... 2b2c45b849
and fixing a few minor issues, such that the wine-staging patches can be applied against 8.0-rc3, compilation fails with

Code: Select all

/usr/bin/ld: dlls/ucrtbase/libucrtbase.a(ucrtbase-859087ac.o): warning: relocation against `__wine$func$ucrtbase$2312$memcpy' in read-only section `.text'
/usr/bin/ld: dlls/ucrtbase/libucrtbase.a(ucrtbase-21d438ad.o): in function `memcmp':
(.text+0x0): undefined reference to `__wine$func$ucrtbase$2311$memcmp'
/usr/bin/ld: dlls/ucrtbase/libucrtbase.a(ucrtbase-859087ac.o): in function `memcpy':
(.text+0x0): undefined reference to `__wine$func$ucrtbase$2312$memcpy'
/usr/bin/ld: warning: creating DT_TEXTREL in a shared object
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/gcc failed
make: *** [Makefile:268969: dlls/nvcuda/nvcuda.dll.so] Error 2
Do you have any suggestions how to fix this ?
Locked