Skip to contentSkip to conversation

ocaml build error

DISCUSSION Christoph Egger 2 participants 2 messages May 25, 2010

lore
Share & tools
lore
#0 lore raw

Hi!

With c/s 21446, I get this build error:

=== building libs/mmap
MLOPT trie.cmx
MLDEP

 MLI      mmap.cmi
 MLC      mmap.cmo
 MLOPT    config.cmx
 MLA      mmap.cma
 CC       mmap_stubs.o
 MKLIB    libmmap_stubs.a
 MLOPT    mmap.cmx
 MLOPT    logging.cmx
 MLA      mmap.cmxa

File "logging.ml", line 20, characters 16-26:
Error: Unbound value Logs.error
gmake[4]: *** [logging.cmx] Error 2
gmake[3]: *** [SUBDIRS_PROGRAMS] Error 2
gmake[3]: *** Waiting for unfinished jobs....

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#1 lore raw

Looks like maybe you're still getting a parallel build despite recent ocaml Makefile fixes, including .NOTPARALLEL target added to Makefile.rules? There are no logging.* files under ocaml/libs/mmap after all. Anyway I expect you do not want the OCAML tools and you can disable it easily enough from your build with OCAML_TOOLS=n in your environment.

K.

Quoted 25 lines · Christoph Egger

Hi!

With c/s 21446, I get this build error:

=== building libs/mmap
MLOPT trie.cmx
MLDEP

 MLI      mmap.cmi
 MLC      mmap.cmo
 MLOPT    config.cmx
 MLA      mmap.cma
 CC       mmap_stubs.o
 MKLIB    libmmap_stubs.a
 MLOPT    mmap.cmx
 MLOPT    logging.cmx
 MLA      mmap.cmxa

File "logging.ml", line 20, characters 16-26:
Error: Unbound value Logs.error gmake[4]: *** [logging.cmx] Error 2 gmake[3]: *** [SUBDIRS_PROGRAMS] Error 2 gmake[3]: *** Waiting for unfinished jobs....

Christoph