Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: elfring@users.sourceforge.net (SF Markus Elfring)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Cooperation with OCaml batteries?
Date: Mon, 17 Mar 2014 22:51:07 +0100	[thread overview]
Message-ID: <53276E4B.2010702@users.sourceforge.net> (raw)
In-Reply-To: <alpine.DEB.2.10.1403171744330.2149@hadrien>

>> Would you like to help in resolving any corresponding system configuration
>> challenges for such software?
> 
> No, I personally would not.

Thanks for your quick feedback.


> If you make an effort in this direction, you could contribute patches.

I have tried out a small SmPL script which contains the expression "open
Batteries" besides others which might become more interesting.

elfring at Sonne:~/Projekte/Coccinelle/janitor> spatch --sp-file
list_file_name_lengths2.cocci ../Probe/f-ptr-test1.c
init_defs_builtins: /usr/local/share/coccinelle/standard.h
Using native version of ocamlc/ocamlopt/ocamldep
Extra OCaml packages used in the semantic patch: batteries
ocamlopt.opt -shared -o /tmp/list_file_name_lengths2ce667d.cmxs -g -I
/usr/lib64/ocaml -I /home/elfring/.opam/system/lib/batteries -I
/usr/local/share/coccinelle/ocaml /tmp/list_file_name_lengths2ce667d.ml
Compilation OK!
Loading /home/elfring/.opam/system/lib/batteries/batteries.cmxs...
error loading shared library:
/home/elfring/.opam/system/lib/batteries/batteries.cmxs: undefined symbol: camlLazy
Fatal error: exception
Yes_prepare_ocamlcocci.LinkFailure("/home/elfring/.opam/system/lib/batteries/batteries.cmxs")


Regards,
Markus

      reply	other threads:[~2014-03-17 21:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-17 21:40 [Cocci] Cooperation with OCaml batteries? SF Markus Elfring
2014-03-17 21:45 ` Julia Lawall
2014-03-17 21:51   ` SF Markus Elfring [this message]

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=53276E4B.2010702@users.sourceforge.net \
    --to=elfring@users.sourceforge.net \
    --cc=cocci@systeme.lip6.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