Common errors in Ns2 installation and solutions

Troubleshooting

  • If the tk compilation failed, especially for tk3d.c, make sure you have installed libx11-dev package.
  • If the otcl configuration failed, make sure you have installed x-dev and xorg-dev packages.

Error:

nsbash: ns: command not found

Solution:

This could be because you have not set the $PATH variable. Therefore, the OS does not know where to look for the command “ns“. more detailed solution <here>

Error:

Segmentation Fault

Solution:

found here

Error:

Undefined reference to vtable

Solution:

found here

Leave a Reply

Your email address will not be published. Required fields are marked *