From: Kentaro KAWAMOTO Date: 2007-12-29T12:42:47+09:00 Subject: [ruby-dev:32887] clean-enc が clean に含まれていない 川本と申します。 Makefile の clean ターゲットに clean-enc が含まれていませんが、 何か理由があるのでしょうか? ひさびさに、svn update してビルドしようとしたら、 以下のようなエラーがでました。 enc/iso_8858_1.o が古いままだったのが原因でした。 ---------------------------------------------------------------- $ make ... ./miniruby -I./lib -run -e mkdir -- -p ".ext/x86_64-linux/enc/trans" enc/trans make -f enc.mk make[1]: ディレクトリ `/tmp/ruby' に入ります gcc -shared -o .ext/x86_64-linux/enc/iso_8859_1.so enc/iso_8859_1.o -L. -L. -Wl,-R -Wl,/lib -L/lib -lpthread -lrt -ldl -lcrypt -lm /usr/bin/ld: enc/iso_8859_1.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC enc/iso_8859_1.o: could not read symbols: Bad value collect2: ld はステータス 1 で終了しました make[1]: *** [.ext/x86_64-linux/enc/iso_8859_1.so] エラー 1 make[1]: ディレクトリ `/tmp/ruby' から出ます make: *** [encs] エラー 2 ---------------------------------------------------------------- --- Kentaro KAWAMOTO mailto:kentaro.kawamoto@gmail.com