caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* camlp4, calendar and undefined global Str
@ 2007-05-21 11:04 Joel Reymont
  2007-05-21 11:06 ` [Caml-list] " Nicolas Pouillard
  2007-05-21 11:07 ` Joel Reymont
  0 siblings, 2 replies; 3+ messages in thread
From: Joel Reymont @ 2007-05-21 11:04 UTC (permalink / raw)
  To: OCaml List; +Cc: Richard Jones

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/






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] camlp4, calendar and undefined global Str
  2007-05-21 11:04 camlp4, calendar and undefined global Str Joel Reymont
@ 2007-05-21 11:06 ` Nicolas Pouillard
  2007-05-21 11:07 ` Joel Reymont
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Pouillard @ 2007-05-21 11:06 UTC (permalink / raw)
  To: Joel Reymont; +Cc: OCaml List, Richard Jones

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: camlp4, calendar and undefined global Str
  2007-05-21 11:04 camlp4, calendar and undefined global Str Joel Reymont
  2007-05-21 11:06 ` [Caml-list] " Nicolas Pouillard
@ 2007-05-21 11:07 ` Joel Reymont
  1 sibling, 0 replies; 3+ messages in thread
From: Joel Reymont @ 2007-05-21 11:07 UTC (permalink / raw)
  To: OCaml List

This fixed it, sorry for the noise.

   -I +str $(shell ocamlfind query str)/str.cma \


--
http://wagerlabs.com/






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-21 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-21 11:04 camlp4, calendar and undefined global Str Joel Reymont
2007-05-21 11:06 ` [Caml-list] " Nicolas Pouillard
2007-05-21 11:07 ` Joel Reymont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).