Re: cannot compile new version of NAB
Henri DF <[email protected]> Thu, 24 Nov 2005 23:21:44 +0100 (CET)
| Newsgroups | gmane.network.simulator.epfl |
|---|---|
| Message-ID | <[email protected]> |
Hello Dan, As noted in the README, there is an additional dependence in the new version of NAB, specifically it requires: - Gnu Scientific Library (GSL) http://www.gnu.org/software/gsl - Ocaml GSL bindings http://oandrieu.nerim.net/ocaml/gsl/ Under debian, these are available as libgsl0, libgsl0-dev, libocamlgsl-ocaml, and libocamlgsl-ocaml-dev, so very easy to install. Not sure about Gentoo. Unfortunately, they're not in GODI at this point. Sorry about these additional dependences; I do try to keep them for a minimum. The introduction of GSL was initially to support the radio/channel model implemented by Thomas Schmid; it does provide a lot of useful functions for any mathematical computations. Henri On Thu, 24 Nov 2005, Dan Madadi wrote: > Hi Henri, > > When I try and compile the new version of NAB (i.e. when I type 'make > nab-top') I get the following error message: > > home/dmadadi/godi/bin//ocamlc.opt -g -w A -I > /home/dmadadi/godi/lib/ocaml/std-lib/lablgtk -I > /home/dmadadi/godi/lib/ocaml/std-lib/gsl -I lib -I lib/contrib -I gui -I > sim/base -I sim/interfaces -I sim/radios -I sim/mac -I sim/mob -I > sim/pkt -I proto/str -I proto/aodv -I proto/diff -I proto/misc -I > proto/ler -I proto/rwr -I scripts -I proto/str/scripts -I scripts -I > gui/data -c lib/misc.ml > File "lib/misc.ml", line 98, characters 21-31: > Unbound value Gsl_sf.erf > make: *** [lib/misc.cmo] Error 2 > > I have Ocaml 3.08.4 and lablgtk 1.2.6#3 installed on my gentoo system. I > have also been using the old version of NAB (0.6-1) on this system for a > year with no problems. > > Your help would be greatly appreciated, > > Dan > > >