[clamav-users] Trouble compiling - Re: ClamAV 0.100.1 has been released!
Kevin A. McGrail
KMcGrail at PCCC.com
Mon Jul 9 13:36:23 EDT 2018
On 7/9/2018 12:55 PM, Joel Esler (jesler) wrote:
Compiling is throwing an error in freshclam for me.
make: Entering directory `/usr/src/clamav-0.100.1/freshclam'
manager.c: In function 'wwwconnect':
manager.c:234: error: 'AI_ADDRCONFIG' undeclared (first use in this
manager.c:234: error: (Each undeclared identifier is reported only once
manager.c:234: error: for each function it appears in.)
make: *** [manager.o] Error 1
make: Leaving directory `/usr/src/clamav-0.100.1/freshclam'
make: *** [all-recursive] Error 1
make: Leaving directory `/usr/src/clamav-0.100.1'
make: *** [all] Error 2
Comparing manager.c and reverting the one line change from 0.100.0
resolves the issue for me.
i.e. removing the hints.ai_flags = AI_ADDRCONFIG; line makes 0.100.1
compile for me.
My guess is this would be an appropriate fix:
hints.ai_flags = AI_ADDRCONFIG;
More information about the clamav-users