[Click] trieiplookup.cc build problems?
Jon Loeliger
jdl at vivato.net
Wed Jul 9 11:34:23 EDT 2003
Hi folks,
Anyone else have difficulty building top-of-CVS with GCC 3.3.1?
Or did I miss something obvious? (My Click has been configured
using "./configure --disable-wifi" for lack of the right wifi
header file.)
My fear is that G++ 3.3.1 is much less forgiving... :-)
Thanks,
jdl
g++ -W -Wall -fno-exceptions -fno-rtti -DHAVE_CONFIG_H -I../include
-I../include -I. -I.. -DCLICK_USERLEVEL -g -O2 -MD -c
../elements/ip/trieiplookup.cc
../include/click/hashmap.hh: In member function `int HashMap<K,
V>::bucket(const K&) const [with K = TrieIPLookup::HashIPAddress, V =
TrieIPLookup::Marker]':
../elements/ip/trieiplookup.cc:121: instantiated from `V* HashMap<K,
V>::findp(const K&) const [with K = TrieIPLookup::HashIPAddress, V =
TrieIPLookup::Marker]'
../elements/ip/trieiplookup.cc:335: instantiated from here
../include/click/hashmap.hh:91: error: call of overloaded
`hashcode(const
TrieIPLookup::HashIPAddress&)' is ambiguous
../include/click/hashmap.hh:127: error: candidates are: int
hashcode(int)
../include/click/hashmap.hh:133: error: unsigned int
hashcode(unsigned int)
make[1]: *** [trieiplookup.o] Error 1
make[1]: Leaving directory `/mnt/harvey_home/jdl/Click/click/userlevel'
make: *** [userlevel] Error 2
foobar 216 % g++ --version
g++ (GCC) 3.3.1 20030626 (Debian prerelease)
More information about the click
mailing list