caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christoph Bauer <christoph.bauer@lmsintl.com>
To: Sylvain Le Gall <sylvain@le-gall.net>,
	"caml-list@inria.fr" <caml-list@inria.fr>
Subject: RE: [Caml-list] Re: Bytecode run on AIX - "unknown C primitive" error
Date: Wed, 20 Jan 2010 11:36:50 +0100	[thread overview]
Message-ID: <9A8556989A396A408C72088C69EDE5633EC26A52@KAIP-EXMSG01.lmsintl.com> (raw)
In-Reply-To: <slrnhldled.ckm.sylvain@gallu.homelinux.org>

> I confirm that ocamlopt/AIX works well (thanks to Christoph). 
> 
> The best solution is maybe to understand why ocamlopt cannot 
> be built ?

It's a long time since I worked on that. 

I suspected that ld, didn't export all needed symbols. 
Playing with linker flags didn't help.

With an older version (3.09.3) I also cannot load unix.cma.
I get this error message:

  Cannot load required shared library dllunix.
  Reason: dynamic loading not supported on this platform.

So in config/s.h I defined for 3.11.0

#define SUPPORT_DYNAMIC_LINKING

and tried to fix the compiler/linker flags in config/Makefile.
The linker is called with -bexpall, but as you can see, it doesn't solve the
case.

Regards,
Christoph Bauer

Ceterum censeo Ocaml 3.11.2 Issue #4844, #4034 et #4644 includam esse

  reply	other threads:[~2010-01-20 10:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 20:31 Dawid Toton
2010-01-20  9:20 ` [Caml-list] " Christoph Bauer
2010-01-20 10:07   ` Sylvain Le Gall
2010-01-20 10:36     ` Christoph Bauer [this message]
2010-01-20 18:18   ` [Caml-list] " Dawid Toton
2010-01-22 11:24     ` Christoph Bauer
2010-01-27 15:10       ` [Caml-list] OCaml on AIX Dawid Toton
2010-04-19 14:56         ` Christoph Bauer

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=9A8556989A396A408C72088C69EDE5633EC26A52@KAIP-EXMSG01.lmsintl.com \
    --to=christoph.bauer@lmsintl.com \
    --cc=caml-list@inria.fr \
    --cc=sylvain@le-gall.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;
as well as URLs for NNTP newsgroup(s).