下載
軟體開發
帳戶
下載
軟體開發
登入
我忘記帳戶名和密碼了
新增帳戶
語言
手冊
語言
手冊
×
登入
登入名稱
密碼
×
我忘記帳戶名和密碼了
繁體中文翻譯狀態
類別:
軟體
人
PersonalForge
Magazine
Wiki
搜尋
OSDN
>
軟體搜索
>
Text Editors
>
Text Processing
>
shinji
>
Ticket List/Search
>
待辦事項 #7721
shinji
描述
專案概要
開發人員儀表板
專案的網頁
Developers
Image Gallery
List of RSS Feeds
活動
使用統計
歷史
檔案下載
發布列表
Stats
待辦事項
待辦事項列表
里程碑列表
類型列表
元件列表
List of frequently used tickets/RSS
新增待辦事項
文檔
溝通
討論區
討論區列表
幫助論壇 (1)
公開討論 (1)
通信論壇
通信論壇列表
shinji-devel
新聞
待辦事項 #7721
待辦事項列表
新增待辦事項
RSS
mana-0.1.6 を gcc-4.0.2 でコンパイルできない
啟用日期:
2005-12-13 19:00
最後更新:
2005-12-15 17:23
監視
ON
OFF
回報者:
(匿名)
負責人:
(無)
類型:
問題回報
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
無
檔案:
無
細節
回覆
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
-----------------
Ticket History (3/3 Histories)
2005-12-14 19:45
Updated by:
yoriyuki
評語
回覆
Logged In: YES
user_id=10813
手元の環境でもgcc 4.0.2(Debian)を使用していますが、問題は起
きていません。独自のオプションをCFLAGSで設定されていませんか?
2005-12-14 22:16
Updated by:
(del#9067)
評語
回覆
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 ならあるのですが。
2005-12-15 17:23
Updated by:
yoriyuki
評語
回覆
Logged In: YES
user_id=10813
とりあえず、どういう環境でお使いなのか、OCamlはどうやってイ
ンストールしたのか教えてください。
Attachment File List (
0
)
Attachment File List
No attachments
編輯
新增評語
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
登入
新增評語
預覽
提交
止まります。
環境は次の通りです:
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
-----------------