gcc -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/home/anand/Desktop/ns-allinone-2.34/include -I/home/anand/Desktop/ns-allinone-2.34/include -I/home/anand/Desktop/ns-allinone-2.34/include -I/include otcl.c ld -shared -o libotcl.so otcl.o otcl.o: In function `OTclDispatch': /home/anand/Desktop/ns-allinone-2.34/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local' otcl.o: In function `Otcl_Init': /home/anand/Desktop/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: Nonrepresentable section on output make: *** [libotcl.so] Error 1 otcl-1.13 make failed! Exiting ...
hey plz send me otcl.c and otcl.o file of ns2 setup which u hv installed and worked sucsessfully
