Namazu-users-ja(旧)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: namazuのmake chexk時にintlにてエラーが発生する。



ご回答ありがとうございます。

> 今となっては gcc 2.7.2 はちょっと古すぎるのではないでしょうか。それ
> が原因かどうかはわかりませんが...

私も気になって、GNUgcc 2.95.2に入れなおしました。

%pkginfo | grep gcc
utility     GNUgcc         GNU gcc 2.95.2 SPARC Solaris 2.6

そこで再度./configureを行い、make checkを実行したところ、今まで途中で異常終了していたのですが、
今回はwarningを出力しつつも最後まで終了しました。(warningの出方も変わりました。)
再度、make checkを実行したところ、今度はwarningが1つも発生せずに正常終了しました。

→1回目と2回目でmake checkの結果は異なるものなのでしょうか?

2回目が正常終了したので、少し強引とは思いましたが、make installを実施しました。
おそるおそるmknmz,namazuテストを実行すると正常に出力され、特に問題があるように見えませんでした。

1回目のmake check時のエラーを以下に明記します。
やはりエラーを対処した上でmake installを実施した方がよいのでしょうか?ご教示下さい。

---------------------------------------------------------------------------------
【発生したwarning内容】
 ・
Making check in intl
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  intl-compat.c
In file included from intl-compat.c:25:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  bindtextdom.c
In file included from bindtextdom.c:32:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  dcgettext.c
In file included from dcgettext.c:23:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  dgettext.c
In file included from dgettext.c:25:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  gettext.c
In file included from gettext.c:30:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  finddomain.c
In file included from finddomain.c:33:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  loadmsgcat.c
In file included from loadmsgcat.c:75:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
loadmsgcat.c:142: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:143: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:147: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:148: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:149: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:151: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:156: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:157: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:158: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:160: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:162: warning: ANSI C forbids specifying element to initialize
loadmsgcat.c:163: warning: ANSI C forbids specifying element to initialize
loadmsgcat.c: In function `_nl_load_domain':
loadmsgcat.c:511: warning: subscript has type `char'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  localealias.c
In file included from localealias.c:60:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
localealias.c: In function `read_alias_file':
localealias.c:247: warning: subscript has type `char'
localealias.c:254: warning: subscript has type `char'
localealias.c:261: warning: subscript has type `char'
localealias.c:270: warning: subscript has type `char'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  textdomain.c
In file included from textdomain.c:31:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  l10nflist.c
l10nflist.c:150: warning: ANSI does not permit the keyword `inline'
l10nflist.c: In function `_nl_normalize_codeset':
l10nflist.c:359: warning: subscript has type `char'
l10nflist.c:363: warning: subscript has type `char'
l10nflist.c:377: warning: subscript has type `char'
l10nflist.c:379: warning: subscript has type `char'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  explodename.c
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  dcigettext.c
In file included from dcigettext.c:77:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
In file included from dcigettext.c:83:
hash-string.h:38: warning: ANSI does not permit the keyword `inline'
dcigettext.c:232: warning: ANSI C forbids zero-size array `msgid'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  dcngettext.c
In file included from dcngettext.c:23:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  dngettext.c
In file included from dngettext.c:25:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  ngettext.c
In file included from ngettext.c:30:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -
I../intl  -g -O2 -Wall -pedantic  plural.c
In file included from plural.y:34:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
plural.y:63: warning: ANSI does not permit the keyword `inline'
plural.y:64: warning: ANSI does not permit the keyword `inline'
plural.y:69: warning: ANSI does not permit the keyword `inline'
plural.y:110: warning: ANSI does not permit the keyword `inline'
plural.y:117: warning: ANSI does not permit the keyword `inline'
plural.y:141: warning: ANSI does not permit the keyword `inline'
 (中略)
Making check in nmz
 (中略)
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\" -DHAVE_SUPPORT_H -D
NO_ALLOCA -DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src -I../intl -I./../nmz -g -O2 -Wall
-pedantic -c field.c  -fPIC -DPIC -o .libs/field.lo
field.c: In function `nmz_isfield':
field.c:117: warning: subscript has type `char'
 (中略)
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\" -DHAVE_SUPPORT_H -D
NO_ALLOCA -DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src -I../intl -I./../nmz -g -O2 -Wall
-pedantic -c idxname.c  -fPIC -DPIC -o .libs/idxname.lo
idxname.c: In function `nmz_complete_idxnames':
idxname.c:156: warning: subscript has type `char'
 (中略)
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\" -DHAVE_SUPPORT_H -D
NO_ALLOCA -DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src -I../intl -I./../nmz -g -O2 -Wall
-pedantic -c regex.c  -fPIC -DPIC -o .libs/regex.lo
regex.c: In function `nmz_re_compile_pattern':
regex.c:1715: warning: subscript has type `char'
regex.c:1717: warning: subscript has type `char'
regex.c:1717: warning: subscript has type `char'
regex.c:2238: warning: subscript has type `char'
regex.c:2240: warning: subscript has type `char'
regex.c:2240: warning: subscript has type `char'
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\" -DHAVE_SUPPORT_H -D
NO_ALLOCA -DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src -I../intl -I./../nmz -g -O2 -Wall
-pedantic -c regex.c -o regex.o >/dev/null 2>&1
mv -f .libs/regex.lo regex.lo
/bin/sh ../libtool --mode=compile gcc -DLOCALEDIR=\"/usr/local/share/locale\"
-DOPT_CONFDIR=\"/usr/local/etc/namazu\"        -DOPT_INDEXDIR=\"/
usr/local/var/namazu/index\"        -DHAVE_SUPPORT_H -DNO_ALLOCA        -DHAVE_CONFIG_H -I. -I..
-I./../lib -I./../src    -I../intl -I./../nmz    -g -
O2 -Wall -pedantic -c search.c
rm -f .libs/search.lo
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\" -DHAVE_SUPPORT_H -D
NO_ALLOCA -DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src -I../intl -I./../nmz -g -O2 -Wall
-pedantic -c search.c  -fPIC -DPIC -o .libs/search.lo
search.c: In function `do_regex_preprocessing':
search.c:534: warning: subscript has type `char'
 (中略)
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\" -DHAVE_SUPPORT_H -D
NO_ALLOCA -DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src -I../intl -I./../nmz -g -O2 -Wall
-pedantic -c util.c  -fPIC -DPIC -o .libs/util.lo
util.c:73: warning: `reverse_byte_order' defined but not used
Making check in src
gcc -DLOCALEDIR=\"/usr/local/share/locale\"        -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\"
  -DHAVE_SUPPORT_H        -DHAVE_CONFIG_H -I.. -I../intl -I./../lib -I./../nmz    -g -O2 -Wall
-pedantic -c form.c
gcc -DLOCALEDIR=\"/usr/local/share/locale\"        -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\"
  -DHAVE_SUPPORT_H        -DHAVE_CONFIG_H -I.. -I../intl -I./../lib -I./../nmz    -g -O2 -Wall
-pedantic -c namazu.c
gcc -DLOCALEDIR=\"/usr/local/share/locale\"        -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\"
  -DHAVE_SUPPORT_H        -DHAVE_CONFIG_H -I.. -I../intl -I./../lib -I./../nmz    -g -O2 -Wall
-pedantic -c output.c
output.c: In function `print_query':
output.c:492: warning: subscript has type `char'
gcc -DLOCALEDIR=\"/usr/local/share/locale\"        -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\"
  -DHAVE_SUPPORT_H        -DHAVE_CONFIG_H -I.. -I../intl -I./../lib -I./../nmz    -g -O2 -Wall
-pedantic -c rcfile.c
gcc -DLOCALEDIR=\"/usr/local/share/locale\"        -DOPT_CONFDIR=\"/usr/local/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/var/namazu/index\"
  -DHAVE_SUPPORT_H        -DHAVE_CONFIG_H -I.. -I../intl -I./../lib -I./../nmz    -g -O2 -Wall
-pedantic -c result.c
result.c: In function `is_wordboundary':
result.c:244: warning: subscript has type `char'
result.c:244: warning: subscript has type `char'
result.c:245: warning: subscript has type `char'
result.c:245: warning: subscript has type `char'
 ・
---------------------------------------------------------------------------------

長いログになってしまって申し訳ありませんが、よろしくお願い致します。

以上