Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
Text Editors
>
Text Processing
>
shinji
>
Ticket List/Search
>
Incidencia #7721
shinji
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Incidencia
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
Foros
List of Forums
Ayuda (1)
Open Discussion (1)
Mailing Lists
list of ML
shinji-devel
Noticias
Incidencia #7721
Ticket List
Submit New Ticket
RSS
mana-0.1.6 を gcc-4.0.2 でコンパイルできない
Abrir Fecha:
2005-12-13 19:00
Última actualización:
2005-12-15 17:23
monitor
ON
OFF
Informador:
(Anónimo)
Propietario:
(Ninguno)
Tipo:
Bugs
Estado:
Open
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno
Details
Responder
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
Comentario
Responder
Logged In: YES
user_id=10813
手元の環境でもgcc 4.0.2(Debian)を使用していますが、問題は起
きていません。独自のオプションをCFLAGSで設定されていませんか?
2005-12-14 22:16
Updated by:
(del#9067)
Comentario
Responder
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
Comentario
Responder
Logged In: YES
user_id=10813
とりあえず、どういう環境でお使いなのか、OCamlはどうやってイ
ンストールしたのか教えてください。
Attachment File List (
0
)
Attachment File List
No attachments
Editar
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Entrar
Add Comment
Vista previa
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
-----------------