<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">W dniu 2015-05-28 o 11:50,
      <a class="moz-txt-link-abbreviated" href="mailto:philipp.achmueller@arz.at">philipp.achmueller@arz.at</a> pisze:<br>
    </div>
    <blockquote
cite="mid:OF2BABCEEB.2B449E26-ONC1257E53.0035CF01-C1257E53.003614F2@arz.at"
      type="cite"><tt><font size="2">>In file included from
          compat.c:23:0:<br>
          >../../include/crm_internal.h:309:1: error: conflicting
          types for <br>
          >'qb_to_cs_error'<br>
          >  qb_to_cs_error(int a)<br>
          >  ^<br>
          >In file included from
          /usr/include/corosync/coroipcc.h:42:0,<br>
          >                  from
          ../../include/crm_internal.h:306,<br>
          >                  from
          compat.c:23:<br>
          >/usr/include/corosync/corotypes.h:139:12: note: previous
          declaration
          of <br>
          >'qb_to_cs_error' was here<br>
          >  cs_error_t qb_to_cs_error (int result);<br>
          >             ^<br>
        </font></tt>
      <br>
      <font face="Arial" size="2">i solved this in my environment
        (SLES11.3)
        with removing "old" corosync (1.x) installations</font>
      <br>
      <br>
      <font face="Arial" size="2">regards</font>
      <br>
      <font face="Arial" size="2">Philipp</font><font face="sans-serif"
        size="2"><br>
      </font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://clusterlabs.org/mailman/listinfo/users">http://clusterlabs.org/mailman/listinfo/users</a>

Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
    </blockquote>
    <br>
    i solved this error  using this patch<br>
    <br>
    <br>
    [*] The patch removing qb_to_cs_error. Why do I have this error?
    <br>
    ---------------
    <br>
    diff --git a/include/crm_internal.h b/include/crm_internal.h
    <br>
    index 1cfea09..82ba820 100644
    <br>
    --- a/include/crm_internal.h
    <br>
    +++ b/include/crm_internal.h
    <br>
    @@ -231,11 +231,6 @@ typedef struct qb_ipc_response_header
    <br>
    cs_ipc_header_response_t;
    <br>
     #      include <corosync/corodefs.h>
    <br>
     #      include <corosync/coroipcc.h>
    <br>
     #      include <corosync/coroipc_types.h>
    <br>
    -static inline int
    <br>
    -qb_to_cs_error(int a)
    <br>
    -{
    <br>
    -    return a;
    <br>
    -}
    <br>
    <br>
     typedef coroipc_request_header_t cs_ipc_header_request_t;
    <br>
     typedef coroipc_response_header_t cs_ipc_header_response_t;
    <br>
    <br>
    <br>
    <font face="Arial" size="2">Regards</font>
    <br>
    Rafał Sanocki<br>
    <br>
  </body>
</html>