Re: [clamav-users] clamav-0.98 in AIX: make, libclamav/asn1.c failed to compile

2013-10-01 Thread David Raynor
On Tue, Oct 1, 2013 at 2:31 PM, David Raynor  wrote:

>
> On Tue, Oct 1, 2013 at 11:47 AM, Zvi Kave  wrote:
>
>> I hope that someone can help.
>> I got the following error on make of clamav-0.98 in AIX:
>>
>>   CC libclamav_la-version.lo
>>  CC libclamav_la-asn1.lo
>>asn1.c: In function `asn1_get_time':
>>asn1.c:293: error: storage size of `t' isn't known
>>make: The error code from the last command is 1.
>>
>>
>>Stop.
>>
>>  make: The error code from the last command is 1.
>>
>>
>>  Stop.
>>  make: The error code from the last command is 2.
>>
>>
>>  Stop.
>>  make: The error code from the last command is 1.
>>
>>
>>  Stop.
>>  make: The error code from the last command is 2.
>>
>>
>>  Stop.
>> ___
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>> http://www.clamav.net/support/ml
>>
>
> The t variable in that function is of type "struct tm". The asn1.c file
> includes time.h earlier in the file on line 25. From the Technical
> Reference part of the AIX documentation:
> "The tm structure is defined in the time.h file ..."
>
> Is your time.h file intact? Are you adding any defines that may conflict
> with it? Could there be another copy of time.h that is getting included
> somehow?
>
> Dave R.
>
> --
> ---
> Dave Raynor
> Sourcefire Vulnerability Research Team
> dray...@sourcefire.com
>


Try adding these lines to the asn1.c file on line 24, just before the
include of time.h line 25:

#ifndef _WIN32
#include 
#endif

See if that makes a difference.

Dave R.

-- 
---
Dave Raynor
Sourcefire Vulnerability Research Team
dray...@sourcefire.com
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml


Re: [clamav-users] clamav-0.98 in AIX: make, libclamav/asn1.c failed to compile

2013-10-01 Thread David Raynor
On Tue, Oct 1, 2013 at 11:47 AM, Zvi Kave  wrote:

> I hope that someone can help.
> I got the following error on make of clamav-0.98 in AIX:
>
>   CC libclamav_la-version.lo
>  CC libclamav_la-asn1.lo
>asn1.c: In function `asn1_get_time':
>asn1.c:293: error: storage size of `t' isn't known
>make: The error code from the last command is 1.
>
>
>Stop.
>
>  make: The error code from the last command is 1.
>
>
>  Stop.
>  make: The error code from the last command is 2.
>
>
>  Stop.
>  make: The error code from the last command is 1.
>
>
>  Stop.
>  make: The error code from the last command is 2.
>
>
>  Stop.
> ___
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> http://www.clamav.net/support/ml
>

The t variable in that function is of type "struct tm". The asn1.c file
includes time.h earlier in the file on line 25. From the Technical
Reference part of the AIX documentation:
"The tm structure is defined in the time.h file ..."

Is your time.h file intact? Are you adding any defines that may conflict
with it? Could there be another copy of time.h that is getting included
somehow?

Dave R.

-- 
---
Dave Raynor
Sourcefire Vulnerability Research Team
dray...@sourcefire.com
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml


[clamav-users] clamav-0.98 in AIX: make, libclamav/asn1.c failed to compile

2013-10-01 Thread Zvi Kave
I hope that someone can help.
I got the following error on make of clamav-0.98 in AIX:

  CC libclamav_la-version.lo
 CC libclamav_la-asn1.lo
   asn1.c: In function `asn1_get_time':
   asn1.c:293: error: storage size of `t' isn't known
   make: The error code from the last command is 1.


   Stop.

 make: The error code from the last command is 1.


 Stop.
 make: The error code from the last command is 2.


 Stop.
 make: The error code from the last command is 1.


 Stop.
 make: The error code from the last command is 2.


 Stop.
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml


[clamav-users] clamd.conf - Include an exclude file.

2013-10-01 Thread Tom Bjørnli
Hi.

Is there any way to include an external file which contains all the
files one wish to exclude?
I want to have the exact same clamd.conf on several servers, but be
able to exclude specific files per server in /etc/clamd_exclude.conf

We're running on 0.98 and I've tried to include a file in clamd.conf
with "Include /etc/clamd_exclude.conf"-statement without any luck.

-- 
Tom Bjørnli
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml