From: Jos Backus <jos@catnook.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] undefined symbol `caml_tuplify2' in dynamic rocaml extension (UPDATE)
Date: Thu, 2 Aug 2007 11:58:50 -0700 [thread overview]
Message-ID: <20070802185850.GC41396@lizzy.catnook.local> (raw)
In-Reply-To: <20070802092050.GC21868@tux-chan>
On Thu, Aug 02, 2007 at 11:20:50AM +0200, Mauricio Fernandez wrote:
> On Wed, Aug 01, 2007 at 04:24:05PM -0700, Jos Backus wrote:
> > On Wed, Aug 01, 2007 at 10:59:07AM -0700, Jos Backus wrote:
[snip]
> > Some good news. We got this to work by creating a kpp.ml file (containing the
> > Callback.register calls) in the extension directory, and adding some values to
> > CAML_LIBS, CAML_OBJS and CAML_INCLUDES. Yay!
>
> Yes, I wrote a very long message telling you exactly this (that you needed to
> use CAML_LIBS so that -output-obj could work correctly) late at night but
> forgot to send it :)
Heh. All's well that ends well.
> > Btw, besides having to remove the stray `"' we also found that we had to patch
> > the kpp_rocaml_wrapper.c to make it compile, basically doing a `%s/t_value
> > /t_value_/g' in this case.
>
> Chris Waterson has kindly sent me a patch fixing the problems you saw; I've
> just pushed it to the online repository, along with an example of the above
> TUPLE(LIST(t)) in examples/variants.
Yeah, I dragged Chris into working on this yesterday (thanks Chris!) and he
beat me to the patch :)
> I'll work on the INCFLAGS issue so there's no need to hand-edit the
> generated Makefile/wrappers.
That would be nice. While you're at it, can you add LOCAL_LIBS, too? Those
were the only variables we needed to change in the Makefile.
> -- Mauricio Fernandez - http://eigenclass.org
Thanks again Mauricio.
--
Jos Backus
jos at catnook.com
next prev parent reply other threads:[~2007-08-02 18:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 4:01 undefined symbol `caml_tuplify2' in dynamic rocaml extension Jos Backus
2007-08-01 7:44 ` [Caml-list] " Julien Moutinho
2007-08-01 9:43 ` Mauricio Fernandez
2007-08-01 13:59 ` Gordon Henriksen
2007-08-01 9:16 ` Mauricio Fernandez
2007-08-01 16:17 ` Jos Backus
2007-08-01 17:59 ` Jos Backus
2007-08-01 23:24 ` [Caml-list] undefined symbol `caml_tuplify2' in dynamic rocaml extension (UPDATE) Jos Backus
2007-08-02 9:20 ` Mauricio Fernandez
2007-08-02 9:58 ` Mauricio Fernandez
2007-08-02 18:54 ` Jos Backus
2007-08-02 18:58 ` Jos Backus [this message]
2007-08-01 23:34 ` rocaml bug + fix Jos Backus
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=20070802185850.GC41396@lizzy.catnook.local \
--to=jos@catnook.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