Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: camlp4, calendar and undefined global Str
Folks,

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 test_pgocaml.ml
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  
`Str'")

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

--
http://wagerlabs.com/