helyos
May 9th, 2011, 06:20 PM
Hi there,
I am a newbie and i have to simulate LEACH protocol in NS2 for a school project.
I tried to install ns-allinone-2.34 on ubuntu 11.04(i run it on a virtual machine) but afer i run ./install it gave me:
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/rares/ns-allinone-2.34/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/rares/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
rares@ubuntu:~/ns-allinone-2.34$ ^C
rares@ubuntu:~/ns-allinone-2.34$
Can someone help me to install this network simulator?
Thank you in advance
I am a newbie and i have to simulate LEACH protocol in NS2 for a school project.
I tried to install ns-allinone-2.34 on ubuntu 11.04(i run it on a virtual machine) but afer i run ./install it gave me:
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/rares/ns-allinone-2.34/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/rares/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
rares@ubuntu:~/ns-allinone-2.34$ ^C
rares@ubuntu:~/ns-allinone-2.34$
Can someone help me to install this network simulator?
Thank you in advance