-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/6/11 5:52 PM, fchan wrote:
> 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
> 
> 

(let's just handle this on -users)

I assume you're using Xcode 4.0.2.  The only solution to this problem
is to downgrade to Xcode 3.2.6.  There is a bug in Xcode 4.0.2's
linker, and this package will build with Xcode 3.2.6 or Xcode 4.1, but
not 4.0.2.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5nUdkACgkQB8UpO3rKjQ/akwCfSYathNwx7hz0MizFFDp5WNgm
bksAniqYHHORpNpl2KPKQ5efqMdnG96A
=/HRn
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to