Browse thread
Reference to undefined global `Camlp4_config'
-
Joel Reymont
- Matthieu Wipliez
- Jérémie Dimino
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Matthieu Wipliez <mwipliez@y...> |
| Subject: | Re : [Caml-list] Reference to undefined global `Camlp4_config' |
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