On Wed, 2004-09-22 at 10:58, Marc ROMERO wrote:
> Dear clamav-users
> 
> I've a Linux Debian (2.4.20) whose running clamav-0.75.1. I'm trying to compile
> clamav-0.80rc2 and I didn't manage to compile a new version because I'm
> getting the following error message (The error message is given at the
> end of the message). Can you help me ?

> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared 
> -DSENDMAIL_BIN=\"/opt/sendmail/sbin/sendmail\" -L/opt/sendmail/include -c 
> clamav-milter.c
> clamav-milter.c: In function `main':
> clamav-milter.c:834: `LC_ALL' undeclared (first use in this function)
> clamav-milter.c:834: (Each undeclared identifier is reported only once
> clamav-milter.c:834: for each function it appears in.)
> make[2]: *** [clamav-milter.o] Error 1
> make[2]: Leaving directory `/staff/clamav-0.80rc2/clamav-milter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/staff/clamav-0.80rc2'
> make: *** [all] Error 2

Does this patch fix it? You may have to apply by hand.

--- clamav-milter.c     20 Sep 2004 12:46:05 -0000      1.131
+++ clamav-milter.c     22 Sep 2004 10:23:49 -0000
@@ -454,6 +454,7 @@
  
 #ifdef C_LINUX
 #include <libintl.h>
+#include <locale.h>
  
 #define        gettext_noop(s) s
 #define        _(s)    gettext(s)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to