LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Re: Help regarding installation of NS-2.27 on Ubuntu 9.10 (https://www.linuxquestions.org/questions/linux-newbie-8/re-help-regarding-installation-of-ns-2-27-on-ubuntu-9-10-a-782356/)

parulgaba 05-23-2011 09:43 PM

Hello
I have been trying to install pmipv6 patch on ubuntu ns 2.29 on ubuntu 8.10
this is the site that i used to download the patch and followed the steps.
http://commani.net/pmip6ns/download.html

on installling these are the errors i have received....Plsssss help

In file included from trace/trace.cc:39:
./common/packet.h: In constructor ‘p_info:_info()’:
./common/packet.h:215: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:216: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:217: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:218: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:219: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:220: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:221: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:222: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:223: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:224: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:225: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:226: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:227: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:228: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:229: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:230: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:231: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:232: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:233: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:234: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:236: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:237: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:238: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:239: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:240: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:241: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:243: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:244: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:245: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:246: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:247: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:248: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:249: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:250: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:251: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:252: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:253: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:254: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:255: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:256: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:258: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:259: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:261: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:262: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:263: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:266: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:269: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:272: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:275: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:278: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:281: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:285: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:288: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:289: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:290: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:291: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:292: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:293: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:295: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:296: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:297: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:301: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:302: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:304: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:305: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:308: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:311: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:313: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:316: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:318: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:319: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:320: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:323: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:324: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:325: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:326: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:327: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:328: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:329: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:330: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:332: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:333: warning: deprecated conversion from string
constant to ‘char*’
./common/packet.h:335: warning: deprecated conversion from string
constant to ‘char*’
In file included from trace/trace.cc:42:
./sctp/sctp.h: At global scope:
./sctp/sctp.h:65: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:78: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:85: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:95: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:104: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:135: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:150: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:162: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:191: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:203: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:209: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:221: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:229: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:241: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:262: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:268: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:273: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:280: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:282: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:291: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:306: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:425: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:431: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:443: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:451: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:458: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:460: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:510: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:516: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:527: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:534: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:553: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:558: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:564: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:571: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:577: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:705: error: extra qualification ‘SctpAgent::’ on member
‘DumpSendBuffer’
trace/trace.cc:185: warning: deprecated conversion from string
constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string
constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string
constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string
constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string
constant to ‘char*’
make: *** [trace/trace.o] Error 1
Ns make failed!

Pllllsss help

brownie_cookie 05-24-2011 12:54 AM

don't post double posts in the same (or any other) thread...
it's not getting your help faster...
maybe start your own thread and try to explain what the problem is

knudfl 05-24-2011 03:16 AM

.. And : @parulgaba #61 : Don't hijack a thread with an off-topic question.

To get answers, the text must look as nice as possible, to be readable.
Code tags are a must !
I.e. write [/code] after error/code text, and [code] at text start.

And no reason to repeat warnings 80 times : Reduce it to a few lines.
If you want an answer, then hit the 'Edit' button, and make your
posts look like this :
Code:

In file included from trace/trace.cc:39:
./common/packet.h: In constructor ‘p_info:_info()’:
./common/packet.h:215: warning: deprecated conversion from string
constant to ‘char*’
.
.
.
./common/packet.h:335: warning: deprecated conversion from string
constant to ‘char*’
In file included from trace/trace.cc:42:
./sctp/sctp.h: At global scope:
./sctp/sctp.h:65: warning: ‘typedef’ was ignored in this declaration
.
.
./sctp/sctp.h:577: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:705: error: extra qualification ‘SctpAgent::’ on member
‘DumpSendBuffer’
trace/trace.cc:185: warning: deprecated conversion from string
constant to ‘char*’
.
.
trace/trace.cc:185: warning: deprecated conversion from string
constant to ‘char*’
make: *** [trace/trace.o] Error 1
Ns make failed!


patil88ganesh 06-24-2011 11:44 PM

Unable to install gcc-3.3, g++3.3 on ubuntu 9.10
 
Hello friends!

I am using ubuntu-9.10 (p4 desktop-i386); having gcc-4.4.1. But, for the installation of ns2.27, I am in need of gcc,g++-3.3; which is not available in synaptic. So, I tried to install using deb packages.

But, I am getting this error.



root@g-desktop:/home/g/ns-allinone-2.27/DELEME# sudo dpkg -i cpp-3.3_3.3.6-15ubuntu4_i386.deb g++-3.3_3.3.6-15ubuntu4_i386.deb gcc-3.3_3.3.6-15ubuntu4_i386.deb gcc-3.3-base_3.3.6-15ubuntu4_i386.deb libstdc++5-3.3-dev_3.3.6-15ubuntu4_i386.deb
(Reading database ... 119557 files and directories currently installed.)
Preparing to replace cpp-3.3 1:3.3.6-15ubuntu4 (using cpp-3.3_3.3.6-15ubuntu4_i386.deb) ...
Unpacking replacement cpp-3.3 ...
Preparing to replace g++-3.3 1:3.3.6-15ubuntu4 (using g++-3.3_3.3.6-15ubuntu4_i386.deb) ...
Unpacking replacement g++-3.3 ...
Preparing to replace gcc-3.3 1:3.3.6-15ubuntu4 (using gcc-3.3_3.3.6-15ubuntu4_i386.deb) ...
Unpacking replacement gcc-3.3 ...
Preparing to replace gcc-3.3-base 1:3.3.6-15ubuntu4 (using gcc-3.3-base_3.3.6-15ubuntu4_i386.deb) ...
Unpacking replacement gcc-3.3-base ...
Preparing to replace libstdc++5-3.3-dev 1:3.3.6-15ubuntu4 (using libstdc++5-3.3-dev_3.3.6-15ubuntu4_i386.deb) ...
Unpacking replacement libstdc++5-3.3-dev ...
Setting up gcc-3.3-base (1:3.3.6-15ubuntu4) ...
dpkg: dependency problems prevent configuration of libstdc++5-3.3-dev:
libstdc++5-3.3-dev depends on libstdc++5 (>= 1:3.3.6-15ubuntu4); however:
Package libstdc++5 is not installed.
dpkg: error processing libstdc++5-3.3-dev (--install):
dependency problems - leaving unconfigured
Setting up cpp-3.3 (1:3.3.6-15ubuntu4) ...
dpkg: dependency problems prevent configuration of g++-3.3:
g++-3.3 depends on libstdc++5-3.3-dev (= 1:3.3.6-15ubuntu4); however:
Package libstdc++5-3.3-dev is not configured yet.
dpkg: error processing g++-3.3 (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Setting up gcc-3.3 (1:3.3.6-15ubuntu4) ...
Errors were encountered while processing:
libstdc++5-3.3-dev
g++-3.3


Can somebody help me on this. Its really urgent. Thanks a lot!

patil88ganesh 06-25-2011 02:59 AM

Hello friends!
This issue is solved!
We need to have libstdc++5_3.3.6-15ubuntu4_i386.deb package also along with the mentioned above.



Yes, for ns2.27 on Ubuntu9.10, you must have gcc-3.3. It makes it easier to install.

Any queries on this, plz feel free to ask. I spent almost a week for ns2.27 on ubuntu9.10. Finally, its working :)

doussa 04-18-2013 04:54 AM

Hi everybody,
I try to integrate a multi hop notion in leach I know that I must change some thing in leach.tcl but I don't know where and how????
Can you please help me it's some thing urgent for me and I will be grateful .


All times are GMT -5. The time now is 09:43 AM.