Re: [ns] errors when type make

2008-10-11 Thread eng Rony
Eng Rony i check the version of g++ in my system, by g++ -v, and i found it gcc version 4.1.3 now i will install g++ 4.2.4 by sudo apt-get install g++ 4.2.4 i have 2 questions:- 1- do i must remove my old version gcc 4.1.3? 2- if i keep my old version how can i make g++ 4.2.4 my default?

Re: [ns] Make issues: while building ns-2.33 (common/packet.cc/h)

2008-10-11 Thread eng Rony
Eng Rony plz, can u tell me in details how to make changes (include header declaration) in trace.h and cmu_trace.cc. because i'm beginner in ns2 thanks --- On Sat, 9/27/08, Mubashir Rehmani [EMAIL PROTECTED] wrote: From: Mubashir Rehmani [EMAIL PROTECTED] Subject: Re: [ns] Make issues: while

Re: [ns] errors when type make

2008-10-11 Thread eng Rony
Eng Rony [EMAIL PROTECTED]:~$ sudo apt-get install g++ 4.2.4 Reading package lists... Done Building dependency tree   Reading state information... Done g++ is already the newest version. g++ set to manual installed. E: Couldn't find package 4.2.4 --- On Sat, 10/11/08, Wang Danqi [EMAIL

Re: [ns] errors when type make

2008-10-11 Thread Wang Danqi
what's the output of g++ -v? eng Rony wrote: Eng Rony [EMAIL PROTECTED]:~$ sudo apt-get install g++ 4.2.4 Reading package lists... Done Building dependency tree   Reading state information... Done g++ is already the newest version. g++ set to manual installed. E:

Re: [ns] Make issues: while building ns-2.33 (common/packet.cc/h)

2008-10-11 Thread eng Rony
Eng Rony plz, can u explain in detail how to make changes (include header declaration) in trace.h and cmu_trace.cc. , because i'm beginner in ns2 thanks --- On Sat, 9/27/08, Mubashir Rehmani [EMAIL PROTECTED] wrote: From: Mubashir Rehmani [EMAIL PROTECTED] Subject: Re: [ns] Make issues: while

Re: [ns] errors when type make

2008-10-11 Thread eng Rony
Eng Rony [EMAIL PROTECTED]:~$ g++ -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext

Re: [ns] errors when type make

2008-10-11 Thread Wang Danqi
I have no idea about that. I guess you were using an older version of Ubuntu or a apt-source server which is not updated, as the gcc on you system is a prerelease version and is released on 20070929. If the errors are caused by an bad version of gcc (I'm not sure), maybe you can try to change

[ns] how to remove ns-2.33 finally from my system

2008-10-11 Thread eng Rony
Eng Rony   hi all, i want to remove ns-2.33 finally from my ubuntu 7.10 distribution and reinstall it again how can i do this thanks

[ns] Need help -Running files

2008-10-11 Thread pepe Delino
hi guys , I am new to NS . Can you please help me running these files . I am using NS2.32 allinone package on red hat. Pepe the files are as follows: Pmin80211.h /* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- * * Copyright (c) 1997 Regents of the University of

Re: [ns] errors when type make

2008-10-11 Thread Wang Danqi
I don't know what happens when there are two version of gcc in your system. apt-get install g++ 4.2.4 doesn't mean to install g++-4.2.4. Instead, it means install two different software: g++ and 4.2.4. I think if you can find a up-to-date Ubuntu source server with latest version of gcc, the