JPEG Virus

William K. Hardeman wont-i at wkh.org
Wed Sep 29 15:20:27 IST 2004


<x-flowed>
--On Wednesday, 29 September, 2004 14:21 +0100 Julian Field
<mailscanner at ECS.SOTON.AC.UK> wrote:

> At 14:01 29/09/2004, you wrote:
>> I then get the following error when trying to make Mail-ClamAV-0.11
>>
>> make[1]: Entering directory
>> `/usr/src/redhat/BUILD/Mail-ClamAV-0.11/_Inline/build/Mail/ClamAV'
>> /usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp  -typemap
>> /usr/lib/perl5/5.8.3/ExtUtils/typemap   ClamAV.xs > ClamAV.xsc && mv
>> ClamAV.xsc ClamAV.c
>> gcc -c  -I/usr/src/redhat/BUILD/Mail-ClamAV-0.11 -I/usr/local/include
>> -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
>> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386
>> -mcpu=i686   -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC
>> "-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE"   ClamAV.c
>> ClamAV.xs: In function `clamav_perl_constant':
>> ClamAV.xs:282: error: `CL_SCAN_ENCRYPTED' undeclared (first use in this
>> function)
>> ClamAV.xs:282: error: (Each undeclared identifier is reported only once
>> ClamAV.xs:282: error: for each function it appears in.)
>> ClamAV.xs:284: error: `CL_NUM_CHILDS' undeclared (first use in this
>> function)
>> ClamAV.xs:285: error: `CL_MIN_LENGTH' undeclared (first use in this
>> function)
>> make[1]: *** [ClamAV.o] Error 1
>
> This is exactly the error a few others of us are getting. Mail::ClamAV
> won't build against the new ClamAV 0.80rc3. I'll mail the Mail::ClamAV
> maintainer.


As everyone else, I was getting this error too. In scanning the sources,
though, it _looks_ like Mail::ClamAV makes no use of CL_NUM_CHILDS,
CL_MIN_LENGTH and CL_SCAN_ENCRYPTED. I therefore removed those lines from
the Mail::ClamAV xs file and it compiled fine. I'm not using the
clamav-module scanner, though, so I couldn't say for certain it didn't
cause problems in removing those lines.

Will

--
----------------------------------------------------------------------------
William K. Hardeman
wont-i at wkh.org
http://www.wkh.org

The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
                -- Isaac Asimov

Always listen to experts. They'll tell you what can't be done and why. Then
do it.
--Robert A. Heinlein

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list