Version française
Home     About     Download     Resources     Contact us    
Browse thread
caml_atom_table bug still present in ocaml 3.11.0
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alexy Khrabrov <deliverable@g...>
Subject: Re: [Caml-list] caml_atom_table bug still present in ocaml 3.11.0

On Dec 8, 2008, at 12:25 PM, Erick Tryzelaar wrote:

> 2008/12/7 Alexy Khrabrov <deliverable@gmail.com>:
>> When compiling with ocamlopt from 3.11 on Mac OSX 10.5, I got  
>> errors about
>> undefined symbols: caml_atom_table and caml_static_data_start, and  
>> googled
>> out this:
>> http://caml.inria.fr/pub/ml-archives/caml-list/2005/05/e3905eefb5bca0ae534f009bbd2727b0.en.html
>
> I was able to compile it fine on the mac (through macports) with  
> these args:
>
> ./configure -prefix /opt/local
> unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && make world.opt
>
> What are you using? And what version of gcc? Mine's set to 4.0.1.

It's not the compilation which is a problem, it's subsequent use of  
ocamlopt.  When trying to link a program which uses C libraries with  
OCaml C stubs, I was getting the undefined symbols until the above fix  
was added, the same as the original email from 2005.

Cheers,
Alexy