LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-21-2013, 10:34 AM   #1
ines8989
Member
 
Registered: Mar 2013
Posts: 62

Rep: Reputation: Disabled
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
 
Old 05-21-2013, 10:52 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
 
Old 05-21-2013, 11:17 AM   #3
ines8989
Member
 
Registered: Mar 2013
Posts: 62

Original Poster
Rep: Reputation: Disabled
ERROR IN INSTALLING ns2.31

I did this but i still have the same error
 
Old 05-21-2013, 11:44 AM   #4
ines8989
Member
 
Registered: Mar 2013
Posts: 62

Original Poster
Rep: Reputation: Disabled
ERROR IN INSTALLING ns2.31

Please tell me what schould i do . Thanks
 
Old 05-21-2013, 12:33 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
 
Old 06-17-2013, 02:44 PM   #6
ines8989
Member
 
Registered: Mar 2013
Posts: 62

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-17-2013, 04:43 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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
 
Old 06-17-2013, 05:23 PM   #8
ines8989
Member
 
Registered: Mar 2013
Posts: 62

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-17-2013, 07:25 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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.
 
Old 06-19-2013, 12:41 PM   #10
ines8989
Member
 
Registered: Mar 2013
Posts: 62

Original Poster
Rep: Reputation: Disabled
Error in installing ns2.31

Thank you verry much for your help . It works now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while installing wimax mobile module on ns2.29 nkokos Linux - Software 6 04-08-2013 08:46 AM
Sir, While installing ns2.34 on fedora 16 got the error : trace/cmu-trace.cc 1327:22 jeevanpinto Linux - Newbie 2 06-28-2012 04:35 AM
i have problem in installing ns2.34 on ubuntu. error is aotoconf is unable to locate nitin4c Linux - Software 1 09-23-2011 05:38 AM
urgent -- error installing ns2 on ubuntu 7.04 king2k Linux - Newbie 8 02-02-2011 06:28 AM
Installing NS2.26 (Network Simulator) Error:can't find X library linuxsimulationboy Debian 3 07-13-2008 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration