Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with zstd 0.13.2 on Windows 10 fails build with linking error. #304

Open
GabbeHags opened this issue Sep 24, 2024 · 0 comments
Open

Comments

@GabbeHags
Copy link

GabbeHags commented Sep 24, 2024

toolchain used: stable-x86_64-pc-windows-msvc

error: linking with link.exe failed: exit code: 1120
|
= note: "D:\VS Comunity\VC\Tools\MSVC\14.33.31629\bin\HostX64\x64\link.exe" "/NOLOGO" "C:\Users\gabbe\AppData\Local\Temp\rustcljnNa7\symbols.o" "D:\Programming\Rust\new_actix\target\debug\deps\ne
w_actix.0kqlk3atv4fdrym9cme4iczkq.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.10jwmmtmo8bqtpws3br1lz5ox.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.122xxxjnk5ef
lwsojaea7t3xa.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.13wdu2vv3norodpapop5fwbgs.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.1kphe53x0s0g9zepf5wh45x9d.rcgu.o
" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.1u56u5h7fvc0dh87cyfqqufcf.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.33s2gfc7pyt7dwz65647p1cne.rcgu.o" "D:\Programming\
Rust\new_actix\target\debug\deps\new_actix.38kyy612yc4do1augfmp2uegm.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.3u8ghamr31bg1mipu55pjaswm.rcgu.o" "D:\Programming\Rust\new_actix\tar
get\debug\deps\new_actix.3wi3kz0jacp3klod7r4yxvn9p.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.4wm9roygdjpjkk85almtqlhwy.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\ne
w_actix.57c8c19c9yf4phwrgt3sqzz18.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.5b35cqubh9miputppnx0vw6fb.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.5segb83jlfp3
om4tx138psjub.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.692v26s8ymw4n23i973bu34ij.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.82lhxfb3l4fdy97e02s5ewlm7.rcgu.o
" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.8gavn1k2zkcxbtx45hilzeuzx.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.8oebxujdpep3cmgzc0rkpf52o.rcgu.o" "D:\Programming\
Rust\new_actix\target\debug\deps\new_actix.8ohlodl0sv09pz70aub293ojw.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.9gq0b7ets3cktm5gqx1kbmul3.rcgu.o" "D:\Programming\Rust\new_actix\tar
get\debug\deps\new_actix.9naryh7f2pfia1d8d7kt51l9c.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.a61f569couomh94dkha032hd0.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\ne
w_actix.a6pblfrhst0kg3pnfm60f79b7.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.bhznv47wksi97zdmtowk8jkp4.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.bo5mjpm7pms2
3uap9363kprjv.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.c3f7aywwexxo2zs90dfs3a0hb.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.c9j7dlusjl49nrv4eg06b9dy0.rcgu.o
" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.cibdwaow1lghwqn0cmcbkukqu.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.cqu2sf4u3ayq4trln5zch2ttc.rcgu.o" "D:\Programming\
Rust\new_actix\target\debug\deps\new_actix.d9etc2u34fm5fnixl5j4intqc.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.dbe3ykwj7hl0ukzg1h7d06dpo.rcgu.o" "D:\Programming\Rust\new_actix\tar
get\debug\deps\new_actix.dkcr3gdqa2i85sqwha1z632ue.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.e01b4ocpaf1cis59glgiedqay.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\ne
w_actix.f3y07rlatjprk8z4nmta3rhxj.rcgu.o" "D:\Programming\Rust\new_actix\target\debug\deps\new_actix.8pdon9wbon6ahzr4eu23481lp.rcgu.o" "/LIBPATH:D:\Programming\Rust\new_actix\target\debug\deps" "/LIBPATH:D:
\Programming\Rust\new_actix\target\debug\build\zstd-sys-d34c875b36834fcd\out" "/LIBPATH:D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "D:\Programming\Ru
st\new_actix\target\debug\deps\libzstd-db3914401df1718a.rlib" "D:\Programming\Rust\new_actix\target\debug\deps\libzstd_safe-ef0d5eb9f665fa39.rlib" "D:\Programming\Rust\new_actix\target\debug\deps\libzs
td_sys-f5d8dbe286ce0e9b.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libstd-759718a9bb18a123.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windo
ws-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libpanic_unwind-7da375a7ca1e9a5e.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\librustc_demangle-13c5a
35fb3626718.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libstd_detect-67d9d7b318bd750d.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-ms
vc\lib\rustlib\x86_64-pc-windows-msvc\lib\libhashbrown-1128f34f910afc3a.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\librustc_std_workspace_alloc-ec
2cabfc22cdef7d.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libunwind-93dda7487230aeda.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msv
c\lib\rustlib\x86_64-pc-windows-msvc\lib\libcfg_if-814df84e64e9c749.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc-bcbe36736b9f0af2.rlib" "D:
\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\librustc_std_workspace_core-d08e4e7d05aff086.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib
\rustlib\x86_64-pc-windows-msvc\lib\libcore-89ef43c30f9b928e.rlib" "D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcompiler_builtins-1426abde5263ac46.rlib"
"kernel32.lib" "advapi32.lib" "ntdll.lib" "userenv.lib" "ws2_32.lib" "kernel32.lib" "kernel32.lib" "/defaultlib:msvcrt" "/NXCOMPAT" "/LIBPATH:D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x
86_64-pc-windows-msvc\lib" "/OUT:D:\Programming\Rust\new_actix\target\debug\deps\new_actix.exe" "/OPT:REF,NOICF" "/DEBUG" "/PDBALTPATH:%_PDB%" "/NATVIS:D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc
\lib\rustlib\etc\intrinsic.natvis" "/NATVIS:D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\etc\liballoc.natvis" "/NATVIS:D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib
\rustlib\etc\libcore.natvis" "/NATVIS:D:\Rust\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\etc\libstd.natvis"
= note: libzstd_sys-f5d8dbe286ce0e9b.rlib(1ddd1489cc625d97-hist.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(5eeec2f4c1e9b3b6-zstd_v04.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(690f776bf7b37aeb-zstd_decompress_block.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(690f776bf7b37aeb-huf_decompress.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(1ddd1489cc625d97-huf_compress.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(5eeec2f4c1e9b3b6-zstd_v07.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(5eeec2f4c1e9b3b6-zstd_v01.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(5eeec2f4c1e9b3b6-zstd_v02.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(5eeec2f4c1e9b3b6-zstd_v03.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(b0401a448be314bb-zdict.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(1ddd1489cc625d97-zstd_compress.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(5eeec2f4c1e9b3b6-zstd_v05.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(5eeec2f4c1e9b3b6-zstd_v06.o) : error LNK2001: unresolved external symbol ___chkstk_ms
libzstd_sys-f5d8dbe286ce0e9b.rlib(b0401a448be314bb-zdict.o) : error LNK2019: unresolved external symbol fprintf referenced in function ZDICT_analyzePos
libzstd_sys-f5d8dbe286ce0e9b.rlib(b0401a448be314bb-fastcover.o) : error LNK2001: unresolved external symbol fprintf
libzstd_sys-f5d8dbe286ce0e9b.rlib(b0401a448be314bb-cover.o) : error LNK2001: unresolved external symbol fprintf
D:\Programming\Rust\new_actix\target\debug\deps\new_actix.exe : fatal error LNK1120: 2 unresolved externals

@GabbeHags GabbeHags changed the title Building with zstd 0.13.2 on Windows fails build with linking error. Building with zstd 0.13.2 on Windows 10 fails build with linking error. Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant