Skip to content

Cannot be used in the toplevel #20

Open
@samoht

Description

@samoht
$ opam list xen-evtchn
# Available packages for 4.01.0:
xen-evtchn  1.0.6  Xen event channel bindings.

$ ledit ocaml
        OCaml version 4.01.0
# #require "xen-evtchn.unix";;
/home/vagrant/.opam/4.01.0/lib/ocaml/unix.cma: loaded
/home/vagrant/.opam/4.01.0/lib/bytes: added to search path
/home/vagrant/.opam/4.01.0/lib/bytes/bytes.cma: loaded
/home/vagrant/.opam/4.01.0/lib/lwt: added to search path
/home/vagrant/.opam/4.01.0/lib/lwt/lwt.cma: loaded
/home/vagrant/.opam/4.01.0/lib/lwt/lwt-log.cma: loaded
/home/vagrant/.opam/4.01.0/lib/ocaml/bigarray.cma: loaded
/home/vagrant/.opam/4.01.0/lib/lwt/lwt-unix.cma: loaded
/home/vagrant/.opam/4.01.0/lib/xen-evtchn: added to search path
# #require "xen-evtchn.unix";;/xen-evtchn/xen_evtchn.cma: loaded
Error: The external function `stub_evtchn_virq_dom_exc' is not available

I'm not sure how the current linking trick is supposed to work (ie. declaring the core lib as a dependency of the various stubs). I'm not sure how to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions