[ns] UM-OLSR installation problem

Francisco J. Ros fjrm at dif.um.es
Mon Apr 4 01:34:59 PDT 2005


Hi Michal,

Please find a comment inline.

On Saturday 02 April 2005 13:08, Michał Behrendt wrote:
>  Hi
>  I'm trying to install olsr simulation extension to ns-2.28
>  I have followed the given instunctions bu t I have some
>  problems. I can't use
>  make method so I have run install file.
I can't understand this... why can't you execute 'make'? Anyway, the quickest 
way of installing UM-OLSR is to download an all-in-one distribution of NS2, 
download it, execute 'install', download UM-OLSR patch, apply it, and execute 
'make'.

I have just tried the above mention method and it worked fine for me. But if 
you don't want to reinstall everything, you could try this (under ns-2.28 
directory):

$ touch olsr/*.cc
$ touch trace/cmu-trace.cc
$ make

Hope this helps.

Regards,
Francisco J. Ros

>  I have both copied and 
>  then try with
>  patching but when I'm compiling I get an error
>  trace/cmu-trace.o(.gnu.linkonce.t._ZN8OLSR_pkt6accessEPK6Packet+0xb):
>  In
>
>  function `OLSR_pkt::access(Packet const*)':
>  : undefined reference to `OLSR_pkt::offset_'
>
>  collect2: ld returned 1 exit status
>  make: *** [ns] Błąd 1
>  Ns make failed!
>  What should I do ?
>  I'm using Mandrake Linux
>  Thank you



More information about the Ns-users mailing list