install NS 2 on ubuntu

Leila M mech.loulou at gmail.com
Wed Sep 21 09:59:34 UTC 2011


i'm trying to install Network Simulator NS2 on ubuntu 11.04. while executing
the following command:

./install

I got the following error:

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
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/leila/leilans/ns-allinone-2.34/otcl-1.13/otcl.c:495: undefined
reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/leila/leilans/ns-allinone-2.34/otcl-1.13/otcl.c:2284: undefined
reference to `__stack_chk_fail_local'
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Bad value
make: *** [libotcl.so] Error 1
otcl-1.13 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
leila at leila-HP-ProBook-4520s:~/leilans/ns-allinone-2.34$

please help me to solve this problem
thanx in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110921/d9d91d1b/attachment.html>


More information about the ubuntu-users mailing list