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) <andreas.gruenin...@lgl.bwl.de> 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 's#stdout#stdoutx#' include/crm/stonith-ng-internal.h > perl -pi -e 's#>stdout#>stdoutx#' lib/fencing/st_client.c > perl -pi -e 's#>stdout#>stdoutx#' fencing/commands.c > > Do I miss a compiler flag to accept stdout as a variable name? > > In tools/crm_mon.c I added the line with the '+' because sighandler_t is not > defined. > #if CURSES_ENABLED > + typedef void (*sighandler_t)(int); > static sighandler_t ncurses_winch_handler; > > Also the test for a compatible printw function fails with a error message > like "your ncurses is too old, we need 5.4". > The version of the installed ncurses library is 5.7. > I added between autogen.sh and gmake this to include/config.h which > invalidate the result of the erroneously failing test: > echo '#undef HAVE_INCOMPATIBLE_PRINTW'>>include/config.h > > crm and crm_mon work without any problem. > > Should I send patches via the list or report a bug? > > Andreas > > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org