Re: [Pacemaker] stdout reserved word

2012-08-23 Thread Andrew Beekhof
On Fri, Aug 24, 2012 at 11:44 AM, Grüninger, Andreas (LGL Extern) wrote: > Unfortunately no. > gcc 4.5 for Solaris and gcc 4.6 for OpenIndiana produce the same error. Ok, these two commits should help: https://github.com/beekhof/pacemaker/commit/f5cef90 https://github.com/beekhof/pacemaker/commi

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread LGL Extern
mmand_t' has no member named 'killseq' > st_client.c:501:50: error: 'async_command_t' has no member named 'killseq' > gmake[2]: *** [st_client.lo] Error 1 > gmake[2]: Leaving directory `/export/builds/pacemaker-1.1.7/lib/fencing' > gmake[1]: *** [all

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread Andrew Beekhof
27; has no member named 'killseq' > st_client.c:501:50: error: 'async_command_t' has no member named 'killseq' > gmake[2]: *** [st_client.lo] Error 1 > gmake[2]: Leaving directory `/export/builds/pacemaker-1.1.7/lib/fencing' > gmake[1]: *** [all-recursi

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread LGL Extern
[2]: Leaving directory `/export/builds/pacemaker-1.1.7/lib/fencing' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/export/builds/pacemaker-1.1.7/lib' gmake: *** [all-recursive] Error 1 -Ursprüngliche Nachricht- Von: Andrew Beekhof [mailto:and...@beekhof.net]

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread Andrew Beekhof
is library; if not, write to the Free Software > * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA > */ > #ifndef STONITH_NG_INTERNAL__H > # define STONITH_NG_INTERNAL__H > > # include > # include > # include > > typedef struct async_

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread LGL Extern
t; 0) { memset(&buffer, 0, READ_MAX); more = read(cmd->stdout, buffer, READ_MAX-1); crm_trace("Got %d more bytes: %s", more, buffer); } if(more > 0) { crm_realloc(output, len + more + 1); sprintf(output+len

Re: [Pacemaker] stdout reserved word

2012-08-22 Thread Andrew Beekhof
Can you show us the gcc command line and the errors that are produced? On Wed, Aug 22, 2012 at 3:20 AM, Grüninger, Andreas (LGL Extern) wrote: > Hello > > I compiled Pacemaker 1.1.7 with gcc 4.5 in Solaris 11 and with gcc 4.6 in > OpenIndiana 151a6. > I had to change the following: > perl -pi -e