Re: NAB compile problems
Henri DF <[email protected]> Tue, 18 May 2004 13:36:03 +0200 (CEST)
| Newsgroups | gmane.network.simulator.epfl |
|---|---|
| Message-ID | <[email protected]> |
Hello Shirshanka, I would guess that the dependency file has not been generated properly. Can you check if you have a proper .depend file in your nab directory? If not, could you try a 'make depend' and tell me the output? And check if you have the binary ocamldep.opt in your path? if not, it is possible that you installed only ocamldep and not ocamldep.opt (the ocaml installation readme will tell you how to get ocamldep.opt). Henri ps: i am travelling this week with sketchy connectivity, so please bear with me if i cannot answer for a few days.. > -----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----- >