#572536 libcamljava-ocaml-dev: Stubs are not referenced correctly from the .cma

Package:
libcamljava-ocaml-dev
Source:
camljava
Description:
interface between OCaml and Java via Caml/C interface and JNI
Submitter:
Guillaume Yziquel
Date:
2010-03-04 19:03:04 UTC
Severity:
normal
#572536#5
Date:
2010-03-04 19:02:38 UTC
From:
To:
The jni.cma library does not reference correctly the stubs in libcamljni.a.

I tried adding a META file, to take care of the previous bug I raised with camljava,
and I got after that the following issue:

yziquel@seldon:/usr/lib/ocaml/camljava$ ls
camljava.jar  jni.a  jni.cma  jni.cmi  jni.cmxa  jni.mli  libcamljni.a  META
yziquel@seldon:/usr/lib/ocaml/camljava$ ocaml
        Objective Caml version 3.11.2

# #load "jni.cma";;
Error: The external function `camljava_AllocObject' is not available
#
yziquel@seldon:/usr/lib/ocaml/camljava$ nm libcamljni.a | grep camljava_AllocObject
0000000000000620 T camljava_AllocObject
yziquel@seldon:/usr/lib/ocaml/camljava$