On 14/11/2010, at 3:31 PM, john skaller wrote: > > On 14/11/2010, at 2:20 AM, Erick Tryzelaar wrote: > >> Hi all! I tracked down the dependency bug. > > There's another one:) > > + /usr/local/bin/ocamlopt.opt -c -I > build/release-optimized/src/compiler/flx_misc -I > build/release-optimized/src/compiler/flx_version -I src/compiler/flx_misc -I > src/compiler/flx_version -w yzex -warn-error FDPSU -o > build/release-optimized/src/compiler/flx_misc/flx_filesys.cmx > build/release-optimized/src/compiler/flx_misc/flx_filesys.ml > File "build/release-optimized/src/compiler/flx_misc/flx_filesys.ml", line > 161, characters 2-28: > Warning F: this function application is partial, > maybe some arguments are missing. > File "build/release-optimized/src/compiler/flx_misc/flx_filesys.ml", line > 172, characters 21-37: > Error: Unbound constructor Flx_version_data > * ocamlc.opt : > build/release-optimized/src/compiler/flx_misc/flx_list.mli -> > build/release-optimized/src/compiler/flx_misc/flx_list.cmi > Error running '/usr/local/bin/ocamlopt.opt -c -I > build/release-optimized/src/compiler/flx_misc -I > build/release-optimized/src/compiler/flx_version -I src/compiler/flx_misc -I > src/compiler/flx_version -w yzex -warn-error FDPSU -o > build/release-optimized/src/compiler/flx_misc/flx_filesys.cmx > build/release-optimized/src/compiler/flx_misc/flx_filesys.ml' exited with 2 > > Now, I know what the problem is here. The include file for flx_version is > wrong. > The source is src/compiler/flx_version/flx_version.mli but the cmi file is > build/release-optimized/src/compiler/flx_version/flx_version.cmi > > Different directories.
But they're both on the command line. I think Ocaml looks for flx_version.mli, then it ties to find the *.cmi in the same place, which it can't. Question is: how did we ever build anything before? -- john skaller skal...@users.sourceforge.net ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language