Hi Daniel, > 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.
I just want to use GEA with ns-2, so I did not use the contents of libgea1.1. Instead, I compiled after applying the patch with: ./configure --enable-debug make I get the following errors during make: gea/ShadowEventHandler.cc:14:29: gea/FlowTracker.h: No such file or directory gea/ShadowEventHandler.cc: In destructor `virtual gea::ShadowEventHandler::~ShadowEventHandler()': gea/ShadowEventHandler.cc:39: warning: possible problem detected in invocation of delete operator: gea/ShadowEventHandler.cc:22: warning: `gea::ShadowEventHandler::currentFlow' has incomplete type ./gea/ShadowEventHandler.h:15: warning: forward declaration of `struct gea::FlowTracker' gea/ShadowEventHandler.cc:39: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. gea/ShadowEventHandler.cc: In member function `void gea::ShadowEventHandler::doPendingEvents()': gea/ShadowEventHandler.cc:113: error: invalid use of undefined type `struct gea::FlowTracker' ./gea/ShadowEventHandler.h:15: error: forward declaration of `struct gea::FlowTracker' gea/ShadowEventHandler.cc: In member function `void gea::ShadowEventHandler::addPendingEvent(gea::DependHandle*, void (*)(gea::Handle*, gea::AbsTime, void*), gea::AbsTime, void*)': gea/ShadowEventHandler.cc:124: error: invalid use of undefined type `struct gea::FlowTracker' ./gea/ShadowEventHandler.h:15: error: forward declaration of `struct gea::FlowTracker' make: *** [gea/ShadowEventHandler.o] Error 1 Any ideas? > 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. A tutorial would be great! Maybe I can be your lab rat! Thanks again Daniel, Jeff
