NAB compile problems

Shirshanka Das <[email protected]> Mon, 17 May 2004 20:00:31 -0700
Newsgroups gmane.network.simulator.epfl
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,
~ We have ocaml-3.07beta2 installed
~ We also have lablgtk-1.2.5.
~ We trying to compile the latest nab version : 0.6.1

~ On running make nab-top we get :
~ > /usr/bin//ocamlc.opt  -g  -w A    -I /usr/lib/ocaml/lablgtk  -I lib
- -I lib/contrib  -I gui  -I sim/base  -I sim/interfaces  -I sim/mac  -I
sim/mob  -I sim/pkt  -I proto/grep  -I proto/aodv  -I proto/diff  -I
proto/misc  -I proto/ler -I scripts -I gui/data -c lib/mods.ml
| /usr/bin//ocamlc.opt  -g  -w A    -I /usr/lib/ocaml/lablgtk  -I lib
- -I lib/contrib  -I gui  -I sim/base  -I sim/interfaces  -I sim/mac  -I
sim/mob  -I sim/pkt  -I proto/grep  -I proto/aodv  -I proto/diff  -I
proto/misc  -I proto/ler -I scripts -I gui/data -c lib/misc.ml
| /usr/bin//ocamlc.opt  -g  -w A    -I /usr/lib/ocaml/lablgtk  -I lib
- -I lib/contrib  -I gui  -I sim/base  -I sim/interfaces  -I sim/mac  -I
sim/mob  -I sim/pkt  -I proto/grep  -I proto/aodv  -I proto/diff  -I
proto/misc  -I proto/ler -I scripts -I gui/data -c lib/contrib/opt.ml
| I/O error: lib/contrib/opt.cmi: No such file or directory
| make: *** [lib/contrib/opt.cmo] Error 2

Seems like the .cmi's are not being compiled..
~ /lib/contrib/opt.ml and opt.mli exist.

on compiling opt.cmi by hand.. and running make nap-top again.. we run
into the same issue for pkt_queue (which is the next entry in the Makefile)
~ so seems like the .cmi's need to be compiled before the .cmo's but its
not happening in the current Makefile..

~ trying
~ %.cmo: %.ml %.cmi
~ helped a little.. but broke further ahead...

~ since we're not ocaml experts, we're guessing there's something simple
we are missing here..


thanks,
Shanky
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAqXw10xtjLhDyONoRAkiFAJ9NWtLPRsFhy4cQcdqRHOt/ca4RZwCfQ0bg
++AoMWbQSczZc/9KsrfQQ4Q=
=waIi
-----END PGP SIGNATURE-----