Hi all,
I'm definitely new to Ocaml, but seem to be figuring things
out for
the most part. I do seem to be having some trouble with some
examples
though.
I am using Ocaml 3.09.2 on Debian x86, and trying to use the
mlpcap
examples. Everything builds fine from the included Makefile
and
ocamlc, leaving executables with included bytecode. So far,
so good.
The problem is, none of these resulting files actually do
anything.
When called, they do (apparently) nothing, and then return
with no
complaints or other output. What made me more suspicious was
that a
program which was little more than a "hello
world" did the same, when
added to the makefile in the same manner.
Using one of the programs as an example, here is what is
called for
relevant files. I've added the "-g" for debug
output myself.
ocamlfind ocamlc -package pcap -pp 'camlp4o pa_macro.cmo
-D' -c
pcap_open_offline.ml
ocamlfind ocamlc -package pcap -linkpkg -g -o
pcap_open_offline
pcap_open_offline.cmo
Any suggestions?
Thanks,
Tim
Archives up to August 22, 2005 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
The archives of the very official ocaml list (the seniors'
one) can be found at http://caml.inria.fr
Attachments are banned and you're asked to be polite, avoid
flames etc.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http:/
/groups.yahoo.com/group/ocaml_beginners/
<*> To unsubscribe from this group, send an email to:
ocaml_beginners-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|