I receive the following error while installing ns2 (sudo ./install) in
ubuntu.

config.status: creating Makefile
rm -f libotcl.a otcl.o
gcc -V 4.5 -c -g -O2 -DNDEBUG -DUSE_SHM -DHAVE_UNISTD_H=1 -I.
-I/home/arya/ns-allinone-
2.35/include -I/home/arya/ns-allinone-2.35/include -I/home/arya/ns-allinone-
2.35/include -I/include otcl.c
gcc: error: 4.5: No such file or directory
gcc: error: unrecognized option ā€˜-Vā€™
make: * [libotcl.a] Error 1
otcl-1.14 make failed! Exiting ...

I changed the Makefile.in in /ns-allinone-2.35/otcl-1.14
CC = @CC@ -V 4.6.3
where -V 4.6.3 represents the gcc version.
How to remove this error. Could not find any related help in google.

-- 
View this message in context: 
http://old.nabble.com/Error-while-installing-NS2-in-Ubuntu-12.04..%21-tp34631927p34631927.html
Sent from the ns-users mailing list archive at Nabble.com.


Reply via email to