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: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] camlp4, calendar and undefined global Str
On 5/21/07, Joel Reymont <joelr1@gmail.com> wrote:
> Folks,
>
> Does this tell you something? How do you fix this?

You need to link with str. Perhaps just a -package str,unix,extlib,pcre,calendar

>
>         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/
>
>
>
>
>
> _______________________________________________
> 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
>


-- 
Nicolas Pouillard