[clamav-users] Trouble compiling - Re: ClamAV 0.100.1 has been released!
Kevin A. McGrail
KMcGrail at PCCC.com
Mon Jul 9 17:36:23 UTC 2018
On 7/9/2018 12:55 PM, Joel Esler (jesler) wrote:
> https://blog.clamav.net/2018/07/clamav-01001-has-been-released.html
Hi All,
Compiling is throwing an error in freshclam for me.
make[2]: Entering directory `/usr/src/clamav-0.100.1/freshclam'
CC output.o
CC optparser.o
CC getopt.o
CC misc.o
CC cdiff.o
CC tar.o
CC clamdcom.o
CC freshclam.o
CC manager.o
manager.c: In function 'wwwconnect':
manager.c:234: error: 'AI_ADDRCONFIG' undeclared (first use in this
function)
manager.c:234: error: (Each undeclared identifier is reported only once
manager.c:234: error: for each function it appears in.)
make[2]: *** [manager.o] Error 1
make[2]: Leaving directory `/usr/src/clamav-0.100.1/freshclam'
make[1]: *** [all-recursive] Error 1
make[1]: 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:
#ifdef AI_ADDRCONFIG
hints.ai_flags = AI_ADDRCONFIG;
#endif
Regards,
KAM
More information about the clamav-users
mailing list