[Click] Compilation problems redux
Eddie Kohler
kohler at CS.UCLA.EDU
Wed Jul 7 14:03:43 EDT 2004
Bob,
On Jul 7, 2004, at 12:15 PM, Bob Keyes wrote:
>> So, could you please try to
>> reconfigure with "CXX='whatever -fno-exceptions -fno-rtti'" and let us
>> know what happens?
>
>
> Configure warns:
>
> Your C++ compiler (g++-2.95 -fnoexceptions -fnortti) is not a GNU C++
> compiler!
You left out the dashes: -fno-exceptions -fno-rtti (note dashes after
no)
> So, I moved the symbolic links for gcc, g++, and cpp to their 3.3
> versions
> and replaced them with links to the 2.95 versions. compile rans
> smoothly,
> but the error in compilation remains:
>
> g++ -W -Wall -fno-exceptions -fno-rtti -fvtable-thunks -DHAVE_CONFIG_H
> -I../include -I../include -I. -I.. -DCLICK_USERLEVEL -g -O2 -MD -c
> ../elements/wifi/linktable.cc
> In file included from ../elements/wifi/linktable.cc:19:
> ../elements/wifi/linktable.hh:171: declaration of `typedef class
> HashMap<IPAddress,IPAddress> LinkTable::IPTable'
> ../elements/wifi/linktable.hh:126: conflicts with previous declaration
> `typedef class HashMap<IPAddress,IPAddress> LinkTable::IPTable'
> make[1]: *** [linktable.o] Error 1
> make[1]: Leaving directory
> `/mnt/filestore/nellydata/home/bobk/click/userlevel'
> make: *** [userlevel] Error 2
This was in fact an error, it is fixed in the cvs version. Delete line
elements/wifi/linktable.hh:171.
Eddie
More information about the click
mailing list