-
Notifications
You must be signed in to change notification settings - Fork 712
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
Unresolved external symbol(s) when trying to link clamav applications #990
Comments
I was initially unable to reproduce this error when I just tried with the latest from the I did a search and stumbled across corrosion-rs/corrosion#418 where they encountered the same sort of issue. It appears something changed in Cargo that broke linking with the native static libraries on Windows. I ran
|
Some change in Cargo/Rust version 1.70 or 1.71 appears to have broken the build on Windows because we are incorrectly attempting to check the native static libraries by compiling an empty file (/dev/null) which does not exist on Windows. A simple fix is to make an empty file of our own and use that instead. Fixes: Cisco-Talos#990
It looks like whatever change happened in cargo/rustc version 1.70 or 1.71 exposed an issue in our |
Thanks! |
It worked with your changes. Thanks |
Some change in Cargo/Rust version 1.70 or 1.71 appears to have broken the build on Windows because we are incorrectly attempting to check the native static libraries by compiling an empty file (/dev/null) which does not exist on Windows. A simple fix is to make an empty file of our own and use that instead. Fixes: Cisco-Talos#990
Some change in Cargo/Rust version 1.70 or 1.71 appears to have broken the build on Windows because we are incorrectly attempting to check the native static libraries by compiling an empty file (/dev/null) which does not exist on Windows. A simple fix is to make an empty file of our own and use that instead. Fixes: Cisco-Talos#990
Some change in Cargo/Rust version 1.70 or 1.71 appears to have broken the build on Windows because we are incorrectly attempting to check the native static libraries by compiling an empty file (/dev/null) which does not exist on Windows. A simple fix is to make an empty file of our own and use that instead. Fixes: #990
Some change in Cargo/Rust version 1.70 or 1.71 appears to have broken the build on Windows because we are incorrectly attempting to check the native static libraries by compiling an empty file (/dev/null) which does not exist on Windows. A simple fix is to make an empty file of our own and use that instead. Fixes: #990
Some change in Cargo/Rust version 1.70 or 1.71 appears to have broken the build on Windows because we are incorrectly attempting to check the native static libraries by compiling an empty file (/dev/null) which does not exist on Windows. A simple fix is to make an empty file of our own and use that instead. Fixes: #990
Describe the bug
environment:
host:
x64-win10
compiler:
msvc(vs2022)
clamav:
v1.1.0
I used
vcpkg + cmake
to compile clamav on windows according to the clamav documentation, but finally reported an error when linking each application clamav application like this:And If add the
-DENABLE_APP=OFF
option, i can compile successfully.How to reproduce the problem
The text was updated successfully, but these errors were encountered: