Package: liblwt-ocaml-dev Version: 2.3.0-2 Severity: normal
[109]matica:msdb$ ocamlbuild src/main.native Finished, 1 target (0 cached) in 00:00:00. + ocamlfind ocamlopt -thread -linkpkg -package lwt.syntax -package lwt.extra -package lwt -package cohttp -package aws.cohttp src/config.cmx src/keys.cmx src/misc.cmx src/command.cmx src/benchmark.cmx src/tools.cmx src/main.cmx -o src/main.native /usr/lib/ocaml/lwt/liblwt-unix.a(lwt_libev_stubs.o): In function `ev_loop': (.text+0x20): undefined reference to `ev_run' /usr/lib/ocaml/lwt/liblwt-unix.a(lwt_libev_stubs.o): In function `ev_unloop': (.text+0x4a): undefined reference to `ev_break' collect2: ld returned 1 exit status File "caml_startup", line 1, characters 0-1: Error: Error during linking Command exited with code 2. Looks like when lwt_unix.cmx is built, the -dlib option for libev is not being passed. It works when compiling to bytecode. -- System Information: Debian Release: 6.0.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.38.8git (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages liblwt-ocaml-dev depends on: ii camlp4 [camlp4-3.12.0] 3.12.0-7 Pre Processor Pretty Printer for O ii libev-dev 1:3.9-1 static library, header files, and ii libfindlib-ocaml-dev [ 1.2.6+debian-1+b1 library for managing OCaml librari ii liblwt-ocaml [liblwt-o 2.3.0-2 cooperative light-weight thread li ii libreact-ocaml-dev [li 0.9.2-1+b1 functional reactive programming in ii libtext-ocaml-dev [lib 0.4-2+b1 library for dealing with sequences ii ocaml-nox [ocaml-nox-3 3.12.0-7 ML implementation with a class-bas Versions of packages liblwt-ocaml-dev recommends: ii liblwt-ocaml-doc 2.3.0-2 cooperative light-weight thread li ii ocaml-findlib 1.2.6+debian-1+b1 management tool for OCaml librarie Versions of packages liblwt-ocaml-dev suggests: ii liblwt-glib-ocaml-dev 2.3.0-2 cooperative GLib bindings for OCam ii liblwt-ssl-ocaml-dev 2.3.0-2 cooperative OpenSSL bindings for O -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/20110625225940.6778.62516.reportbug@matica

