Precision:
To compile the code you need to type these three lines:
ocamlfind ocamlopt -package pcap, -c packet_analyser.ml
ocamlfind ocamlopt -package pcap, -c main.ml
ocamlfind ocamlopt -package pcap, -linkpkg -cclib -lutil -o main packet_analyser.cmx main.cmx
I'm not sure these are the perfect commands for teh compilation because my knowledge of ocaml's compilation is very small.
Precision:
To compile the code you need to type these three lines:
ocamlfind ocamlopt -package pcap, -c packet_analyser.ml
ocamlfind ocamlopt -package pcap, -c main.ml
ocamlfind ocamlopt -package pcap, -linkpkg -cclib -lutil -o main packet_analyser.cmx main.cmx
I'm not sure these are the perfect commands for teh compilation because my knowledge of ocaml's compilation is very small.