Update the line of 6304 ns2.34/otcl/configure   to SHLIB_LD="gcc -shared"
instead of SHLIB_LD="ld -shared"





On Thu, Sep 22, 2011 at 5:22 PM, Leila M <mech.lou...@gmail.com> wrote:

>
> Hi,
> I'm trying to install NS2.34 on my ubuntu 11.04 (Natty) and I'm stuck at
> ./install
> I still got the following error message even after trying all the
> sollutions
> that I've found on the net:
>
> gcc -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/home/xxxx/xxxx/ns-allinone-
> 2.34/include -I/home/xxxx/xxxx/ns-allinone-2.34/include
> -I/home/xxxx/xxxx/ns-allinone-2.34/include -I/include  otcl.c
> ld -shared -o libotcl.so otcl.o
> otcl.o: In function `OTclDispatch':
> /home/xxxx/xxxx/ns-allinone-2.34/otcl-1.13/otcl.c:495: undefined reference
> to `__stack_chk_fail_local'
> otcl.o: In function `Otcl_Init':
> /home/xxxx/xxxx/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
> xxxx@xxxxxxxxx:~/xxxx/ns-allinone-2.34$
> please help me to fix this problem
> thanks
>

Reply via email to