Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Christian Stork <cstork@i...>
Subject: Re: [Caml-list] CamlIDL question
On Wed, Oct 26, 2005 at 01:03:45AM -0400, Igor Pechtchanski wrote:
> 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...

Thanks, that was it.

-- 
Chris Stork   <>  Support eff.org!  <>   http://www.ics.uci.edu/~cstork/
OpenPGP fingerprint:  B08B 602C C806 C492 D069  021E 41F3 8C8D 50F9 CA2F