Amanda-Users

Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-07 13:31:01
Subject: Re: 2.5.2 compilation failure on irix-6.5.x
From: dustin AT zmanda DOT com
To: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
Date: Mon, 7 May 2007 12:17:30 -0500
This is the same error as in
  http://groups.yahoo.com/group/amanda-hackers/message/5401
the same patch is attached here -- could you let us know if it fixes the
compile?

Dustin

On Mon, May 07, 2007 at 12:05:44PM -0400, Jean-Francois Malouin wrote:
> First go at amanda-2.5.2 on a system running irix-6.5.x
> and compile fails with the error:
> 
> 
> cc-1040 cc: ERROR File = amanda.h, Line = 623
>   An identifier is expected.
> 
>   #define vstrallocf(...)
> debug_vstrallocf(__FILE__,__LINE__,__VA_ARGS__)
>                      ^
> 
> cc-1204 cc: WARNING File = amanda.h, Line = 957
>   The indicated declaration is not visible outside of the function.
> 
>   extern int check_security(struct sockaddr_storage *, char *,
> unsigned long, char **);
>                                    ^
> 
> 1 error detected in the compilation of "alloc.c".
> make[1]: *** [alloc.lo] Error 1
> make[1]: Leaving directory
> `/stuff/amanda-source/amanda-2.5.2/common-src'
> make: *** [all-recursive] Error 1
> 
> 
> jf
> -- 
> <? ><

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/

Attachment: sockaddr_storage.patch
Description: Text document

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