Comment 1 for bug 1813962

Revision history for this message
uxeng (listmail) wrote :

just hit this on fedora 29

excerpt
ClamAv.cc: In member function 'virtual void Adapter::ClamAv::scan(Adapter::Answer&)':
ClamAv.cc:47:87: error: 'CL_SCAN_STDOPT' was not declared in this scope
     const int eScanResult = cl_scanfile(answer.fileName.c_str(), &virname, 0, engine, CL_SCAN_STDOPT);
                                                                                       ^~~~~~~~~~~~~~
ClamAv.cc:47:87: note: suggested alternative: 'CL_DB_STDOPT'
     const int eScanResult = cl_scanfile(answer.fileName.c_str(), &virname, 0, engine, CL_SCAN_STDOPT);
                                                                                       ^~~~~~~~~~~~~~
                                                                                       CL_DB_STDOPT
make[2]: *** [Makefile:589: ecap_clamav_adapter_la-ClamAv.lo] Error 1