LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Installing arc for Amavis: compile problems

[ILUG] Installing arc for Amavis: compile problems

Cormac McClean CMcClean at ait.ie
Fri Oct 18 12:53:04 IST 2002


Hi,

I'm attempting to install Amavis (A Mail Virus Scanner).
One of the dependencies is arc (an archiving tool).
I've downloaded the arc source file (arc521.tar.Z)
and tried to install it, but I get the error:
 
$make
gcc -O -DBSD=1 -c arcdos.c
arcdos.c:35: redefinition of `struct timeval'
make: *** [arcdos.o] Error 1

The relevant section of arcdos.c is (comments are not mine): 
#if     UNIX
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>

struct timeval {        /* man page said <sys/types.h>, but it */
        long tv_sec;    /* really seems to be in <sys/time.h>, */
        long tv_usec;   /* but why bother... */
};
#endif

I remove the redefinition of the timeval struct just see what happens,
and I get further errors:
 
tmclock.c: In function `tmjuliandate':
tmclock.c:34: dereferencing pointer to incomplete type
tmclock.c:35: dereferencing pointer to incomplete type
tmclock.c:36: dereferencing pointer to incomplete type
tmclock.c: In function `tmsubdayclock':
tmclock.c:75: dereferencing pointer to incomplete type
tmclock.c:76: dereferencing pointer to incomplete type
tmclock.c:77: dereferencing pointer to incomplete type
make: *** [tmclock.o] Error 1

Has anyone dealt with this issue - i.e. installed Amavis/arc?
Any suggestions as to how to proceed? 

Thanks in advance,
Cormac.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell