LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2012, 02:59 AM   #1
iamusbah
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
NS2.29.3 TCL script compile errors


hi guys ,,,

I have installed ns2.29.3 on ubuntu10.04, the installation was fin, but when I am compile any TCL script I am getting the errors below

*** glibc detected *** ns: double free or corruption (out): 0x08b6bf98 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b161)[0xb7508161]
/lib/tls/i686/cmov/libc.so.6(+0x6c9b8)[0xb75099b8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xb750ca9d]
ns[0x82db6ed]
ns[0x8264a9d]
ns[0x82a8673]
ns[0x827fc2c]
ns[0x827fc9a]
ns[0x828acf3]
ns[0x828e5bc]
ns(TclObjInterpProc+0x2dc)[0x82b6f2c]
ns(TclProcInterpProc+0x82)[0x82b7382]
ns[0x825bb1f]
ns(TclInvokeStringCommand+0x6e)[0x825de3e]
ns[0x825f991]
ns[0x828a789]
ns[0x828e5bc]
ns(TclObjInterpProc+0x2dc)[0x82b6f2c]
ns[0x825f991]
ns[0x825ff67]
ns[0x82a6cfd]
ns[0x82aa33c]
ns[0x804d44c]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb74b3bd6]
ns[0x804d291]
======= Memory map: ========
08048000-083ab000 r-xp 00000000 08:05 2509469 /home/iamusbah/ns-allinone-2.29/ns-2.29/ns
083ab000-08444000 rw-p 00363000 08:05 2509469 /home/iamusbah/ns-allinone-2.29

help me please
 
Old 03-27-2012, 04:20 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

The 32bits version of Ubuntu 10.04 should be preferred.
A 64bits OS will will not work with all ns2 functions.

Ns-2.29.3 : ns-allinone-2.29/ must be compiled with gcc-3.4 / g++-3.4.

Synaptic : Settings > Repositories > Other Software :
Tick the three Hardy entries. Then use the 'Refresh' button.
And : You can install 'g++-3.4'.

Start from scratch, with a new unpacked ns-allinone-2.29.3.tar.gz :
cd ns-allinone-2.29/ && export CC=gcc-3.4 CXX=g++-3.4 && ./install

.

Last edited by knudfl; 03-27-2012 at 06:47 AM.
 
  


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
errors in zrp tcl program of ns2.34 in ubuntu 10.10 prashantshintre Programming 1 10-04-2011 07:30 AM
tcl code for ns2 simulation shanky Programming 2 08-09-2011 11:57 PM
script tcl NS2 MounaRM Linux - Networking 0 01-10-2011 08:49 AM
where to place my tcl scripts for ns2 to see them ? alinnic1 Linux - Software 2 10-14-2010 10:58 AM
Attaching an algorithm to tcl script in ns2 raviteja99 Linux - Wireless Networking 2 09-12-2010 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:04 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