On Solaris with Sun's compilers and latest CVS source I get the
following error on configure.  I have not seen this error before and I
have been building clamav with Sun's compiler for many months from the
released source and occasionally from CVS source.

| int main(int argc, char **argv) {
| #pragma pack(1)                       /* has to be in column 1 ! */
|                       struct { char c; long l; } s;
|                       return sizeof(s)==sizeof(s.c)+sizeof(s.l) ? 0:1;
}
configure:11667: result: no
configure:11677: error: Need to know how to pack structures with this
compiler

For sparc, there is a #pragma pack(n) directive and (n) has to be a
power of 2, so that may be cause of the error.  I am not sure about x86,
but I also need that architecture.

What info do I need to supply to get this sorted?  I have a section in
the compiler manual regarding '#pragma pack(n)', but it is over my head.

Thanks, Alex




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to