2
GODIコンソールを使用してゴールドバッテリーをインストールしようとしています。私は(Camomileのように)すべての依存関係をソートしているようです。 Godiのインターフェース内で次のエラーが発生します。GODI-Batteries:インストールの問題
> ocamlfind ocamlopt -shared -linkall -package camomile,num,str -o src/batteries_uni.cmxs src/batteries_uni.cmxa
> + ocamlfind ocamlopt -shared -linkall -package camomile,num,str -o src/batteries_uni.cmxs src/batteries_uni.cmxa
> ld: warning: -read_only_relocs cannot be used with x86_64
> ld: codegen problem, can't use rel32 to external symbol _caml_negf_mask in .L101 from src/batteries_uni.a(batFloat.o)
> collect2: ld returned 1 exit status
> File "caml_startup", line 1, characters 0-1:
> Error: Error during linking
> Command exited with code 2.
> make[7]: *** [all] Error 10
> Error: Exec error: File /Users/surikator/godi/build/godi/godi-batteries/./../../mk/bsd.pkg.mk, line 1039: Command returned with non-zero exit code
> Error: Exec error: File /Users/surikator/godi/build/godi/godi-batteries/./../../mk/bsd.pkg.mk, line 1378: Command returned with non-zero exit code
私はMac OS X 10.6.4を使用しています。私は64ビットマシンを持っています。
これを回避する方法についてのアイデアはありますか?
ありがとう、 Surikator。
出力ログをさらに投稿できますか?バッテリーのような臭いは、何らかの形で間違ってビルドされているかもしれません。おそらく、64ビットでなければならない場合は32ビットになるでしょう。それがGODIの問題であろうとバッテリの問題であろうと、私はバッテリーがMac上で使われているので、さまざまな問題が起きていることを覚えているようです。 –
@マイケル私は私の質問を編集し、上の2行と最後の2行を追加しました。前に欠けていたのは、 'ocamlfind ocamlopt'への膨大な呼び出しです。ありがとう! – Surikator
@Michael OK、これを見つけました(http://comments.gmane.org/gmane.comp.lang.ocaml.godi/462)、共有ライブラリのオプションをgodiコンソールで「いいえ」に変更することで、その部分。共有されていない図書館がもたらす潜在的な問題は何ですか? – Surikator