[Linux-ha-jp] Heartbeat3.0.6ソースインストールでのmakeエラーについて

Back to archive index

renay****@yahoo***** renay****@yahoo*****
2015年 3月 10日 (火) 09:30:32 JST


福田さん

おはようございます。山内です。

外しているかも知れませんが、--disable-fatal-warningsオプションを指定して./configureを実行してみてはどうでしょうか?

エラー自体は、未使用変数に関するものですので、構築出来れば、無視しても問題ないはずです。


以上です。

----- Original Message -----
>From: Masamichi Fukuda - elf-systems <masamichi_fukud****@elf-s*****>
>To: "linux****@lists*****" <linux****@lists*****> 
>Date: 2015/3/10, Tue 05:53
>Subject: [Linux-ha-jp] Heartbeat3.0.6ソースインストールでのmakeエラーについて
> 
>
>お世話になります、福田です。
>
>検証のため、heartbeat3.0.6 + pacemaker1.1.12のインストールを開始しました。
>OSはdebian7.8です。
>
>cluster glue1.0.12はソースインストール完了しました。
>pacemakerはまだ手を付けていません。
>
>heartbeat3.0.6のインストールについて質問させて頂きます。
>
>$ ./bootstrap
>$ ./configure
>
>は正常終了しています。
>
>make時に次のエラーが出ます。
>
>Making all in buildtools
>make[1]: Entering directory `/var/tmp/Heartbeat-3-0-958e11be8686/buildtools'
>gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include   -I/usr/local/include/heartbeat -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -Wno-unused -g -O2  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror  -ggdb3 -funsigned-char -MT ccdv-ccdv.o -MD -MP -MF .deps/ccdv-ccdv.Tpo -c -o ccdv-ccdv.o `test -f 'ccdv.c' || echo './'`ccdv.c
>ccdv.c: In function 'SlurpProgress':
>ccdv.c:116:32: error: variable 'trailcp' set but not used [-Werror=unused-but-set-variable]
>ccdv.c:114:29: error: variable 'tleft' set but not used [-Werror=unused-but-set-variable]
>ccdv.c: In function 'main':
>ccdv.c:362:11: error: variable 'retval' set but not used [-Werror=unused-but-set-variable]
>cc1: all warnings being treated as errors
>make[1]: *** [ccdv-ccdv.o] Error 1
>make[1]: Leaving directory `/var/tmp/Heartbeat-3-0-958e11be8686/buildtools'
>make: *** [all-recursive] Error 1
>
>何か解決策がありましたら、ご教示お願いします。
>
>宜しくお願いします。
>
>以上
>
>
>-- 
>
>ELF Systems
>Masamichi Fukuda
>mail to: masamichi_fukud****@elf-s*****
>_______________________________________________
>Linux-ha-japan mailing list
>Linux****@lists*****
>http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
>
>
>





Linux-ha-japan メーリングリストの案内
Back to archive index