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
just hit this on fedora 29
excerpt :ClamAv: :scan(Adapter: :Answer& )': answer. fileName. c_str() , &virname, 0, engine, CL_SCAN_STDOPT);
^~~~ ~~~~~~~ ~~~ answer. fileName. c_str() , &virname, 0, engine, CL_SCAN_STDOPT);
^~~~ ~~~~~~~ ~~~
CL_DB_ STDOPT adapter_ la-ClamAv. lo] Error 1
ClamAv.cc: In member function 'virtual void Adapter:
ClamAv.cc:47:87: error: 'CL_SCAN_STDOPT' was not declared in this scope
const int eScanResult = cl_scanfile(
ClamAv.cc:47:87: note: suggested alternative: 'CL_DB_STDOPT'
const int eScanResult = cl_scanfile(
make[2]: *** [Makefile:589: ecap_clamav_