LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 05-03-2013, 02:35 AM   #1
gopi001
LQ Newbie
 
Registered: Feb 2013
Posts: 5
Blog Entries: 1

Rep: Reputation: Disabled
ns-2.28 installation in windows 7 using cygwin


Hello sir,
I want to install ns-2.28 in windows 7 using cygwin. In that tcl,tk,otcl,tclcl make successfully. But, I got following error while building ns2:

./sctp/sctp.h:630:8: error: extra qualification ‘SctpAgent::’ on member ‘DumpSendBuffer’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
Makefile:90: recipe for target `trace/trace.o' failed
make: *** [trace/trace.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
Please guide me how to solve this?
Waiting for your reply.
 
Old 05-03-2013, 05:52 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,199

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Which compiler version are you using ? gcc-g++-4.1.0 ?

Using gcc / g++ version 4.1.x :
1) tar xvf ns-allinone-2.28.tar.gz
2) patch -p0 < ns228-gcc40.patch
3) patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter> <Enter>
4) cd ns-allinone-2.28/
5) ./install

The patches http://www.linuxquestions.org/questi...4-a-842773/#15
→ post # 15.

-

Last edited by knudfl; 05-03-2013 at 06:03 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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cygwin/Hydra Installation on Windows 7 Acekumar Linux - Laptop and Netbook 0 04-25-2013 11:45 PM
setting environment after installation ns-2.34 under windows7 using cygwin adelfone Linux - Newbie 0 11-07-2011 01:55 PM
NS2 installation in windows 7 using cygwin Yugesh Gowda Linux - Software 3 03-14-2011 05:49 AM
GCC2.96+ installation problem in Cygwin???? Jloyd General 0 05-18-2007 01:33 AM
cygwin installation lfloyd Linux - Software 1 09-07-2006 09:03 AM


All times are GMT -5. The time now is 06:46 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 Google+: linuxquestions
Open Source Consulting | Domain Registration