Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-09 Thread Jean-Louis Martineau
Pieter Bowman wrote: This is the case on both IRIX and OSF/1. These compilers can't handle: #define vstrallocf(...) debug_vstrallocf(__FILE__,__LINE__,__VA_ARGS__) I fix it in the 2.5.2 tree, but the next release will require that syntax, which is in the C99 standard. Do you

2.5.2 compilation failure on irix-6.5.x

2007-05-07 Thread Jean-Francois Malouin
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 =

Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-07 Thread dustin
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

Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-07 Thread Jean-Francois Malouin
* Pieter Bowman [EMAIL PROTECTED] [20070507 13:27]: ... 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(...)

Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-07 Thread Pieter Bowman
... 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

Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-07 Thread Jean-Louis Martineau
Pieter, Jean-Francois, Can you try the attached patch for the vstrallocf problem. Jean-Louis Pieter Bowman wrote: ... 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:

Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-07 Thread Pieter Bowman
... cc-1084 cc: ERROR File = /usr/include/sys/socket.h, Line = 66 The indicated declaration has an invalid combination of type specifiers. typedef int socklen_t; ... I'm guessing that Jean-Francois' release of IRIX is probably newer than the one I have (IRIX 6.5.4m here). The

Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-07 Thread Jean-Francois Malouin
* Pieter Bowman [EMAIL PROTECTED] [20070507 15:09]: ... cc-1084 cc: ERROR File = /usr/include/sys/socket.h, Line = 66 The indicated declaration has an invalid combination of type specifiers. typedef int socklen_t; ... I'm guessing that Jean-Francois' release of IRIX is

Re: 2.5.2 compilation failure on irix-6.5.x

2007-05-07 Thread Pieter Bowman
... Can you try the attached patch for the vstrallocf problem. ... That corrected the problem for both IRIX and OSF/1 for me. Pieter