From: Alexy Khrabrov <deliverable@gmail.com>
To: "Erick Tryzelaar" <idadesub@users.sourceforge.net>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] caml_atom_table bug still present in ocaml 3.11.0
Date: Tue, 9 Dec 2008 02:07:16 -0500 [thread overview]
Message-ID: <CB62C484-BD2E-4848-9883-7725A07A26E7@gmail.com> (raw)
In-Reply-To: <1ef034530812080925k5645d52bua26c56a0d8a5ed8a@mail.gmail.com>
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
next prev parent reply other threads:[~2008-12-09 7:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-07 19:21 Alexy Khrabrov
2008-12-08 14:03 ` [Caml-list] " Damien Doligez
2008-12-08 17:25 ` Erick Tryzelaar
2008-12-09 7:07 ` Alexy Khrabrov [this message]
2008-12-11 16:38 ` Daniel Bünzli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CB62C484-BD2E-4848-9883-7725A07A26E7@gmail.com \
--to=deliverable@gmail.com \
--cc=caml-list@yquem.inria.fr \
--cc=idadesub@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox