Saturday 25 June 2011

Installing ns 2.34 in Ubuntu 10.04

Ubuntu 10.04 or Lucid Lynx has newer gcc version which gcc 4.4.3. It is not compatible with otcl. It needs gcc 4.3 to be compiled successfully. So, modifying makefile.in in otcl-1.13 folder solved my problem.
Change the code in Makefile.in
From this
CC = @CC@
to this
CC = gcc-4.3

Hope it helps for otcl problems in installing ns 2.34 on Ubuntu 10.04.

No comments:

Post a Comment