Skip to content

Failing to build ocaml/examples #191

@mohd-akram

Description

@mohd-akram

Getting this while building ocaml/examples (on e127edc):

Making all in ocaml/examples
ocamlfind ocamlopt -cclib -L../../lib/.libs -package unix -linkpkg \
          -warn-error A -I .. mlguestfs.cmxa create_disk.ml -o create_disk
ocamlfind ocamlopt -cclib -L../../lib/.libs -package unix -linkpkg \
          -warn-error A -I .. mlguestfs.cmxa debug_logging.ml -o debug_logging
ocamlfind ocamlopt -cclib -L../../lib/.libs -package unix -linkpkg \
          -warn-error A -I .. mlguestfs.cmxa inspect_vm.ml -o inspect_vm
  POD      stamp-guestfs-ocaml.pod
touch stamp-guestfs-ocaml.pod
ld: warning: search path '../lib/.libs' not found
ld: warning: search path '../lib/.libs' not found
ld: warning: search path '../lib/.libs' not found
Undefined symbols for architecture arm64:
Undefined symbols for architecture arm64:
Undefined symbols for architecture arm64:
  "_guestfs_command_out", referenced from:
      _guestfs_int_ocaml_command_out in libmlguestfs.a[3](libguestfsocaml_a-guestfs-c-actions.o)
  "_guestfs_command_out", referenced from:
      _guestfs_int_ocaml_command_out in libmlguestfs.a[3](libguestfsocaml_a-guestfs-c-actions.o)
  "_guestfs_command_out", referenced from:
      _guestfs_int_ocaml_command_out in libmlguestfs.a[3](libguestfsocaml_a-guestfs-c-actions.o)
  "_guestfs_sh_out", referenced from:
      _guestfs_int_ocaml_sh_out in libmlguestfs.a[3](libguestfsocaml_a-guestfs-c-actions.o)
ld: symbol(s) not found for architecture arm64
  "_guestfs_sh_out", referenced from:
      _guestfs_int_ocaml_sh_out in libmlguestfs.a[3](libguestfsocaml_a-guestfs-c-actions.o)
ld: symbol(s) not found for architecture arm64
  "_guestfs_sh_out", referenced from:
      _guestfs_int_ocaml_sh_out in libmlguestfs.a[3](libguestfsocaml_a-guestfs-c-actions.o)
ld: symbol(s) not found for architecture arm64

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