<div dir="ltr">Hi,<br>I'm trying ti install NS2 on ubuntu 11.04 and i got the following error while executing <br><br>./install<br><br>error: the error text is in my previous message<br><br>I was recommended to install gcc-4.3 and use it instead of my gcc-4.5 and I did so but I still have a problem with otcl installation:<br>
<br>...<br>gcc-4.3 -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/home/leila/leilans/ns-allinone-2.34/include -I/home/leila/leilans/ns-allinone-2.34/include -I/home/leila/leilans/ns-allinone-2.34/include -I/include otcl.c<br>
ld -shared -o libotcl.so otcl.o<br>rm -f libotcl.so<br>gcc-4.3 -o otclsh -g -O2 -I. -I/home/leila/leilans/ns-allinone-2.34/include -I/home/leila/leilans/ns-allinone-2.34/include -I/home/leila/leilans/ns-allinone-2.34/include -I/include otclAppInit.c \<br>
-L. -lotcl -L/home/leila/leilans/ns-allinone-2.34/lib -ltk8.4 -L/home/leila/leilans/ns-allinone-2.34/lib -ltcl8.4 -lXext -lX11 -lnsl -ldl -lm<br>/usr/bin/ld: cannot find -lgcc_s<br>collect2: ld returned 1 exit status<br>
make: *** [otclsh] Error 1<br>otcl-1.13 make failed! Exiting ...<br>See <a href="http://www.isi.edu/nsnam/ns/ns-problems.html">http://www.isi.edu/nsnam/ns/ns-problems.html</a> for problems<br>leila@leila-HP-ProBook-4520s:~/leilans/ns-allinone-2.34$<br>
<br>please help <br>thnx<br></div>