Re: [ns] errors when type make

2008-10-12 Thread eng Rony
, 10/12/08, Wang Danqi [EMAIL PROTECTED] wrote: From: Wang Danqi [EMAIL PROTECTED] Subject: Re: [ns] errors when type make To: ns-users@ISI.EDU Date: Sunday, October 12, 2008, 7:45 AM 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

Re: [ns] errors when type make

2008-10-12 Thread pankaj chand
You can try doing MAKE with a fresh installation of ns2.33 on a different user on your linux.if it doesn't work, then your compiler or your lib.so files might have a problem, or ns2.33 might not be compatible with your linux, or you will need to install some patches.If you made some changes

Re: [ns] errors when type make

2008-10-12 Thread Wang Danqi
  --- On Sun, 10/12/08, Wang Danqi [EMAIL PROTECTED] wrote: From: Wang Danqi [EMAIL PROTECTED] Subject: Re: [ns] errors when type make To: ns-users@ISI.EDU Date: Sunday, October 12, 2008, 7:45 AM I don't know what happens when there are two version of gcc in your system. apt-get install g

Re: [ns] errors when type make

2008-10-11 Thread eng Rony
? thanks --- On Sat, 10/11/08, Wang Danqi [EMAIL PROTECTED] wrote: From: Wang Danqi [EMAIL PROTECTED] Subject: Re: [ns] errors when type make To: ns-users@ISI.EDU Date: Saturday, October 11, 2008, 6:15 AM It seems your compiler considers the declaration of char** p_info::name_ char* is different

Re: [ns] errors when type make

2008-10-11 Thread eng Rony
PROTECTED] wrote: From: Wang Danqi [EMAIL PROTECTED] Subject: Re: [ns] errors when type make To: ns-users@ISI.EDU Date: Saturday, October 11, 2008, 6:15 AM It seems your compiler considers the declaration of char** p_info::name_ char* is different from the definition of p_info::name_ [59]. You

Re: [ns] errors when type make

2008-10-11 Thread Wang Danqi
: Couldn't find package 4.2.4 --- On Sat, 10/11/08, Wang Danqi [EMAIL PROTECTED] wrote: From: Wang Danqi [EMAIL PROTECTED] Subject: Re: [ns] errors when type make To: ns-users@ISI.EDU Date: Saturday, October 11, 2008, 6:15 AM It seems your compiler considers the declaration of char** p_info

Re: [ns] errors when type make

2008-10-11 Thread eng Rony
) [EMAIL PROTECTED]:~$ --- On Sat, 10/11/08, Wang Danqi [EMAIL PROTECTED] wrote: From: Wang Danqi [EMAIL PROTECTED] Subject: Re: [ns] errors when type make To: ns-users@ISI.EDU Date: Saturday, October 11, 2008, 2:10 PM what's the output of g++ -v? eng Rony wrote: Eng Rony [EMAIL

Re: [ns] errors when type make

2008-10-11 Thread Wang Danqi
--enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) [EMAIL PROTECTED]:~$ --- On Sat, 10/11/08, Wang Danqi [EMAIL PROTECTED] wrote: From: Wang Danqi [EMAIL PROTECTED] Subject: Re: [ns] errors when type make To: ns-users

Re: [ns] errors when type make

2008-10-11 Thread Wang Danqi
:- 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? thanks --- On Sat, 10/11/08, Wang Danqi [EMAIL PROTECTED] wrote: From: Wang Danqi [EMAIL PROTECTED] Subject: Re: [ns] errors when type make To: ns-users@ISI.EDU Date

Re: [ns] errors when type make

2008-10-10 Thread Wang Danqi
It seems your compiler considers the declaration of char** p_info::name_ char* is different from the definition of p_info::name_ [59]. You may check the version of g++ in your system, by g++ -v g++ 4.2.4 works well with ns-allinone-2.33 eng Rony wrote: Eng Rony   [EMAIL

[ns] errors when type make

2008-10-08 Thread eng Rony
Eng Rony   [EMAIL PROTECTED]:~/ns-allinone-2.33/ns-2.33$ make g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DL= INUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13= -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -D=