You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 for
all'.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 target
all' failedmake[1]: *** [all] Error 2
make[1]: Leaving directory
/cygdrive/c/Documents and Settings/User.HOME-3D8A2273BA/Рабочий стол/Ohm-master/tool' Makefile:2: recipe for target
all' failedmake: *** [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
The text was updated successfully, but these errors were encountered: