WING☆
wings****@wing-*****
2013年 10月 30日 (水) 17:24:16 JST
WING☆です。 いつもお世話になっております。 CentOS 5で先日リリースされました3.0.9をビルドしようとしたところ 下記のようなエラーが発生しました。 make[3]: Entering directory `/usr/src/redhat/BUILD/groonga-3.0.9/benchmark' CC bench-table-factory.o CXXLD bench-table-factory CC bench-geo-distance.o CXXLD bench-geo-distance CC bench-geo-select.o CXXLD bench-geo-select CC bench-ctx-create.o bench-ctx-create.c: In function 'get_memory_usage': bench-ctx-create.c:47: error: 'GRegex' undeclared (first use in this function) bench-ctx-create.c:47: error: (Each undeclared identifier is reported only once bench-ctx-create.c:47: error: for each function it appears in.) bench-ctx-create.c:47: error: 'vm_rss_pattern' undeclared (first use in this function) bench-ctx-create.c:48: warning: ISO C90 forbids mixed declarations and code bench-ctx-create.c:49: error: 'GMatchInfo' undeclared (first use in this function) bench-ctx-create.c:49: error: 'match_info' undeclared (first use in this function) bench-ctx-create.c:50: warning: ISO C90 forbids mixed declarations and code bench-ctx-create.c:55: warning: implicit declaration of function 'g_regex_new' bench-ctx-create.c:56: warning: implicit declaration of function 'g_regex_match' bench-ctx-create.c:60: warning: implicit declaration of function 'g_match_info_fetch' bench-ctx-create.c:60: warning: assignment makes pointer from integer without a cast bench-ctx-create.c:63: warning: implicit declaration of function 'g_match_info_free' bench-ctx-create.c:64: warning: implicit declaration of function 'g_regex_unref' make[3]: *** [bench-ctx-create.o] Error 1 make[3]: Leaving directory `/usr/src/redhat/BUILD/groonga-3.0.9/benchmark' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/groonga-3.0.9/benchmark' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/groonga-3.0.9' make: *** [all] Error 2 以前にもメモリーの使用量が多く、メモリーを増やしたりしてみましたが、 改善が見られず、CentOS 6(32/64bit)ですと特に問題なくビルドできること から、別の環境的な何かでエラーが発生しているものと推測しました。 念のため3GBくらいまで増やしてみましたが、同じエラーでした。 また、32/64bit両方とも同じ結果です。 SPECファイルの中身は3.0.9のsrc.rpmと全く同じです。(diffで確認済み) もしも、何かお気づきの点などがございましたら、ご教示頂けますでしょうか。 必要な情報がございましたら、ご提示いたします。 何卒、宜しくお願い致します。 -- ━━━━━━━━━━━━………‥‥‥・・・ WING☆ http://wingse.blog57.fc2.com/ http://sourceforge.jp/projects/wing-repo/ twitter:wingstars555 Facebook:http://facebook.com/ason.fukui.5 ━━━━━━━━━━━━……‥‥・・