[ns] problem with make

2010-02-01 Thread mangal thakur

hello sir


Did you get any solution for this problem.
I am also facing the same problem.
if you have its solution, please send it to me
my mail id is thakur.k...@gmail.com

i will be very thankful to you.

mangal


sachin  dahiya wrote:
>
>
>
> I am new to NS. I am running NS on cygwin on Windows XP.
>
> I was trying the 'make depend' and 'make' commands to see if they are
> working properly. I did not make any changes to any files after i
> installed
> NS. However, I received the errors shown below while i used the 'make'
> command:
>
> ucb; do ( cd $i; make all; ) done
> make[1]: Entering directory
> `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
> make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/dec'
> g++ -c -Wall -DCPP_NAMESPACE=std -I. -I/home/tclcl-1.17 -I/home/otcl-1.11
> -I/home/include -I/home/include -I/usr/include/pcap -o proxytrace2any.o
> proxytrace2any.cc
> proxytrace2any.cc: In function `int main(int, char**)':
> proxytrace2any.cc:112: error: `IsLittleEndian' undeclared (first use this
> function)
> proxytrace2any.cc:112: error: (Each undeclared identifier is reported only
> once for each function it appears in.)
> proxytrace2any.cc:120: error: `ToOtherEndian' undeclared (first use this
> function)
> make[1]: *** [proxytrace2any.o] Error 1
> make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/dec'
> make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/epa'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/epa'
> make[1]: Entering directory
> `/home/ns-2.29/indep-utils/webtrace-conv/nlanr'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/nlanr'
> make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb'
>
> I do not understand why this error is appearing. Can anyone help me with
> this? Thanks in advance.


Re: [ns] problem with make

2007-08-08 Thread Nur Aini Rakhmawati

check this out 

http://nuraini.wordpress.com/2007/08/05/undefined-reference-to/
 
---
Nur Aini Rakhmawati
Touch the sky, Down to the earth
http://ai23.wordpress.com/

- Original Message 
From: jilly126 <[EMAIL PROTECTED]>
To: ns-users 
Sent: Wednesday, August 8, 2007 8:37:27 AM
Subject: [ns] problem with make



Hello,
I am trying to add diffserv and mpls modules to ns2.29. When I execute I 
execute "./configure" and "make clean" without problems, but when I execute 
"make", the next error appears on my screen:

trace/trace.o(.text+0xe4): In function `Trace::Trace[not-in-charge](int)':
: undefined reference to `BaseTrace::BaseTrace[in-charge]()'
trace/trace.o(.text+0x240): In function `Trace::Trace[in-charge](int)':
: undefined reference to `BaseTrace::BaseTrace[in-charge]()'
common/agent.o(.text+0x14d4): In function `Agent::initpkt(Packet*) const':
: undefined reference to `NixNode::GetNodeObject(unsigned long)'
common/agent.o(.text+0x14f1): In function `Agent::initpkt(Packet*) const':
: undefined reference to `NixNode::GetNixVector(unsigned long)'
common/agent.o(.text+0x1502): In function `Agent::initpkt(Packet*) const':
: undefined reference to `NixVec::Reset()'
common/agent.o(.gnu.linkonce.t._ZN6hdr_nv6accessEP6Packet+0xb): In function 
`hdr_nv::access(Packet*)':
: undefined reference to `hdr_nv::offset_'
queue/errmodel.o(.gnu.linkonce.t._ZN7hdr_pgm6accessEPK6Packet+0xb): In function
`hdr_pgm::access(Packet const*)':
: undefined reference to `hdr_pgm::offset_'
queue/errmodel.o(.gnu.linkonce.t._ZN7hdr_lms6accessEP6Packet+0xb): In function 
`hdr_lms::access(Packet*)':
: undefined reference to `hdr_lms::offset_'
mac/mac-802_11.o(.gnu.linkonce.t._ZN10EventTraceC1Ev+0xd): In function 
`EventTrace::EventTrace[in-charge]()':
: undefined reference to `BaseTrace::BaseTrace[not-in-charge]()'
mac/mac-802_11.o(.gnu.linkonce.t._ZN10EventTraceC1Ev+0x19): In function 
`EventTrace::EventTrace[in-charge]()':
: undefined reference to `vtable for EventTrace'
common/node.o(.text+0x292): In function `Node::Node[not-in-charge]()':
: undefined reference to `NixNode::NixNode[in-charge]()'
common/node.o(.text+0x3fe): In function `Node::Node[in-charge]()':
: undefined reference to `NixNode::NixNode[in-charge]()'
common/node.o(.text+0x5e8): In function `Node::command(int, char const* 
const*)':
: undefined reference to `NixNode::PopulateObjects()'
common/node.o(.text+0x68d): In function `Node::command(int, char const* 
const*)':
: undefined reference to `NixNode::GetNixVector(unsigned long)'
common/node.o(.text+0x6e3): In function `Node::command(int, char const* 
const*)':
: undefined reference to `NixNode::AddAdj(unsigned long)'
common/node.o(.text+0x99d): In function `Node::route_notify(RoutingModule*)':
: undefined reference to `RoutingModule::route_notify(RoutingModule*)'
common/node.o(.text+0x9de): In function 
`Node::unreg_route_notify(RoutingModule*)':
: undefined reference to `RoutingModule::unreg_route_notify(RoutingModule*)'
common/node.o(.text+0xa68): In function `Node::set_table_size(int)':
: undefined reference to `RoutingModule::set_table_size(int)'
common/node.o(.text+0xa91): In function `Node::set_table_size(int, int)':
: undefined reference to `RoutingModule::set_table_size(int, int)'
trace/cmu-trace.o(.text+0x2825): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `Nam802_15_4::Nam_Status'
trace/cmu-trace.o(.text+0x284a): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `p802_15_4macSA(Packet*)'
trace/cmu-trace.o(.text+0x285e): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `p802_15_4macDA(Packet*)'
trace/cmu-trace.o(.text+0x28d1): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `findAttrLink(packet_t, int, int)'
trace/cmu-trace.o(.text+0x2905): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `findAttrLink(packet_t, int, int)'
trace/cmu-trace.o(.text+0x2c9e): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `Nam802_15_4::Nam_Status'
trace/cmu-trace.o(.text+0x2d3b): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `Nam802_15_4::Nam_Status'
trace/cmu-trace.o(.gnu.linkonce.t._ZN9Simulator8instanceEv+0x4): In function 
`Simulator::instance()':
: undefined reference to `Simulator::instance_'
trace/cmu-trace.o(.gnu.linkonce.t._ZN10hdr_lrwpan6accessEPK6Packet+0xb): In 
function `hdr_lrwpan::access(Packet const*)':
: undefined reference to `hdr_lrwpan::offset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1

Can you help me?
Thanks in advance.
Best regards,




jilly126
2007-08-07





   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  



[ns] problem with make

2007-08-07 Thread jilly126

Hello,
I am trying to add diffserv and mpls modules to ns2.29. When I execute I 
execute "./configure" and "make clean" without problems, but when I execute 
"make", the next error appears on my screen:

trace/trace.o(.text+0xe4): In function `Trace::Trace[not-in-charge](int)':
: undefined reference to `BaseTrace::BaseTrace[in-charge]()'
trace/trace.o(.text+0x240): In function `Trace::Trace[in-charge](int)':
: undefined reference to `BaseTrace::BaseTrace[in-charge]()'
common/agent.o(.text+0x14d4): In function `Agent::initpkt(Packet*) const':
: undefined reference to `NixNode::GetNodeObject(unsigned long)'
common/agent.o(.text+0x14f1): In function `Agent::initpkt(Packet*) const':
: undefined reference to `NixNode::GetNixVector(unsigned long)'
common/agent.o(.text+0x1502): In function `Agent::initpkt(Packet*) const':
: undefined reference to `NixVec::Reset()'
common/agent.o(.gnu.linkonce.t._ZN6hdr_nv6accessEP6Packet+0xb): In function 
`hdr_nv::access(Packet*)':
: undefined reference to `hdr_nv::offset_'
queue/errmodel.o(.gnu.linkonce.t._ZN7hdr_pgm6accessEPK6Packet+0xb): In function
`hdr_pgm::access(Packet const*)':
: undefined reference to `hdr_pgm::offset_'
queue/errmodel.o(.gnu.linkonce.t._ZN7hdr_lms6accessEP6Packet+0xb): In function 
`hdr_lms::access(Packet*)':
: undefined reference to `hdr_lms::offset_'
mac/mac-802_11.o(.gnu.linkonce.t._ZN10EventTraceC1Ev+0xd): In function 
`EventTrace::EventTrace[in-charge]()':
: undefined reference to `BaseTrace::BaseTrace[not-in-charge]()'
mac/mac-802_11.o(.gnu.linkonce.t._ZN10EventTraceC1Ev+0x19): In function 
`EventTrace::EventTrace[in-charge]()':
: undefined reference to `vtable for EventTrace'
common/node.o(.text+0x292): In function `Node::Node[not-in-charge]()':
: undefined reference to `NixNode::NixNode[in-charge]()'
common/node.o(.text+0x3fe): In function `Node::Node[in-charge]()':
: undefined reference to `NixNode::NixNode[in-charge]()'
common/node.o(.text+0x5e8): In function `Node::command(int, char const* 
const*)':
: undefined reference to `NixNode::PopulateObjects()'
common/node.o(.text+0x68d): In function `Node::command(int, char const* 
const*)':
: undefined reference to `NixNode::GetNixVector(unsigned long)'
common/node.o(.text+0x6e3): In function `Node::command(int, char const* 
const*)':
: undefined reference to `NixNode::AddAdj(unsigned long)'
common/node.o(.text+0x99d): In function `Node::route_notify(RoutingModule*)':
: undefined reference to `RoutingModule::route_notify(RoutingModule*)'
common/node.o(.text+0x9de): In function 
`Node::unreg_route_notify(RoutingModule*)':
: undefined reference to `RoutingModule::unreg_route_notify(RoutingModule*)'
common/node.o(.text+0xa68): In function `Node::set_table_size(int)':
: undefined reference to `RoutingModule::set_table_size(int)'
common/node.o(.text+0xa91): In function `Node::set_table_size(int, int)':
: undefined reference to `RoutingModule::set_table_size(int, int)'
trace/cmu-trace.o(.text+0x2825): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `Nam802_15_4::Nam_Status'
trace/cmu-trace.o(.text+0x284a): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `p802_15_4macSA(Packet*)'
trace/cmu-trace.o(.text+0x285e): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `p802_15_4macDA(Packet*)'
trace/cmu-trace.o(.text+0x28d1): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `findAttrLink(packet_t, int, int)'
trace/cmu-trace.o(.text+0x2905): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `findAttrLink(packet_t, int, int)'
trace/cmu-trace.o(.text+0x2c9e): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `Nam802_15_4::Nam_Status'
trace/cmu-trace.o(.text+0x2d3b): In function `CMUTrace::nam_format(Packet*, 
int)':
: undefined reference to `Nam802_15_4::Nam_Status'
trace/cmu-trace.o(.gnu.linkonce.t._ZN9Simulator8instanceEv+0x4): In function 
`Simulator::instance()':
: undefined reference to `Simulator::instance_'
trace/cmu-trace.o(.gnu.linkonce.t._ZN10hdr_lrwpan6accessEPK6Packet+0xb): In 
function `hdr_lrwpan::access(Packet const*)':
: undefined reference to `hdr_lrwpan::offset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1

Can you help me?
Thanks in advance.
Best regards,




jilly126
2007-08-07


Re: [ns] Problem with "make"

2007-05-30 Thread Filippos Kolovos

-

Hi. I think that the problem that make reports has to do with the
fact that all the previously object files exist. You could erase the object
files of the .c files that you have modified so that make will have to
rebuild
only these files and not all of ns.

On the other hand, if this doesn't work you can also issue the following
commands, but in this case all of ns will be rebuilt, along with your new
files.
Consider it as a desperate measure:

/configure --with-tcl= --with-tcl-ver= \
--with-tk= --with-tk-ver= \
--with-otcl= --with-tclcl= \
--with-perl= --with-tcl-debug --enable-debug;

make clean;
make depend;
make;

Hope that I have helped.

Kind Regards,

-Fk

On 5/30/07, [EMAIL PROTECTED]  <
[EMAIL PROTECTED] > wrote:
>
>
> -- Forwarded message --
> From: "Dimitris Liarokapis" <[EMAIL PROTECTED]
> >
> To: ns2 >
> Date: Wed, 30 May 2007 15:39:59 +0100
> Subject: [ns] Problem with "make"
> Hi,
>
> I have developed a new wireless protocol using ns-2.30, i have made all
> the
> necessary changes to the various ns files along with the " makefile.in".
> But when i'm trying to #make, i get the following error.
> make: *** No rule to make target `tcp/tcp-qs.o', needed by `ns'.  Stop.
>
> Does anyone have any idea on how to fix this???
> Tnx
> Dimitris
>
>

-- 
Filippos N Kolovos

Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications

Automation & Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece

E-Mail: [EMAIL PROTECTED],
   [EMAIL PROTECTED]
Phone: +30-2310-891-826
--


[ns] Problem with "make"

2007-05-30 Thread Dimitris Liarokapis

Hi,

I have developed a new wireless protocol using ns-2.30, i have made all the
necessary changes to the various ns files along with the "makefile.in".
But when i'm trying to #make, i get the following error.
make: *** No rule to make target `tcp/tcp-qs.o', needed by `ns'.  Stop.

Does anyone have any idea on how to fix this???
Tnx
Dimitris


Re: [ns] problem with make

2007-04-17 Thread Velan

hi...
   In ns2 package, some files are relocated or missed. Thats y, the errors
may occurs.. So, do one thing, try to install again the ns-allinone package
and include the paths. Then execute the make command... Some linkage
problems are also raise these errors... So try to do the above...

Thanks and regards...
Velan

On 4/18/07, Anuradha <[EMAIL PROTECTED]> wrote:
>
>
>
> hello sir
>
> Did you get any solution for this problem.
> I am also facing the same problem.
> if you have its solution, please send it to me
> my mail id is
> [EMAIL PROTECTED]
>
> i will be very thankful to you.
>
> Anuradha
>
>
> sachin  dahiya wrote:
> >
> >
> >
> > I am new to NS. I am running NS on cygwin on Windows XP.
> >
> > I was trying the 'make depend' and 'make' commands to see if they are
> > working properly. I did not make any changes to any files after i
> > installed
> > NS. However, I received the errors shown below while i used the 'make'
> > command:
> >
> > ucb; do ( cd $i; make all; ) done
> > make[1]: Entering directory
> > `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory
> > `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
> > make[1]: Entering directory `/home/ns-2.29
> /indep-utils/webtrace-conv/dec'
> > g++ -c -Wall -DCPP_NAMESPACE=std -I. -I/home/tclcl-1.17 -I/home/otcl-
> 1.11
> > -I/home/include -I/home/include -I/usr/include/pcap -o proxytrace2any.o
> > proxytrace2any.cc
> > proxytrace2any.cc: In function `int main(int, char**)':
> > proxytrace2any.cc:112: error: `IsLittleEndian' undeclared (first use
> this
> > function)
> > proxytrace2any.cc:112: error: (Each undeclared identifier is reported
> only
> > once for each function it appears in.)
> > proxytrace2any.cc:120: error: `ToOtherEndian' undeclared (first use this
> > function)
> > make[1]: *** [proxytrace2any.o] Error 1
> > make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/dec'
> > make[1]: Entering directory `/home/ns-2.29
> /indep-utils/webtrace-conv/epa'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/epa'
> > make[1]: Entering directory
> > `/home/ns-2.29/indep-utils/webtrace-conv/nlanr'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory `/home/ns-2.29
> /indep-utils/webtrace-conv/nlanr'
> > make[1]: Entering directory `/home/ns-2.29
> /indep-utils/webtrace-conv/ucb'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb'
> >
> > I do not understand why this error is appearing. Can anyone help me with
> > this? Thanks in advance.
> >
> >
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/problem-with-make-tf3251454.html#a10052804
> Sent from the ns-users mailing list archive at Nabble.com.
>
>
>


Re: [ns] problem with make

2007-04-17 Thread Anuradha


hello sir

Did you get any solution for this problem.
I am also facing the same problem.
if you have its solution, please send it to me
my mail id is
[EMAIL PROTECTED]

i will be very thankful to you.

Anuradha


sachin  dahiya wrote:
> 
> 
>   
> I am new to NS. I am running NS on cygwin on Windows XP.
> 
> I was trying the 'make depend' and 'make' commands to see if they are
> working properly. I did not make any changes to any files after i
> installed
> NS. However, I received the errors shown below while i used the 'make'
> command:
> 
> ucb; do ( cd $i; make all; ) done
> make[1]: Entering directory
> `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
> make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/dec'
> g++ -c -Wall -DCPP_NAMESPACE=std -I. -I/home/tclcl-1.17 -I/home/otcl-1.11
> -I/home/include -I/home/include -I/usr/include/pcap -o proxytrace2any.o
> proxytrace2any.cc
> proxytrace2any.cc: In function `int main(int, char**)':
> proxytrace2any.cc:112: error: `IsLittleEndian' undeclared (first use this
> function)
> proxytrace2any.cc:112: error: (Each undeclared identifier is reported only
> once for each function it appears in.)
> proxytrace2any.cc:120: error: `ToOtherEndian' undeclared (first use this
> function)
> make[1]: *** [proxytrace2any.o] Error 1
> make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/dec'
> make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/epa'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/epa'
> make[1]: Entering directory
> `/home/ns-2.29/indep-utils/webtrace-conv/nlanr'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/nlanr'
> make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb'
> 
> I do not understand why this error is appearing. Can anyone help me with
> this? Thanks in advance.
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/problem-with-make-tf3251454.html#a10052804
Sent from the ns-users mailing list archive at Nabble.com.




[ns] problem with make

2007-02-19 Thread sachin dahiya

  
I am new to NS. I am running NS on cygwin on Windows XP.

I was trying the 'make depend' and 'make' commands to see if they are
working properly. I did not make any changes to any files after i installed
NS. However, I received the errors shown below while i used the 'make'
command:

ucb; do ( cd $i; make all; ) done
make[1]: Entering directory `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/dec'
g++ -c -Wall -DCPP_NAMESPACE=std -I. -I/home/tclcl-1.17 -I/home/otcl-1.11
-I/home/include -I/home/include -I/usr/include/pcap -o proxytrace2any.o
proxytrace2any.cc
proxytrace2any.cc: In function `int main(int, char**)':
proxytrace2any.cc:112: error: `IsLittleEndian' undeclared (first use this
function)
proxytrace2any.cc:112: error: (Each undeclared identifier is reported only
once for each function it appears in.)
proxytrace2any.cc:120: error: `ToOtherEndian' undeclared (first use this
function)
make[1]: *** [proxytrace2any.o] Error 1
make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb'

I do not understand why this error is appearing. Can anyone help me with
this? Thanks in advance.





[ns] Problem with 'make' for creating node movement!

2006-07-17 Thread sara MA

Hello everybody:

I'm following the ns tutorial to create node-movement for wireless scenario.

I already run configure command under ns directory, but when I run 'make' 
command under indep-utils/cmu-scen-gen/setdest directory, I get this error:

make: Nothing to be done for 'all'

is it familiar with any of you?

I appriciate any kind of help regarding this matter.

Thanks,
Sara

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/