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
camlp4, calendar and undefined global Str
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-21 (11:04)
From: Joel Reymont <joelr1@g...>
Subject: camlp4, calendar and undefined global Str

Does this tell you something? How do you fix this?

	Thanks, Joel


ocamlfind ocamlc -g -package unix,extlib,pcre,calendar -I ../ocaml- 
csv-1.1.6 -linkpkg csv.cma \
   -pp "camlp4o /usr/local/lib/ocaml/unix.cma -I +pcre /usr/local/lib/ 
ocaml/site-lib/pcre/pcre.cma -I +extlib /usr/local/lib/ocaml/site-lib/ 
extlib/extLib.cma -I +calendar /usr/local/lib/ocaml/site-lib/calendar/ 
calendar.cma -I ../ocaml-csv-1.1.6 csv.cma ./pgocaml.cma ./ 
pa_pgsql.cmo" -c
Camlp4: Uncaught exception: DynLoader.Error ("/usr/local/lib/ocaml/ 
site-lib/calendar/calendar.cma", "error while linking /usr/local/lib/ 
ocaml/site-lib/calendar/calendar.cma.\nReference to undefined global  

Preprocessor error
make: *** [test_pgocaml.cmo] Error 2