Hello, Please see below...
On Friday 24 April 2009 08:38:48 pm Bringo Shawn wrote: > Hi there, > We are undergraduate students group, interested in the implementation of > OLSR [RFC3626] in ns2.32. We followed the UM-OLSR installation instructions > given at: > http://masimum.dif.um.es/?Software:UM-OLSR:Installation. That are: > $ cd ns-allinone-2.29/ns-2.29/ > > $ tar zxvf um-olsr-0.8.8.tgz > > $ ln -s ./um-olsr-0.8.8 ./olsr > > $ patch -p1 < olsr/um-olsr_ns-2.29_v0.8.8.patch > At this point, you must get several errors because you are applying a patch for ns-2.29 into ns-2.32. I do not have a patch for ns-2.32 at hand, so you should apply the changes by yourself before continuing with the compilation process. Regards, fran > $ ./configure > > $ make distclean > > $ ./configure > > $ make > > > After carrying out these steps our ns is not working. To every ns command > the response at terminal is: bash: ns: command not found > Though we can run .nam files as : > #nam filename.nam > but we can run no .tcl files. > > We tried to re-install the ns from start. The terminal response for > ./install command is: > > -Imgen/ns -o tools/random.o tools/random.cc > In file included from tools/random.cc:40: > ../config.h:60:19: error: tclcl.h: No such file or directory > In file included from tools/random.h:42, > from tools/random.cc:41: > tools/rng.h:104: error: expected class-name before ‘{’ token > tools/rng.h:369: error: ‘FILE’ has not been declared > tools/random.cc: In function ‘long int random()’: > tools/random.cc:54: error: ‘printf’ was not declared in this scope > make: *** [tools/random.o] Error 1 > Ns make failed! > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > [r...@localhost ns-allinone-2.32]# > > Please guide us. > > Regards -- Francisco J. Ros, Ph.D. Student Dept. of Information and Communications Engineering University of Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/
