LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 08-28-2010, 10:12 PM   #1
PAVAI
LQ Newbie
 
Registered: Aug 2010
Location: Chennai, India.
Posts: 5

Rep: Reputation: 0
Validation failed in NS2.34 in ubuntu 10.04 remix


hi
I have installed Ubuntu 10.04 remix in my new hp mini 110 netbook
and i have succeeded in installing NS2.34 after a so many trials
but now after running ./validate some of the tests have failed. wat does that mean?
is my ns2 installation not successful?
What should be done?
Pls help me


some non-portable tests also failed:
./test-all-srm ./test-all-smac-multihop ./test-all-hier-routing ./test-all-algo-routing ./test-all-mcast ./test-all-vc ./test-all-session ./test-all-mixmode ./test-all-simultaneous ./test-all-webcache ./test-all-mcache ./test-all-plm ./test-all-wireless-tdma ./test-all-satellite to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
 
Old 08-29-2010, 03:09 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,300

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
Welcome to LQ. .. .. ..

Requirements, Ubuntu 10.04 : g++ make automake autoconf
libx11-dev libxmu-dev libxmu-headers libxt-dev libtool

And the 'tk-8.4-lastevent.patch' : cd ns-allinone-2.34/tk8.4.18
&& patch -p0 < tk-8.4-lastevent.patch && exit

cd ns-allinone-2.34/ && ./install && cd ns-2.34 && ./validate

""validate overall report: all tests passed"" : No, I get no errors.
( I have installed ns2 on most Ubuntus. This was a new 10.04 install,
so to be sure, everything worked, I did run all the above.)

Suggest : Start from scratch with a new ns-allinone-2.34.

Other info : LQ Search → 'Tag Name' = ns2
..

Good luck !
..

Last edited by knudfl; 08-29-2010 at 03:12 PM.
 
Old 09-06-2010, 05:58 AM   #3
PAVAI
LQ Newbie
 
Registered: Aug 2010
Location: Chennai, India.
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy

hi thanks for the support
i tried this
i pasted the tk-8.4-lastevent.patch in ns-allinone-2.34/tk8.4.18
and tried
cd ns-allinone-2.34/tk8.4.18&& patch -p0 < tk-8.4-lastevent.patch && exit

but i got this!!

pavai@pavai-laptop:~/Documents$ cd ns-allinone-2.34/tk8.4.18 && patch -p0 < tk-8.4-lastevent.patch && exit
patching file generic/tk.h
Hunk #1 FAILED at 635.
1 out of 1 hunk FAILED -- saving rejects to file generic/tk.h.rej


what do i do?

Last edited by PAVAI; 09-06-2010 at 06:08 AM.
 
Old 09-07-2010, 06:27 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,300

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
Post # 2, repeat : Other info : LQ Search → 'Tag Name' = ns2

""1 out of 1 hunk FAILED"" :

Has been answered before, is simply a message telling that a certain
line already was edited. I.e. the patch is for all versions of tk8.4.x(x),
later versions have been fixed for some of the issues.
..
 
Old 09-09-2010, 01:28 AM   #5
PAVAI
LQ Newbie
 
Registered: Aug 2010
Location: Chennai, India.
Posts: 5

Original Poster
Rep: Reputation: 0
ranlib libotcl.a
rm -f libotcl.so otcl.o so_locations
gcc -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/home/pavai/Documents/ns-allinone-2.34/include -I/home/pavai/Documents/ns-allinone-2.34/include -I/home/pavai/Documents/ns-allinone-2.34/include -I/include otcl.c
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/pavai/Documents/ns-allinone-2.34/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/pavai/Documents/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: Nonrepresentable section on output
make: *** [libotcl.so] Error 1
otcl-1.13 make failed! Exiting ...
 
Old 09-09-2010, 01:49 AM   #6
PAVAI
LQ Newbie
 
Registered: Aug 2010
Location: Chennai, India.
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry i forgot to do this

Edit ' otcl-1.13/Makefile.in ', line 7
Code:
From :
CC= @CC@

to :
CC= gcc-4.3

thanks the installation is sucessfull!
will get back as soon as the validation is over!

regards
Pavai
 
Old 09-09-2010, 03:12 AM   #7
PAVAI
LQ Newbie
 
Registered: Aug 2010
Location: Chennai, India.
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

Hey Successful
Thanks a lot!!

I got it !!

Test output agrees with reference output
All test output agrees with reference output.
Thu Sep 9 13:38:36 IST 2010
These messages are NOT errors and can be ignored:
warning: using backward compatibility mode
This test is not implemented in backward compatibility mode


validate overall report: all tests passed

best regards
pavai
 
Old 10-21-2011, 03:00 AM   #8
sirajl
LQ Newbie
 
Registered: Mar 2006
Posts: 18

Rep: Reputation: 9
Quote:
Originally Posted by knudfl View Post
Welcome to LQ. .. .. ..

Requirements, Ubuntu 10.04 : g++ make automake autoconf
libx11-dev libxmu-dev libxmu-headers libxt-dev libtool

And the 'tk-8.4-lastevent.patch' : cd ns-allinone-2.34/tk8.4.18
&& patch -p0 < tk-8.4-lastevent.patch && exit

cd ns-allinone-2.34/ && ./install && cd ns-2.34 && ./validate

""validate overall report: all tests passed"" : No, I get no errors.
( I have installed ns2 on most Ubuntus. This was a new 10.04 install,
so to be sure, everything worked, I did run all the above.)

Suggest : Start from scratch with a new ns-allinone-2.34.

Other info : LQ Search → 'Tag Name' = ns2
..

Good luck !
..
where can i find tk-8.4-lastevent.patch it says : No such file or directory
 
Old 10-21-2011, 03:13 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,300

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
# 8.

cd ns-allinone-2.34/tk8.4.18 &&
wget ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch
&& patch -p0 < tk-8.4-lastevent.patch
 
  


Reply

Tags
ns2, ns234


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ns2 - some validation tests failed shojaru Linux - Newbie 59 05-27-2012 05:22 AM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM
LXer: Reviews praise Ubuntu 9.10, knock Ubuntu Moblin Remix LXer Syndicated Linux News 0 10-17-2009 01:00 AM
Problems installing the Ubuntu Netbook Remix package over Ubuntu 8.10 unluckystuntman Linux - Newbie 3 12-30-2008 12:19 AM
tk8.4.11 make failed---a problem about ns2 install !!! blueskyhff Linux - Software 1 07-03-2007 02:26 AM


All times are GMT -5. The time now is 04:07 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration