[Click] directiplookup.hh

Bob Keyes bob at sinister.com
Thu Mar 10 23:29:10 EST 2005


Um, well, I seemed to have got over my previous problem by simply
switching to cvs code. But now another problem shows up, both for my
native (x86) environment and the cross-compilation.

g++ -W -Wall -fno-exceptions -fno-rtti  -DHAVE_CONFIG_H -I../include
-I../include -I. -I..  -DCLICK_USERLEVEL -g -O2 -MD -c
../elements/ip/directiplookup.cc
In file included from ../elements/ip/directiplookup.cc:22:
../elements/ip/directiplookup.hh:97: error: parse error before `&' token
../elements/ip/directiplookup.hh:98: error: parse error before `&' token
../elements/ip/directiplookup.cc:79: error: parse error before `&' token
../elements/ip/directiplookup.cc: In member function `int
   DirectIPLookup::add_route(...)':
../elements/ip/directiplookup.cc:82: error: `route' undeclared (first use
this
   function)
../elements/ip/directiplookup.cc:82: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
../elements/ip/directiplookup.cc:91: error: `old_route' undeclared (first
use



This is with gcc 3.3.5, with click configured with the roofnet suggested
config.


More information about the click mailing list