Amanda-Users

Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-07 14:01:05
Subject: Re: 2.5.2 compilation failure on irix-6.5.x
From: Pieter Bowman <bowman AT math.utah DOT edu>
To: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
Date: Mon, 7 May 2007 11:27:03 -0600 (MDT)
>> ...
>> First go at amanda-2.5.2 on a system running irix-6.5.x
>> and compile fails with the error:
>> ...

This is the case on both IRIX and OSF/1.  These compilers can't
handle:

#define vstrallocf(...)         debug_vstrallocf(__FILE__,__LINE__,__VA_ARGS__)

The patch for sockaddr_storage seems to work with the addition of
these two definitions in amanda.h:


/* Needed on SGI IRIX 6.5 */
#ifdef WORKING_IPV6
#define INET6
#endif

#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#endif

Pieter

<Prev in Thread] Current Thread [Next in Thread>