1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OMakeで「OCaml.om: line 563,」と言われたときの対処法

Posted at
File /usr/lib/omake/build/OCaml.om: line 563,
failed on target: hoge.cmi

これは hoge.mli に問題があって、cmiファイルを作れないよーということ。
hoge.mliを書き換えて問題のある箇所を特定しよう。

例えば自分は次のようなタイプミスをしてこのエラーが出た。

hoge.mli
type t
val create : int -> Hoge.t

Hogeモジュールのインターフェイスを定義してる中で、Hogeを参照してしまっているのが問題。正しくはこうでした。

hoge.mli
type t
val create : int -> t
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?