Sourceforge Tracker Monitor
norep****@sourc*****
2005年 12月 15日 (木) 17:23:14 JST
Bugs item #7721, was opened at 2005-12-13 19:00 You can respond by visiting: https://sourceforge.jp/tracker/?func=detail&atid=5373&aid=7721&group_id=1419 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: (None) Assigned to: (None) Summary: mana-0.1.6 を gcc-4.0.2 でコンパイルできない Initial Comment: mana-0.1.6 を gcc-4.0.2 でコンパイルすると、次の箇所で 止まります。 環境は次の通りです: ocaml-3.09 libgdbm3-1.8.3 ご確認いただけましたら幸いです。 ----------------- make[2]: Entering directory `~/rpm/BUILD/mana-0.1.6/lib' gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c block.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c chalib.c chalib.c: In function ‘chasen_sparse_main’: chalib.c:320: warning: implicit declaration of function ‘cha_parse_sentence’ chalib.c: In function ‘chasen_sparse’: chalib.c:367: warning: pointer targets in passing argument 1 of ‘cha_jistoeuc’ differ in signedness chalib.c:367: warning: pointer targets in passing argument 2 of ‘cha_jistoeuc’ differ in signedness chalib.c: In function ‘chasen_sparse_tostr’: chalib.c:408: warning: pointer targets in passing argument 1 of ‘cha_jistoeuc’ differ in signedness chalib.c:408: warning: pointer targets in passing argument 2 of ‘cha_jistoeuc’ differ in signedness gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c connect.c g++ -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -c dartsdic.cpp gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c getid.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c getopt.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c grammar.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c init.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c iotool.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c jfgets.c jfgets.c: In function ‘cha_fget_line’: jfgets.c:169: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness jfgets.c:175: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness jfgets.c:188: warning: pointer targets in passing argument 2 of ‘cha_jistoeuc’ differ in signedness jfgets.c: In function ‘cha_jfgets’: jfgets.c:208: warning: pointer targets in passing argument 1 of ‘cha_fget_line ’ differ in signedness jfgets.c:208: warning: pointer targets in assignment differ in signedness jfgets.c:220: warning: pointer targets in passing argument 1 of ‘cha_fget_line ’ differ in signedness jfgets.c:220: warning: pointer targets in assignment differ in signedness jfgets.c:237: warning: pointer targets in passing argument 2 of ‘isterminator’ differ in signedness jfgets.c:259: warning: pointer targets in passing argument 1 of ‘cha_fget_line ’ differ in signedness jfgets.c:259: warning: pointer targets in assignment differ in signedness jfgets.c:293: warning: pointer targets in passing argument 2 of ‘isterminator’ differ in signedness gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c katuyou.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c lisp.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c literal.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c mmap.c gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c parse.c parse.c: In function ‘cha_parse_sentence’: parse.c:415: warning: pointer targets in passing argument 2 of ‘cha_tok_parse’ differ in signedness gcc -DRCPATH="\"/etc/manarc\"" -DHAVE_CONFIG_H -I.. -I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Wall -c print.c print.c: In function ‘cha_set_output’: print.c:200: error: syntax error before numeric constant print.c:200: error: conflicting types for ‘__fprintf_chk’ print.c:200: note: a parameter list with an ellipsis can’t match an empty parameter name list declaration print.c: In function ‘comm_prefix_len’: print.c:326: warning: pointer targets in passing argument 2 of ‘cha_tok_mblen’ differ in signedness print.c: In function ‘set_ruby’: print.c:350: warning: pointer targets in passing argument 2 of ‘cha_tok_mblen’ differ in signedness print.c:363: warning: pointer targets in passing argument 2 of ‘cha_tok_mblen’ differ in signedness print.c:374: warning: pointer targets in passing argument 2 of ‘cha_tok_mblen’ differ in signedness print.c: In function ‘print_anno’: print.c:571: warning: pointer targets in assignment differ in signedness print.c: In function ‘extract_yomi1’: print.c:625: warning: pointer targets in passing argument 2 of ‘cha_tok_mblen’ differ in signedness print.c:632: warning: pointer targets in passing argument 2 of ‘cha_tok_mblen’ differ in signedness print.c: In function ‘cha_printf_mrph’: print.c:906: warning: pointer targets in assignment differ in signedness make[2]: *** [print.o] エラー 1 ----------------- ---------------------------------------------------------------------- >Comment By: Yamagata Yoriyuki (yoriyuki) Date: 2005-12-15 17:23 Message: Logged In: YES user_id=10813 とりあえず、どういう環境でお使いなのか、OCamlはどうやってイ ンストールしたのか教えてください。 ---------------------------------------------------------------------- Comment By: utuhiro (utuhiro) Date: 2005-12-14 22:16 Message: Logged In: YES user_id=9067 configure するときに ディストリビュータのマクロを使っていた のですが、 これを普通の ./configure --prefix=$RPM_BUILD_ROOT/usr に直し、 さらに automake1.4 をインストールしたところ ある程度まではビルドが進みました。 しかし次のところで止まってしまいます。 ----------- Effective set of compiler predicates: autolink,native + ocamlopt -I ../gdbm -I ../schoca/lib -I ../ocamlgraph -I ../lib -I .. -verbose -cc ../libtool --mode=link g++ -g -O2 -o native-code -ccopt -L../gdbm -ccopt -L../schoca/lib -ccopt -L../ocamlgraph -ccopt -L../lib -cclib -lgdbm -cclib -lgdbm_compat -cclib -lchasen -o mana /usr/lib/ocaml/unix.so.cmxa gdbm.cmxa schoca.cmxa graph.cmxa tools.o misc.o hinsi.o undef_info.o ktype.o kform.o darts.o mrph.o mrph-data.o config.cmx eucString.cmx chasen.cmx personalDict.cmx conv.cmx parse.cmx mana.cmx Cannot find file /usr/lib/ocaml/unix.so.cmxa ocamlopt returned with exit code 2 make[4]: *** [mana] エラー 2 ----------- /usr/lib/ocaml/unix.cmxa ならあるのですが。 ---------------------------------------------------------------------- Comment By: Yamagata Yoriyuki (yoriyuki) Date: 2005-12-14 19:45 Message: Logged In: YES user_id=10813 手元の環境でもgcc 4.0.2(Debian)を使用していますが、問題は起 きていません。独自のオプションをCFLAGSで設定されていませんか? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.jp/tracker/?func=detail&atid=5373&aid=7721&group_id=1419