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

Daniel Henkel henk at gmx.com
Fri Aug 26 09:36:09 EDT 2005


Junhe,

As of 2/7/2005, MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT macros are
deprecated. Don't use them anymore. For details see CVS Changelog. 

- Daniel.

.....
Interdisciplinary Telecommunications Program
University of Colorado at Boulder
http://AUGNet.colorado.edu

---- Original Message ----
From: Junhe Jian
To: click at amsterdam.lcs.mit.edu
CC: 
Subject: [Click] problem after install cvs click and update linux kernel

Friday, August 26, 2005, 5:44:11 AM, you wrote:

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

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

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

JJ> best regards
JJ> junhe jian

JJ> _______________________________________________
JJ> click mailing list
JJ> click at amsterdam.lcs.mit.edu
JJ> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list