Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
Text Editors
>
Text Processing
>
shinji
>
Ticket List/Search
>
Ticket #7721
shinji
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Downloads
List of Releases
Stats
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
Forums
List of Forums
Help (1)
Open Discussion (1)
Mailing Lists
list of ML
shinji-devel
News
Ticket #7721
Ticket List
Submit New Ticket
RSS
mana-0.1.6 を gcc-4.0.2 でコンパイルできない
Open Date:
2005-12-13 19:00
Last Update:
2005-12-15 17:23
monitor
ON
OFF
Reporter:
(Anonymous)
Owner:
(None)
Type:
Bugs
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None
Details
Reply
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
Comment
Reply
Logged In: YES
user_id=10813
手元の環境でもgcc 4.0.2(Debian)を使用していますが、問題は起
きていません。独自のオプションをCFLAGSで設定されていませんか?
2005-12-14 22:16
Updated by:
utuhiro
Comment
Reply
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
Comment
Reply
Logged In: YES
user_id=10813
とりあえず、どういう環境でお使いなのか、OCamlはどうやってイ
ンストールしたのか教えてください。
Attachment File List (
0
)
Attachment File List
No attachments
Edit
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Add Comment
Preview
Submit
止まります。
環境は次の通りです:
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
-----------------