On Tue, Oct 1, 2013 at 11:47 AM, Zvi Kave <[email protected]> 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
[email protected]
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Reply via email to