|
From: fchan <fc...@mo...> - 2011-09-06 21:53:29
|
Hello, I noticed this error when I was trying to compile ocaml 3.12.1-1 on Mac OS 10.6.8. Here is the error from fink: ../ocamlcompopt.sh -nostdlib -c -g -annot -warn-error A -w L -w R -w Z -I ../otherlibs/unix -for-pack Ocamlbuild_pack -I ocamlbuild -I stdlib -o ocamlbuild/ocamlbuild.cmx ocamlbuild/ocamlbuild.ml ../ocamlcompopt.sh -nostdlib unix.cmxa -g -I stdlib -I ../otherlibs/unix ocamlbuild/ocamlbuild_executor.cmx ocamlbuild/ocamlbuild_pack.cmx ocamlbuild/ocamlbuild_unix_plugin.cmx ocamlbuild/ocamlbuild.cmx -o ocamlbuild/ocamlbuild.native ld: in ocamlbuild/ocamlbuild_pack.o, in section __DATA,__data reloc 1: sectionForAddress(0x4028944) address not in any section for architecture i386 collect2: ld returned 1 exit status File "caml_startup", line 1, characters 0-1: Error: Error during linking Exit code 2 while executing this command: ../ocamlcompopt.sh -nostdlib unix.cmxa -g -I stdlib -I ../otherlibs/unix ocamlbuild/ocamlbuild_executor.cmx ocamlbuild/ocamlbuild_pack.cmx ocamlbuild/ocamlbuild_unix_plugin.cmx ocamlbuild/ocamlbuild.cmx -o ocamlbuild/ocamlbuild.native make: *** [ocamlbuild.native] Error 2 ### execution of /var/tmp/tmp.1.78KqCu failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-ocaml-3.12.1-1 (Reading database ... 39784 files and directories currently installed.) Removing fink-buildlock-ocaml-3.12.1-1 ... Failed: phase compiling: ocaml-3.12.1-1 failed I was trying to compile for pymol and it was part of the requirements of then install. Thank you, Frank |