2009-05-28 nagios-3.0.6でコンパイルエラー. nagios-3.0.6でコンパイルエラー. 構文解析エラーというわけのわからないエラーだったけど, 解決した人がいたはっきりいってぜんぜんわからないので、途方にくれたんだけど、あてずっぽうでエラーになった行をちょっと前に持っていったら通った。 なんなんでしょう。 int regex_i=1; int i=0; int len=strlen(host_name); /* allocate for 3 extra chars, ^, $ and \0 */ host_filter = malloc(sizeof(char) * (strlen(host_name) * 2 + 3));で,プラグインをいれようとしたらまたエラーI also encountered this problem on an older server at my work - RedHat 7.1 (this OS wasRIP circa 2002). It can be circumvented by commenting out the "argv=np_extra_opts(...)" line. This function allows the inclusion of additional command line options from an externalconfig file. But we will have to live without it.argv=np_extra_opts(...) の行をコメントアウトすればOKRedhatのバージョンが低いのが原因のようだ