From: "Mark Shinwell" <mshinwell@janestreet.com>
To: Goswin von Brederlow <goswin-v-b@web.de>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Rewriting the Digest module causes linking errors
Date: Wed, 17 Mar 2010 08:39:07 +0000 [thread overview]
Message-ID: <20100317083907.GC26002@janestreet.com> (raw)
In-Reply-To: <87wrxb5p59.fsf@frosties.localdomain>
On Wed, Mar 17, 2010 at 09:27:30AM +0100, Goswin von Brederlow wrote:
> I want to rewrite the Digest module to expose a more lowlevel interface
> to the md5 digest and add support to digest Bigarrays. I've patched the
> respective files involved and it all looks alright but when I try to
> build ocaml I get the following error:
>
> File "_none_", line 1, characters 0-1:
> Error: Error while linking boot/stdlib.cma(Digest):
> The external function `caml_md5_update_string' is not available
> make[2]: *** [ocamlc] Error 2
> make[2]: Leaving directory `/home/mrvn/src/debian/ocaml/ocaml-3.11.2'
> make[1]: *** [world] Error 2
> make[1]: Leaving directory `/home/mrvn/src/debian/ocaml/ocaml-3.11.2'
> make: *** [build-stamp] Error 2
>
> Can anyone explain why the new functions are not available?
You need to bootstrap the compiler. I think "make bootstrap" will do the
trick, although you may have to run it twice if I remember correctly.
Mark
next prev parent reply other threads:[~2010-03-17 8:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-17 8:27 Goswin von Brederlow
2010-03-17 8:39 ` Mark Shinwell [this message]
2010-03-17 9:53 ` [Caml-list] " Goswin von Brederlow
2010-03-17 16:39 ` Random segfaults / out of memory [Was: Re: [Caml-list] Rewriting the Digest module causes linking errors] Goswin von Brederlow
2010-03-18 10:56 ` Random segfaults / out of memory Goswin von Brederlow
2010-03-30 7:14 ` [Caml-list] " David Baelde
2010-03-30 15:57 ` Xavier Leroy
2010-03-30 16:19 ` Markus Mottl
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=20100317083907.GC26002@janestreet.com \
--to=mshinwell@janestreet.com \
--cc=caml-list@inria.fr \
--cc=goswin-v-b@web.de \
/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