Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
compile ocaml-ming on macosx error
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-20 (03:20)
From: Albert Lee <hanzhupeng@g...>
Subject: compile ocaml-ming on macosx error
I want to use ocaml-ming to generate swf files.
and I found:
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:

$ ./
ocamlc.opt  -c  SWF.mli
ocamlc.opt  -c
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  \
        -cclib -l_ming_stubs
ocamlopt.opt  -c  -ccopt -static
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 ?