[Click] problem after install cvs click and update linux kernel

Junhe Jian Junhe.Jian at hhi.fraunhofer.de
Fri Aug 26 07:44:11 EDT 2005


hello click fans,
i have a problem. befor i use a RSTP brigde elements with click 1.4.3
under suse 9.2 kernel 2.6.8, it works fine in user-level modus.
now i want test it in click linux kernel modus, for it i must install
cvs click with the new e1000 driver for intel pro/1000 MT dual port
interfaces.i install linux kernel 2.6.11.6 and then install cvs-click
2.6.11.6 patch without errors. After it i install the RSTP brigde
elements,(elements are in local folder, and then i do ./confgure
--enable-local, make elemlist, make install) and now i get few errors:

************************************************************************
make[1]: Entering directory `/home/onuuser/cvs-click/click/userlevel'
ar cru libclick.a string.o straccum.o nameinfo.o bitvector.o vectorv.o
templatei.o bighashmap_packet.o error.o timestamp.o glue.o task.o
timer.o atomic.o gaprate.o element.o confparse.o var.o handlercall.o
notifier.o integers.o crc32.o in_cksum.o iptable.o ewma64.o archive.o
useruterrorelement.o portinfo.o scheduleinfo.o clp.o exportstub.o
ranlib libclick.a
g++ -W -Wall -fno-exceptions -fno-rtti -DHAVE_CONFIG_H -I../include
-I../include -I. -I.. -Dc
../elements/local/etherswitch2.cc: In constructor
`EtherSwitch2::EtherSwitch2()
   ':
../elements/local/etherswitch2.cc:37: error: `MOD_INC_USE_COUNT'
undeclared
   (first use this function)
../elements/local/etherswitch2.cc:37: error: (Each undeclared identifier
is
   reported only once for each function it appears in.)
../elements/local/etherswitch2.cc: In destructor `virtual
   EtherSwitch2::~EtherSwitch2()':
../elements/local/etherswitch2.cc:42: error: `MOD_DEC_USE_COUNT'
undeclared
   (first use this function)
make[1]: *** [etherswitch2.o] Fehler 1
make[1]: Leaving directory `/home/onuuser/cvs-click/click/userlevel'
make: *** [install] Fehler 1
************************************************************************

i m not a good C++ programmer.
can andybody help me to fix it,
and tell me how i install elements in linux-kernel.
if needed, i will post the rstp elements.
thankyou everybody!!!!!

best regards
junhe jian



More information about the click mailing list