caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Per Larsson <per.larsson@prover.com>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: [Caml-list] problems linking with ocamlopt 4.00.1
Date: Sun, 9 Jun 2013 15:49:22 +0000	[thread overview]
Message-ID: <A1D1AF6E2FD8704CBBA2F43BE6EB1188018FABE897@gaia> (raw)

Hi all,

I get the following error message when trying to link with the native compiler:

ocamlopt -o mlok2hll-1 -warn-error +A -annot str.cmxa util.cmx error.cmx id.cmx mlok.cmx parse.cmx lex.cmx hll.cmx compile.cmx main.cmx
** Cannot resolve symbols for /usr/lib/ocaml/libasmrun.a(freelist.o):
 ___chkstk_ms
** Cannot resolve symbols for /usr/lib/ocaml/libasmrun.a(md5.o):
 ___chkstk_ms
** Cannot resolve symbols for /usr/lib/ocaml/libasmrun.a(sys.o):
 ___chkstk_ms
File "caml_startup", line 1:
Error: Error during linking

There is nothing special with the inputs above, I get the same error with other tested ocaml projects. I've used the ocaml package from the cygwin package loader. Maybe I'm doing something wrong? Is there some new library with must be loaded from version 4.0

Per

             reply	other threads:[~2013-06-09 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-09 15:49 Per Larsson [this message]
2013-06-09 20:39 ` ygrek
2013-06-11 15:18 ` Damien Doligez

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=A1D1AF6E2FD8704CBBA2F43BE6EB1188018FABE897@gaia \
    --to=per.larsson@prover.com \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).