On 2008-09-30 20:02, Jason Staudenmayer wrote:
> Hi all it seems I getting a compile error with clamav-0.94 on Fedora 9 with a 
> patch for daemontools.
> The patch compiles fine on my Fedora 5 box but not this one.
>
> Here's the error I'm getting
> gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav   -g -O2 -MT 
> clamd.o -MD -MP -MF .deps/clamd.Tpo -c -o clamd.o clamd.c
> clamd.c: In function âmainâ:
> clamd.c:239: error: âuse_stderrâ undeclared (first use in this function)
> clamd.c:239: error: (Each undeclared identifier is reported only once
> clamd.c:239: error: for each function it appears in.)
>   

Is line 239 the same for you?
fprintf(stderr, "ERROR: Problem with internal logger. Please check the
permissions on the %s  file.\n", logg_file);

Does an unpatched clamav compile on your box?
How does the patch look like?

Best regards,
--Edwin


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to