[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Package: libcamljava-ocaml-dev
Version: 0.3-1+b1
Severity: normal


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$ 


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (700, 'stable'), (500, 'stable'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcamljava-ocaml-dev depends on:
ii  default-jdk                   1.6-34     Standard Java or Java compatible D
ii  ocaml-nox [ocaml-nox-3.11.2]  3.11.2-1   ML implementation with a class-bas

libcamljava-ocaml-dev recommends no packages.

libcamljava-ocaml-dev suggests no packages.

-- no debconf information



Reply to: