caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Jérémie Dimino" <jeremie@dimino.org>
To: Joel Reymont <joelr1@gmail.com>
Cc: O'Caml Mailing List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Reference to undefined global `Camlp4_config'
Date: Wed, 11 Mar 2009 15:04:55 +0100	[thread overview]
Message-ID: <1236780295.30937.4.camel@localhost.localdomain> (raw)
In-Reply-To: <7641B9C1-EFF1-4B0E-8A1E-EF5B07E86863@gmail.com>

Joel Reymont wrote:
> 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'

The "camlp4" package is only useful when using syntax extensions (it
defines the "preprocessor" variable). If you want to use the camlp4
library you must use the "camlp4.lib" package instead.

Jérémie


  parent reply	other threads:[~2009-03-11 14:04 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 ` Re : [Caml-list] " Matthieu Wipliez
2009-03-11 13:55   ` Joel Reymont
2009-03-11 14:04 ` Jérémie Dimino [this message]
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=1236780295.30937.4.camel@localhost.localdomain \
    --to=jeremie@dimino.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=joelr1@gmail.com \
    /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).