Ticket #7745

ruby-extensionがmakeできない
오픈 날짜: 2005-12-21 06:42 마지막 업데이트: 2006-07-23 00:59

Reporter:
소유자:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

1.94a1cにて、--enable-ruby-extensionすると、以下のよう
なエラーを出してmakeできません。

NetBSD 2.0.2_STABLE i386の場合のログを添付しましたが、
FreeBSD5.0や、SourceForgeのCompileFarmのDebianやSuSEで
も同様でしたので、再現性は高いかと思われます。

% make
gcc -DSWIG_EXT -DRUBY_EXT -DFOLD_SUPPORT -
DDYNAMIC_LOADING -DKEIS_EXTRA_SUPPORT -
DOLD_NEC_COMPAT -DKUNIMOTO -DFAST_GETC -
DHAVE_GETENV -DHAVE_CONFIG_H -I. -I. -I. -DUSE_UBUF -
DROT_SUPPORT -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -
DTABLEDIR="\"/usr/local/share/skf/lib\"" skf.o
preconvert.o oconv.o skf_fileio.o plug_convert.o
error.o in_code_table.o in_converter.o eucoconv.o
jisoconv.o msoconv.o ucodoconv.o esc_process.o
bgoconv.o keisoconv.o out_code_table.o in_decoder.o
dyn_table.o brgtconv.o -lintl -o skf
/usr/lib/crt0.o(.text+0x86): In function `___start':
: undefined reference to `main'
oconv.o(.text+0x15a3): In function `SKFJIS1OUT':
: undefined reference to `SKFputc'
oconv.o(.text+0x15b2): In function `SKFJIS1OUT':
: undefined reference to `SKFputc'
oconv.o(.text+0x15c3): In function `SKFJIS1OUT':
: undefined reference to `SKFputc'
oconv.o(.text+0x15d4): In function `SKFJIS1OUT':
: undefined reference to `SKFputc'
oconv.o(.text+0x15ec): In function `SKFJIS1OUT':
: undefined reference to `SKFputc'
oconv.o(.text+0x163b): more undefined references to
`SKFputc' follow
*** Error code 1

Stop.
make: stopped in /home/naruse/src/skf-current

Ticket History (3/15 Histories)

2005-12-27 22:57 Updated by: efialtes
댓글 올리기
Logged In: YES
user_id=3309

ごめんなさい、Extension 関係は今修正中の snapshot 状態で動き
ません。年内には、もう少しましな snapshot を上げるつもりです。
2005-12-27 22:57 Updated by: efialtes
댓글 올리기
Logged In: YES
user_id=3309

ごめんなさい、Extension 関係は今修正中の snapshot 状態で動き
ません。年内には、もう少しましな snapshot を上げるつもりです。
2006-05-08 22:26 Updated by: efialtes
  • 소유자 Update from (None) to efialtes
2006-07-09 13:58 Updated by: efialtes
  • Resolution Update from None to Fixed
댓글 올리기
Logged In: YES
user_id=3309

1.94a1n で一旦「どのプラットフォームでもコンパイルできない」
は fix 扱いにします。
2006-07-09 13:59 Updated by: efialtes
  • (Category change on Tracker)
2006-07-19 22:04 Updated by: efialtes
  • Ticket Close date is changed to 2006-07-19 22:04
  • Status Update from Open to Closed
2006-07-19 22:25 Updated by: naruse
  • Ticket Close date is changed to 2006-07-19 22:25
댓글 올리기
Logged In: YES
user_id=3487

手元のNetBSD 3.0とcf.sourceforge.jpのDebian及びSuSEでmakeし
てみましたが、やっぱり失敗します。
2006-07-19 22:26 Updated by: naruse
  • File 1525: skf-1.94a1p.NetBSD3.0.txt is attached
  • Ticket Close date is changed to 2006-07-19 22:26
2006-07-19 22:27 Updated by: naruse
  • Ticket Close date is changed to 2006-07-19 22:27
  • File 1526: skf-1.94a1p.MinGW.txt is attached
2006-07-19 22:41 Updated by: naruse
  • Ticket Close date is changed to 2006-07-19 22:41
댓글 올리기
Logged In: YES
user_id=3487

ログを添付してみました。skf-1.94b0c.tar.gzでも失敗しますね
ぇ。コンパイルファームにてコンパイルできるか確認してくださ
るとうれしいです。
2006-07-20 00:07 Updated by: efialtes
  • Status Update from Closed to Open
2006-07-20 00:09 Updated by: efialtes
댓글 올리기
Logged In: YES
user_id=3309

NetBSD のログ見る限り何でこうなっているのかちょっと見えな
いところがあるんですが、

なんか Makefile に手を入れてコンパイルしようとしています?

make rubyext

したような感じではないんですけど。skf_convert_wrap.c が生
成されてコンパイルに入っていないので。

ちなみに、コンパイル環境として SWIG パッケージが必要です。

一応 Reopen します。
2006-07-20 01:00 Updated by: naruse
댓글 올리기
Logged In: YES
user_id=3487

あ、SWIGのパッケージが必要なのですね。
SWIGを入れたらNetBSDではコンパイルできるようになりました。

なお、「ちょっと見えないところがある」のは、CVS版を用いてい
たのにautoconfでconfigureを更新していなかったからでした。

お騒がせしました。
2006-07-21 10:36 Updated by: naruse
댓글 올리기
Logged In: YES
user_id=3487

開いたままなのでここに書きますが、--enable-ruby-extensionし
た場合にmake (make rubyextでなくmake)すると失敗するのは仕様
ですか?失敗する理由も分かる気がするのですが、即殺してしま
った方がいい気はします。
2006-07-23 00:59 Updated by: efialtes
  • Ticket Close date is changed to 2006-07-23 00:59
  • Status Update from Open to Closed

Attachment File List

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login