Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigList Bit_Int from Batteries missing. unexpected static .lib files required #6

Open
advancedwebdeveloper opened this issue Sep 8, 2013 · 0 comments

Comments

@advancedwebdeveloper
Copy link

I tried to compile Ohm framework on Windows. Here is what I got inside of VS 2010 shell:

...>bash

Entered Cygwin port for bash. Typing:

$ make all

Got this:
make -C p4
make[1]: Entering directory /cygdrive/c/Documents and Settings/User.HOME-3D8A2273BA/Рабочий стол/Ohm-master/p4' make[1]: Nothing to be done forall'.
make[1]: Leaving directory /cygdrive/c/Documents and Settings/User.HOME-3D8A2273BA/Рабочий стол/Ohm-master/p4' make -C src make[1]: Entering directory/cygdrive/c/Documents and Settings/User.HOME-3D8A2273BA/Рабочий стол/Ohm-master/src'
ocamlbuild -use-ocamlfind ohm.cma
Finished, 0 targets (0 cached) in 00:00:00.←[K
Finished, 109 targets (107 cached) in 00:00:04.←[K O-B---iL /←[K
mv _build/ohm.cma _build/ohm.cmi ..
make[1]: Leaving directory /cygdrive/c/Documents and Settings/User.HOME-3D8A2273BA/Рабочий стол/Ohm-master/src' make -C tool make[1]: Entering directory/cygdrive/c/Documents and Settings/User.HOME-3D8A2273BA/Рабочий стол/Ohm-master/tool'
ocamlbuild -use-ocamlfind tool.byte
00:00:01 29 (29 ) snip.cmo * O-B---i- |←[KFile "none", line 1:
Error: Error while linking coffee.cmo:
Reference to undefined global BatList' ←[KExit code 2 while executing this command: ''C:/ocamlms/bin/ocamlfind ocamlc -linkpkg -package camlp4 -package curl -package netcgi2 -package netclient -package batteries -package sha -syntax camlp4o coffee.cmo syntaxAsset.cmo parseAsset.cmo tokenAsset.cmo asset.cmo common.cmo path.cmo bot.cmo config.cmo fastcgi.cmo plugins.cmo publish.cmo snip.cmo tool.cmo -o tool.byte Compilation unsuccessful after building 33 targets (32 cached) in 00:00:02.←[K Makefile:4: recipe for targetall' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory /cygdrive/c/Documents and Settings/User.HOME-3D8A2273BA/Рабочий стол/Ohm-master/tool' Makefile:2: recipe for targetall' failed
make: *** [all] Error 2

That is one of the variants. I do have batList.cmo and batList.ml in site-lib/batteries dir. Adding it during a manual "ocamlc" invocation reports new "Reference to undefined global `BatBuffer'" and other simmilar errors. Adding new before mentined files in a command line forces new errors to appear, and looks like some circular dependancies exist inside "batteries" package.

Oh, and most shocking thing is that "ocamlbuild" requested libnetaccel_c.lib and libnetsys.lib. Which are never compiled by ocamlnet neither on win32 nor on Linux.

Ivan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant