install NS 2 on ubuntu
NoOp
glgxg at sbcglobal.net
Wed Sep 21 17:46:34 UTC 2011
On 09/21/2011 02:59 AM, Leila M wrote:
> 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 ...
...
http://packages.ubuntu.com/search?keywords=ns2
http://packages.ubuntu.com/natty/ns2
$ sudo apt-get install ns2
More information about the ubuntu-users
mailing list