caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Matthieu Wipliez <mwipliez@yahoo.fr>
To: O'Caml Mailing List <caml-list@yquem.inria.fr>
Subject: Re : [Caml-list] Reference to undefined global `Camlp4_config'
Date: Wed, 11 Mar 2009 13:33:46 +0000 (GMT)	[thread overview]
Message-ID: <871197.89058.qm@web27007.mail.ukl.yahoo.com> (raw)
In-Reply-To: <7641B9C1-EFF1-4B0E-8A1E-EF5B07E86863@gmail.com>


I'm not familiar with ocamlfind, but for Camlp4 you need this:
  -I +camlp4 camlp4lib.cma

Does this solve the problem?

Cheers,
Matthieu



----- Message d'origine ----
> De : Joel Reymont <joelr1@gmail.com>
> À : O'Caml Mailing List <caml-list@yquem.inria.fr>
> Envoyé le : Mercredi, 11 Mars 2009, 14h29mn 02s
> Objet : [Caml-list] Reference to undefined global `Camlp4_config'
> 
> Any suggestions on how to resolve this?
> 
> ocamlfind installs into /usr/local/lib/site-lib and there's a site-lib/camlp4 
> directory with META in it.
> 
>     Thanks, Joel
> 
> ---
> 
> ocamlfind ocamlc -package 'oUnit, extlib, camlp4' -linkpkg -g src/easy_ast.cmo 
> src/easy_code.cmo src/easy_lexer.cmo src/easy_symtab.cmo src/token.cmo 
> src/static1.cmo src/easy_parser.cmo src/test_tools.cmo src/parser_test.cmo 
> src/test.cmo -o src/test.byte
> File "_none_", line 1, characters 0-1:
> Error: Error while linking src/easy_lexer.cmo:
> Reference to undefined global `Camlp4_config'
> 
> ---
> http://tinyco.de
> --- Mac & iPhone
> 
> 
> 
> 
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs






  reply	other threads:[~2009-03-11 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 13:29 Joel Reymont
2009-03-11 13:33 ` Matthieu Wipliez [this message]
2009-03-11 13:55   ` Re : [Caml-list] " Joel Reymont
2009-03-11 14:04 ` Jérémie Dimino
2009-03-11 14:07   ` Joel Reymont

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=871197.89058.qm@web27007.mail.ukl.yahoo.com \
    --to=mwipliez@yahoo.fr \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).