LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-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: 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
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



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

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

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