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
CamlIDL question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-10-26 (05:03)
From: Igor Pechtchanski <pechtcha@c...>
Subject: Re: [Caml-list] CamlIDL question
On Tue, 25 Oct 2005, Christian Stork wrote:

> I must be making a stupid mistake but I just don't see it.  I put together a
> simple example that shows the problem.  Even though the camlidl library is
> found its symbol "camlidl_free" is not.  How can that be?  Can anybody
> reproduce the problem or is this some hickup on my system?
> Here's what make produces (all files attached):
> [snip]
> make extest
> ocamlc -verbose -custom -cclib -lcamlidl -o extest \
>     ex.o ex_stubs.o ex.cmo extest.cmo

Shouldn't this be

ocamlc -verbose -custom -cclib -o extest \
    ex.o ex_stubs.o ex.cmo extest.cmo -lcamlidl

instead?  Libraries should follow objects that refer to them...
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA