[ns] GEA Problems / Tutorial?
Daniel Mahrenholz
mahrenho at ivs.cs.uni-magdeburg.de
Mon Jun 19 11:54:42 PDT 2006
Hi Jeff,
Jeff Schwentner schrieb:
> 1) I downloaded ns-2.28, the 2.28-4 patch, and libgea1.1 from
> http://bode.cs.uni-magdeburg.de/~aherms/debian/dists/sid/ns2/source/
>
OK
> 2) I applied the patch
>
OK
> 3) I copied the contents of the libgea1.1 package on top of the gea
> directory in ns-2.28
>
BAD! The libgea-package contains the POSIX version of GEA. You will need
to install it to be able to compile GEA applications and if you like to
run them outside of ns-2. So unpack, compile it in a separate directory.
Copying on top of the ns-2/gea directory will overwrite the ns-2 version.
> 4) I ran automake -ac in the gea directory, and then copied libtool
> into the gea directory. (Note: Step 5 wouldn't succeed without this step).
>
There is a prepare.pl script that you should prefer for this step.
> 5) I then built the contents of gea using ./configure, make, make
> install
>
OK (if outside of ns-2)
> 6) I tried to build the contents of ns-2.28 (parent directory) with
> ./configure, make.
>
Should work if you do not overwrite it in step 3).
> 7) I get the following error when I performed make: make: *** No rule
> to make target `gea/gea.cc', needed by `gea/gea.o'.
>
>
> Can anyone see what I'm doing wrong? Also, I would greatly appreciate any
> documentation that would help a new user learn & use gea. Perhaps a
> tutorial?
>
If this works, I will add this procedure to the nsnam wiki. There is no
tutorial. You will find some examples in the test directory. For more
background information read
http://www-ivs.cs.uni-magdeburg.de/EuK/forschung/publikationen/pdf/2005/gea.pdf
. Maybe I find some time to start a tutorial in the wiki.
As a side notice - I just tried to compile gea with cygwin and gcc3.4.4
and it failed because of problems with winsock2.h ... I will work on this.
Daniel.
More information about the Ns-users
mailing list