caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Albert Lee" <hanzhupeng@gmail.com>
To: caml-list@inria.fr
Subject: compile ocaml-ming on macosx error
Date: Tue, 20 Nov 2007 11:20:31 +0800	[thread overview]
Message-ID: <7dc437b10711191920x105cd4f3h8513f483c2208b1e@mail.gmail.com> (raw)

I want to use ocaml-ming to generate swf files.
and I found:  http://www.linux-nantes.org/~fmonnier/OCaml/ming/
I use the latest version of ocaml/ming , and it can be done on a Ubuntu system,
but, on macosx10.4 , when I make, I got some error like:

$ ./impatient.sh
ocamlc.opt  -c  SWF.mli
ocamlc.opt  -c  SWF.ml
ocamlc.opt  -c  -cc "gcc -o c_ming.o"  ming.wrap.c
ocamlmklib  -o  _ming_stubs  c_ming.o  \
        -lming  -lz -lm -lgif -lpng
ocamlc.opt  -a  -custom  -o SWF.cma  SWF.cmo  \
        -dllib dll_ming_stubs.so  \
        -cclib -l_ming_stubs
ocamlopt.opt  -c  -ccopt -static  SWF.ml
ocamlopt.opt -a  -o SWF.cmxa  SWF.cmx  \
        -cclib -l_ming_stubs  \
        -cclib -lming  -cclib -lz -cclib -lm -cclib -lgif -cclib -lpng
Cannot load required shared library dll_ming_stubs.
Reason: dynamic loading not supported on this platform.


It said, dll not supported, how to fix it use static lib ?


                 reply	other threads:[~2007-11-20  3:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=7dc437b10711191920x105cd4f3h8513f483c2208b1e@mail.gmail.com \
    --to=hanzhupeng@gmail.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).