install NS 2 on ubuntu

Leila M mech.loulou at gmail.com
Wed Sep 21 10:55:34 UTC 2011


Hi,
I'm trying ti install NS2 on ubuntu 11.04 and i got the following error
while executing

./install

error: the error text is in my previous message

I was recommended to install gcc-4.3 and use it instead of my gcc-4.5 and I
did so but I still have a problem with otcl installation:

...
gcc-4.3 -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
rm -f libotcl.so
gcc-4.3 -o otclsh  -g -O2 -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  otclAppInit.c \
    -L. -lotcl -L/home/leila/leilans/ns-allinone-2.34/lib -ltk8.4
-L/home/leila/leilans/ns-allinone-2.34/lib -ltcl8.4 -lXext -lX11  -lnsl -ldl
-lm
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make: *** [otclsh] 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
thnx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110921/feb74eed/attachment.html>


More information about the ubuntu-users mailing list