1)  I applied ns_2.28-4.diff to ns_2.28.orig, and had an error when trying
to compile.  When I attempted a make after configure, I got the following


$ make





linone-2.29/tclcl-1.17 -I/usr/ns-allinone-2.29/otcl-1.11

/include -I/usr/ns-allinone-2.29/include -I/usr/include/pcap -I./tcp
-I./sctp -I

./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace

uting -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main

lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core

 -I./qs -I./diffserv -I./wpan -o gea/gea.o gea/gea.cc

gea/gea.cc:1:21: gea/API.h: No such file or directory

gea/gea.cc:3: error: `gea' has not been declared

gea/gea.cc:3: error: expected constructor, destructor, or type conversion


gea/gea.cc:3: error: expected `,' or `;' before "GEA"

make: *** [gea/gea.o] Error 1


2)  It looks like the patched version is missing a file.  I then tried using
gea source (libgea_1.1) instead of gea directory of the patch, and got the
following error when performing make:


$ make

make: *** No rule to make target `gea/gea.cc', needed by `gea/gea.o'.  Stop.


I'm obviously doing something wrong here, but I don't know what.  What steps
are required to compile ns with gea?  




Jeff S.




-----Original Message-----
Of Daniel Mahrenholz
Sent: Sunday, May 28, 2006 12:27 PM
To: Jeff Schwentner
Cc: ns-users@ISI.EDU
Subject: Re: [ns] Simulating an embedded ad-hoc wireless protocol



Hi Jeff,


Jeff Schwentner schrieb:

> So if I understand correctly, I would embed our custom packets in UDP

> packets.  This would include the RTS/CTS/ACK MAC packets in addition to

> actual data packets.  The MAC layer, as far as ns-2 is concerned, would

> be a pass-through (not sending its own RTS/CTS).


Yes - at the moment this would result in all packets being encapsulated 

into UDP packets. In our case we have some kind of extended MAC layer. 

We do not replace the standard 802.11 MAC but we do not use RTS/CTS and 

only broadcast communication and so no ACKs. Currently we do not have 

the "pass through" MAC because our protocols are intended to work on 

COTS hardware. But for you this probably will not work if you like to 

replace/modify the whole MAC behavior and its timing.

> Do you have an example that I can compile and run with ns-2 (I'm using

> on Cygwin)?  In either case, I would greatly appreciate any documentation

> you can point me to get started!

We have some code examples in the source code archive in our repository. 

So far we did not try to compile GEA on cygwin but there should be no 

problem. But you need to use the modified ns-2 (available from our 




Reply via email to