[Shooting-star-users] Asteroid 'run': Function not implemented(RuntimeError)
nic sak
sa9lovex at yahoo.co.jp
Fri Aug 17 00:07:02 EDT 2007
さざんかと申します。
ブログにコメントを記述いたしましたものです。
こちらに記述いたしますのは初めてですので、これまでの概略を記述しておきます。
・irbでAsteroid::run('127.0.0.1', 7124, Server') を実行すると以下のエラーがでる。
'run': Function not implemented(RuntimeError)
・Ruby拡張モジュールのコンパイルをやり直すも同じエラーが出る。
# ruby extconf.rb
# make
# make install
------------------------------------------------
今回確認いたしましたのは以下の通りです。
瀧内さんに教えて頂いた箇所を調べましたが、特に失敗等はありませんでした。
その後、確認のためrunを実行しましたが、やはりエラーのままでした。
1. asteroid_s_runは存在した。
nm asteroid.so | grep run
上記のコマンドにてasteroid_s_runが存在しております。
2. 以下のように正常に動作しました。
ls
asteroid.c asteroid.o extconf.h Makefile
asteroid.h asteroid.so extconf.rb mkmf.log gem_make.outいr
irb
irb(main):001:0> require 'asteroid'
=> true
irb(main):002:0> Asteroid::public_methods.include?('run')
=> true
---------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/shooting-star-users/attachments/20070817/93aa72ab/attachment.html
More information about the Shooting-star-users
mailing list