Re: Tutorial 3 problem
Henri DF <[email protected]> Tue, 18 Jan 2005 21:12:21 +0100 (CET)
| Newsgroups | gmane.network.simulator.epfl |
|---|---|
| Message-ID | <[email protected]> |
ah, that explains it. i'm guilty of still using 3.07.2 .. i had tried it a couple months back with 3.08, and it compiled fine. BUT, i didn't compile the aodv code under 3.08, so the dynarray code didn't get compiled, which explains why i missed problem ;) i think things should work fine if you change the following lines (in lib/contrib/dynarray.ml) from: -- external idup : 'a intern -> 'a intern = "obj_dup" external imake : int -> int -> 'a intern = "obj_block" -- to: -- external idup : 'a intern -> 'a intern = "caml_obj_dup" external imake : int -> int -> 'a intern = "caml_obj_block" -- let me know if you still have problems! henri > version 3.08.0 > > Quoting henri dubois-ferriere <[email protected]>: > > > Quoting RG Lyles <[email protected]>: > > > > can you tell me which version of ocaml you are using? > > henri > > > > > > > Hi again, > > > I thought I would try and run NAB-0.7 to test out running AODV to give me > > an > > > idea how to run my DSR implementation (since I presume AODV works and mine > > > wont!) but when I try and run the make file it gets quite far and then > > gives > > > me > > > this error: > > > > > > Error while linking lib/contrib/dynArray.cmo: > > > The external function `obj_block' is not available > > > make: *** [bin/nab] Error 2 > > > > > > Any ideas? > > > > > > Thanks > > > Robin > > > > > > Quoting Henri DF <[email protected]>: > > > > > > > > I still have to do the Maintenance side of the protocol - dealing with > > > > route > > > > > errors but most of the other stuff is in place. I just hope i can get > > it > > > > > > > > excellent. > > > > > > > > > working properly in NAB! :) Did you ever finish writing a tutorial on > > > the > > > > AODV > > > > > implementation you did? > > > > > > > > sorry, unfortunately not.. > > > > but if you have any questions on any particular aspects of it, don't > > > > hesitate to ask > > > > > > > > henri > > > > > > > > > > > > > > Robin > > > > > Quoting Henri DF <[email protected]>: > > > > > > > > > > > Great to hear that your DSR implementation is coming along! > > > > > > > > > > > > henri > > > > > > > Hi Henri, > > > > > > > I'm just about at the stage where I can test some of the DSR > > > protocol > > > > that > > > > > > I am > > > > > > > doing in NAB. I was looking over the 3rd tutorial again after > > > > installing > > > > > > > Lablgtk etc successfully but I get to the very last line of code in > > > the > > > > > > > tutorial and it doesn't like it! - > > > > > > > > > > > > > > # Gui_gtk.init();; > > > > > > > - : unit = () > > > > > > > # Gui_ler.setup_easeviz_app();; > > > > > > > - : unit = () > > > > > > > # Main.main();; > > > > > > > Unbound value Main.main > > > > > > > > > > > > > > Do you have any idea why this is happening? is it me or was it a > > > typo > > > > in > > > > > > the > > > > > > > tutorial? > > > > > > > Thanks > > > > > > > Robin > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >