Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamlbuild and subdirectories
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: Re: [Caml-list] ocamlbuild and subdirectories

On May 25, 2007, at 12:34 PM, Nicolas Pouillard wrote:

> $ cat all.itarget
> src/topdog.cma
> src/topdog.cmxa

I tried the above. Any suggestions on what the issue is?

	Thanks, Joel


ocamlbuild all.otarget
+ ocamlfind ocamlopt -package 'oUnit, dyp, extlib' -a -linkpkg src/ 
easy_ast.cmx src/easy_symtab.cmx src/easy_type_check.cmx src/ 
parser_util.cmx src/easy_parser.cmx src/easy_lexer.cmx src/ 
ninja_ast.cmx src/ninja_morpher.cmx src/pretty.cmx src/ 
ninja_printer.cmx src/topdog.cmx -o src/topdog.cmxa
/usr/local/lib/ocaml/unix.cmxa is not a compilation unit description.
Command exited with code 2.
Compilation unsuccessful after building 52 targets (37 cached) in  

ls /usr/local/lib/ocaml/unix*
/usr/local/lib/ocaml/unix.a             /usr/local/lib/ocaml/unix.o
/usr/local/lib/ocaml/unix.cma           /usr/local/lib/ocaml/ 
/usr/local/lib/ocaml/unix.cmi           /usr/local/lib/ocaml/ 
/usr/local/lib/ocaml/unix.cmx           /usr/local/lib/ocaml/ 
/usr/local/lib/ocaml/unix.cmxa          /usr/local/lib/ocaml/