Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Reference to undefined global `Camlp4_config'
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-03-11 (13:29)
From: Joel Reymont <joelr1@g...>
Subject: 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'

--- Mac & iPhone