<div dir="ltr">i'm trying to install Network Simulator NS2 on ubuntu 11.04. while executing the following command:<br><br>./install<br><br>I got the following error:<br><br>gcc -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>otcl.o: In function `OTclDispatch':<br>/home/leila/leilans/ns-allinone-2.34/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'<br>otcl.o: In function `Otcl_Init':<br>
/home/leila/leilans/ns-allinone-2.34/otcl-1.13/otcl.c:2284: undefined reference to `__stack_chk_fail_local'<br>ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined<br>ld: final link failed: Bad value<br>
make: *** [libotcl.so] 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 me to solve this problem<br>thanx in advance<br></div>