OCaml 빌드에 문제가 있습니다. 그것은 libasmrun.a
와 함께 문제가 될 것으로 보이지만 오류는 매우 이상합니다 (적어도 저에게는).OCaml 컴파일이 caml_oldify_local_roots로 인해 실패했습니다.
아무도 나에게 무슨 문제가 있다고 말할 수 있습니까? OCaml 4.04.0을 빌드하려고합니다. , GCC 버전 일반적으로 4.7.2
roots.c: In function ‘caml_oldify_local_roots’:
roots.c:306:19: warning: implicit declaration of function ‘Saved_return_address’ [-Wimplicit-function-declaration]
retaddr = Saved_return_address(sp);
^
roots.c:316:46: warning: implicit declaration of function ‘Callback_link’ [-Wimplicit-function-declaration]
struct caml_context * next_context = Callback_link(sp);ng
^
roots.c:316:46: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
roots.c: In function ‘caml_do_local_roots’:
roots.c:492:46: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct caml_context * next_context = Callback_link(sp);
^
backtrace_prim.c: In function ‘caml_next_frame_descriptor’:
backtrace_prim.c:55:13: warning: implicit declaration of function ‘Saved_return_address’ [-Wimplicit-function-declaration]
*pc = Saved_return_address(*sp);
^
backtrace_prim.c:63:44: warning: implicit declaration of function ‘Callback_link’ [-Wimplicit-function-declaration]
struct caml_context * next_context = Callback_link(*sp);
^
backtrace_prim.c:63:44: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
make[4]: *** No rule to make target 'none.o', needed by 'libasmrun.a'. Stop.
make[3]: *** [makeruntimeopt] Error 2
make[2]: *** [opt-core] Error 2
make[1]: *** [opt.opt] Error 2
make: *** [world.opt] Error 2
, GCC 버전 4.7.2 – mabeloo52
여기에 실제 것 같다 초기화하는 경우 다음, 거기
을위한 특별한 컴파일러 스위치 또는 ** 'libasmrun.a'에 필요한 'none.o'대상을 만드는 규칙이 없습니다. **. 다른 것은 단지 경고입니다. make 타겟은 아마도 ./configure와 관련된 문제를 나타낼 수도 있습니다 (OCaml을 구축하거나 autotools와 그 문제에 관해서 많이 알지 못합니다). – glennsl