Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-21-2013, 10:34 AM
|
#1
|
Member
Registered: Mar 2013
Posts: 62
Rep: 
|
Error in installing ns2.31
Hi i tried to install the ns2.31 version with ubuntu 10.04
But while installing the installation stopped in the step of installing OTCL and i have this message error . Please tell me haw can i solve that
Code:
/home/ines/ns-allinone-2.31/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/ines/ns-allinone-2.31/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] Erreur 1
otcl-1.13 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
|
|
|
05-21-2013, 10:52 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Install :
cd ns-allinone-2.31/ && export CC=gcc-4.1 CXX=g++-4.1 && ./install
Required is : $ sudo apt-get install g++-4.1
|
|
|
05-21-2013, 11:17 AM
|
#3
|
Member
Registered: Mar 2013
Posts: 62
Original Poster
Rep: 
|
ERROR IN INSTALLING ns2.31
I did this but i still have the same error 
|
|
|
05-21-2013, 11:44 AM
|
#4
|
Member
Registered: Mar 2013
Posts: 62
Original Poster
Rep: 
|
ERROR IN INSTALLING ns2.31
Please tell me what schould i do . Thanks
|
|
|
05-21-2013, 12:33 PM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Quote:
Please tell me what schould I do
|
1) Be patient.
2) Start from scratch in a new directory with :
$ tar xvf ns-allinone-2.31.tar.gz
$ cd ns-allinone-2.31/
$ export CC=gcc-4.1 CXX=g++-4.1 && ./install
|
|
|
06-17-2013, 02:44 PM
|
#6
|
Member
Registered: Mar 2013
Posts: 62
Original Poster
Rep: 
|
Error in installing ns2.31
Hi , i want to reinstall again ns2.31 but i have this error the installation stop
Code:
/home/ines/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1400: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/ines/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1403: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/ines/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1405: error: ‘TkBorder’ has no member named ‘objRefCount’
make: *** [tk3d.o] Erreur 1
tk8.4.14 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
Please tell me what is the source of error , i have done the same steps that you have given for me
|
|
|
06-17-2013, 04:43 PM
|
#7
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 6 .
Actually there are no steps, when you have unpacked a new ns-allinone-2.31.tar.gz :
Just one command , $ export CC=gcc-4.1 CXX=g++-4.1 && ./install
|
|
|
06-17-2013, 05:23 PM
|
#8
|
Member
Registered: Mar 2013
Posts: 62
Original Poster
Rep: 
|
Error in installing ns2.31
I'am sorry but i but mean that i want to install ns2.31 fro new . I have begin from new and i follow the steps that you have given to me from my last post with ns2.31 installation
tar xvf ns-allinone-2.31.tar.gz
$ cd ns-allinone-2.31/
$ export CC=gcc-4.1 CXX=g++-4.1 && ./install
But i have the error given
Code:
/home/ines/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1400: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/ines/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1403: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/ines/ns-allinone-2.31/tk8.4.14/unix/../generic/tk3d.c:1405: error: ‘TkBorder’ has no member named ‘objRefCount’
make: *** [tk3d.o] Erreur 1
tk8.4.14 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
|
|
|
06-17-2013, 07:25 PM
|
#9
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 8 .
*** Are you still using Ubuntu 10.04 ?
Tk Makefile, lines 267, 314 : What's the text ?
( ns-allinone-2.31/tk8.4.14/unix/Makefile ).
May be not so important, as tk8.4.14 compiles OK here
with these choices : gcc-3.4 , gcc-4.1 , gcc-4.4 .
Are you quite sure that your ns-allinone-2.31.tar.gz is OK ?
→ http://sourceforge.net/projects/nsna...allinone-2.31/
If OK, may be you should reinstall gcc-4.1 and g++-4.1 ?
-
Last edited by knudfl; 06-20-2013 at 03:51 AM.
|
|
|
06-19-2013, 12:41 PM
|
#10
|
Member
Registered: Mar 2013
Posts: 62
Original Poster
Rep: 
|
Error in installing ns2.31
Thank you verry much for your help . It works now
|
|
|
All times are GMT -5. The time now is 08:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|