Error with EP method in gdp_router_nat.cc
When running adm/install-gdp-router-click.sh, the following compilation error appears:
../elements/local/gdp_router_nat.cc: In member function ‘virtual int GDPRouterNat::initialize(ErrorHandler*)’:
../elements/local/gdp_router_nat.cc:260:26: error: ‘ep_sd_notify’ was not declared in this scope
../elements/local/gdp_router_nat.cc: In member function ‘virtual void GDPRouterNat::selected(int, int)’:
../elements/local/gdp_router_nat.cc:588:55: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result -Wunused-result read(processFD, _readBuffer, READ_BUF_SIZE);
elements.mk:391: recipe for target 'gdp_router_nat.o' failed
make: *** [gdp_router_nat.o] Error 1
make: Leaving directory '/home/neil/click/userlevel'
Makefile:57: recipe for target 'userlevel' failed
make: *** [userlevel] Error 2
[FATAL] Could not compile gdp-router-click
I was able to recompile it without error after commenting out line 260 in ~/click/elements/local/gdp_router_nat.cc which was "ep_sd_notify("READY=1\n");"
I thought it may have to do with the EP library not properly installing but I recompiled the EP library and I still had the same problem.