Issues that occur with compiling heartbeat

Source: Internet
Author: User

As reported

Cc1:warnings being treated as errors

Pils.c:245:error:initialization fromincompatible pointer type

Pils.c:246:error:initialization fromincompatible pointer type

GMAKE[2]: * * [Pils.lo] Error 1

GMAKE[2]: Leaving directory '/root/heartbeat-2.0.7/lib/pils '

GMAKE[1]: * * [all-recursive] Error 1

GMAKE[1]: Leaving directory '/root/heartbeat-2.0.7/lib '

Make: * * [all-recursive] Error 1



Remove all-werror from the makefile in the/root/heartbeat-2.0.7/lib/pils



As reported

Cc1:warnings being treated as errors

Client_lib.c:1850:error: ' DISPLAY_ORDERQ ' defined but not used

GMAKE[2]: * * [Client_lib.lo] Error 1

GMAKE[2]: Leaving directory '/root/heartbeat-2.0.7/lib/hbclient '

GMAKE[1]: * * [all-recursive] Error 1

GMAKE[1]: Leaving directory '/root/heartbeat-2.0.7/lib '

Make: * * [all-recursive] Error 1

Remove all-werror from the makefile in the/root/heartbeat-2.0.7/lib/hbclient



As reported

Cc1:warnings being treated as errors

Stonith_signal.h:34:error: ' Stonith_signal_set_simple_handler ' defined but not used

GMAKE[4]: * * [Apcmaster.lo] Error 1

GMAKE[4]: Leaving directory '/root/heartbeat-2.0.7/lib/plugins/stonith '

GMAKE[3]: * * [all-recursive] Error 1

GMAKE[3]: Leaving directory '/root/heartbeat-2.0.7/lib/plugins/stonith '

GMAKE[2]: * * [all-recursive] Error 1

GMAKE[2]: Leaving directory '/root/heartbeat-2.0.7/lib/plugins '

GMAKE[1]: * * [all-recursive] Error 1

GMAKE[1]: Leaving directory '/root/heartbeat-2.0.7/lib '

Make: * * [all-recursive] Error 1

Remove all-werror from the makefile in the/root/heartbeat-2.0.7/lib/plugins/stonith



As reported

Cc1:warnings being treated as errors

conf_lex.c:1195: Error: ' input ' is not used after definition

GMAKE[2]: * * [RECOVERYMGRD-CONF_LEX.O] Error 1

GMAKE[2]: Leaving directory '/ROOT/HEARTBEAT-2.0.7/TELECOM/RECOVERYMGRD '

GMAKE[1]: * * [all-recursive] Error 1

GMAKE[1]: Leaving directory '/root/heartbeat-2.0.7/telecom '

Make: * * [all-recursive] Error 1

Remove all-werror from the makefile in the/ROOT/HEARTBEAT-2.0.7/TELECOM/RECOVERYMGRD

As reported

Chown Hacluster/var/lib/heartbeat/cores/hacluster

Chown: Invalid User: "Hacluster"

GMAKE[2]: [install-exec-local] Error 1 (ignored)

chmod 700/var/lib/heartbeat/cores/hacluster

GMAKE[2]: Nothing to is done for ' install-data-am '.

GMAKE[2]: Leaving directory '/root/heartbeat-2.0.7 '

GMAKE[1]: Leaving directory '/root/heartbeat-2.0.7 '

It proves that no users and groups have been added, and then compiled and installed by adding users and groups above.



Appears after the end

Chown Hacluster/var/lib/heartbeat/cores/hacluster

chmod 700/var/lib/heartbeat/cores/hacluster

GMAKE[2]: Nothing to is done for ' install-data-am '.

GMAKE[2]: Leaving directory '/root/heartbeat-2.0.7 '

GMAKE[1]: Leaving directory '/root/heartbeat-2.0.7 '

It proves that the installation was successful

Issues that occur with compiling heartbeat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.