caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Reference to undefined global `Dynlink'
@ 2009-03-24 22:26 Joel Reymont
  2009-03-24 22:35 ` [Caml-list] " Stéphane Glondu
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Reymont @ 2009-03-24 22:26 UTC (permalink / raw)
  To: O'Caml Mailing List

I have a feeling that I have seen this before but I don't remember how  
to fix it.

Any suggestions?

	Thanks, Joel

---

ocamlfind ocamlmktop -thread -package  
lwt.ssl,lwt.extra,netstring,netsys,ssl,pcre,unix,threads,findlib -I ../ 
baselib -I ../http -I ../xmlp4 -I ../server -I ../extensions -I ../ 
eliom -I +camlp4 -I +camlp4/Camlp4Parsers -o ocsigentop -linkpkg - 
linkall ../baselib/parsecommandline.cma camlp4lib.cma  
Camlp4OCamlRevisedParser.cmo Camlp4OCamlParser.cmo ../xmlp4/ 
xhtml.cma ../xmlp4/xhtmlpretty.cma ocsigen.cma
File "/tmp/findlib_initl45acd4.ml", line 1, characters 0-1:
Error: Error while linking /opt/local/lib/ocaml/camlp4/ 
camlp4lib.cma(Camlp4):
Reference to undefined global `Dynlink'
gmake[1]: *** [ocsigentop] Error 2
gmake[1]: Leaving directory `/home/fjj67yaa/ocaml/ocsigen/server'
gmake: *** [server.byte] Error 2

---
http://tinyco.de
Mac, Lisp, OCaml





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

* Re: [Caml-list] Reference to undefined global `Dynlink'
  2009-03-24 22:26 Reference to undefined global `Dynlink' Joel Reymont
@ 2009-03-24 22:35 ` Stéphane Glondu
  0 siblings, 0 replies; 2+ messages in thread
From: Stéphane Glondu @ 2009-03-24 22:35 UTC (permalink / raw)
  To: Joel Reymont; +Cc: O'Caml Mailing List

Joel Reymont a écrit :
> I have a feeling that I have seen this before but I don't remember how
> to fix it.
> [...]
> Error: Error while linking
> /opt/local/lib/ocaml/camlp4/camlp4lib.cma(Camlp4):
> Reference to undefined global `Dynlink'

Add -package dynlink to your command line.

Cheers,

-- 
Stéphane


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

end of thread, other threads:[~2009-03-24 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-24 22:26 Reference to undefined global `Dynlink' Joel Reymont
2009-03-24 22:35 ` [Caml-list] " Stéphane Glondu

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).