flaviu2 Posted May 11, 2017 Report Share Posted May 11, 2017 Hi all of you. I am struggling for days to compile clamav library, with no success. Could you provide me the clamav library in order to use it in a simple test application ? I have tried to compile the clamav library, and I respected whole steps, versions, etc. The source code I have taken from here: https://github.com/vrtadmin/clamav-devel The instructions I have taken from here; http://blog.clamav.net/2014/07/compiling-openssl-for-windows.html I have compiled the library on Win10, with VS2017, and I get following errors: 1>d:\tempx\clamav-devel-master\libclamav\libmspack.c(12): fatal error C1083: Cannot open include file: 'mspack.h': No such file or directory 1>Done building project "libclamav.vcxproj" -- FAILED. 2>"D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib" 3>LINK : fatal error LNK1104: cannot open file 'D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib' 3>Done building project "clamscan.vcxproj" -- FAILED. 5>LINK : fatal error LNK1104: cannot open file 'D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib' 4>"D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib" 5>Done building project "clamdscan.vcxproj" -- FAILED. 6>------ Build started: Project: clamd, Configuration: Debug Win32 ------ 4>LINK : fatal error LNK1104: cannot open file 'libcrypto.lib' 4>Done building project "freshclam.vcxproj" -- FAILED. 7>------ Build started: Project: clamconf, Configuration: Debug Win32 ------ 6>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\link.exe /ERRORREPORT:PROMPT /OUT:"D:\Tempx\clamav-devel-master\win32\Win32\Debug\clamd.exe" /INCREMENTAL /NOLOGO /LIBPATH:C:\clamdeps\win32\openssl\lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG:FASTLINK /PDB:"D:\Tempx\clamav-devel-master\win32\Win32\Debug\clamd.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\Tempx\clamav-devel-master\win32\Win32\Debug\clamd.lib" /MACHINE:X86 "D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\clamd.res" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\onaccess_fan.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\clamd.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\localserver.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\others.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\scanner.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\server-th.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\session.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\tcpserver.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\thrmgr.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\idmef_logging.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\misc.obj" 6>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamd\Debug\output.obj" 6>"D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib" 6>LINK : fatal error LNK1104: cannot open file 'D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib' 6>Done building project "clamd.vcxproj" -- FAILED. 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\link.exe /ERRORREPORT:PROMPT /OUT:"D:\Tempx\clamav-devel-master\win32\Win32\Debug\clamconf.exe" /INCREMENTAL /NOLOGO /LIBPATH:C:\clamdeps\win32\openssl\lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG:FASTLINK /PDB:"D:\Tempx\clamav-devel-master\win32\Win32\Debug\clamconf.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\Tempx\clamav-devel-master\win32\Win32\Debug\clamconf.lib" /MACHINE:X86 "D:\Tempx\clamav-devel-master\win32\build\Win32\clamconf\Debug\clamconf.res" 7>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamconf\Debug\clamconf.obj" 7>"D:\Tempx\clamav-devel-master\win32\build\Win32\clamconf\Debug\misc.obj" 7>"D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib" 7>LINK : fatal error LNK1104: cannot open file 'D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib' 7>Done building project "clamconf.vcxproj" -- FAILED. 8>"D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib" 8>LINK : fatal error LNK1104: cannot open file 'D:\Tempx\clamav-devel-master\win32\Win32\Debug\libclamav.lib' 8>Done building project "clambc.vcxproj" -- FAILED. Could you provide me the clamav library in order to use in a test app, just like in the test example ? Thank you for any support/hint ! Link to comment Share on other sites More sharing options...
flaviu2 Posted May 11, 2017 Author Report Share Posted May 11, 2017 I have noticed that I am missing C:\clamdeps\win32\mspack\include how can I get this "mspack" folder, and what it is that ? Link to comment Share on other sites More sharing options...
ritchie58 Posted May 12, 2017 Report Share Posted May 12, 2017 Hello gentlemen, might I suggest you direct your inquiries directly to the ClamAV team. I'm sure they can give you the answers you're looking for. https://www.clamav.net/contactCheers, Ritchie... Link to comment Share on other sites More sharing options...
flaviu2 Posted May 25, 2017 Author Report Share Posted May 25, 2017 I had write them, but their mailing list are working bad ... their mailing list said that I have a virus on my PC, and ban me ... hmm ... I don't know how to get clamav library ... and I really need this ! Link to comment Share on other sites More sharing options...
ritchie58 Posted May 25, 2017 Report Share Posted May 25, 2017 Since ClamAV is open-sourced you can subscribe, via email, to receive the latest ClamAV virus database signature announcements at this link. http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-virusdb By further reviewing your first thread I would have to concur with the ClamAV team, since you got so many error messages, that maybe a preexisting malware infection is present on your system. Sorry for not immediately picking up on that myself.Many forms of malware will not allow you to update your AV solution, or worse yet, completely disable your AV in a worse case scenario. Regards, Ritchie... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.