Update: [Click] Problem with fast-classifier

Peter Lippens Peter.Lippens at UGent.be
Mon Oct 25 09:53:13 EDT 2004


Hi,

I got via CVS last weekend the updated version, and recompiled new Debian
(2.4.26), after applying the Click debian-patch (without errors) but when I want
to optimize my IProuter, I get the following error:

nike3:/click# click-fastclassifier -k config | click-devirtualize -k |
click-install
config: warning: click-fastclassifier: empty configuration
click-fastclassifier: cannot find file 'click'
click-fastclassifier: in CLICKPATH ''
<stdin>: warning: empty configuration
g++ -w -W -Wall -fno-exceptions -fno-rtti -fvtable-thunks -fpermissive
-DHAVE_CONFIG_H -DCLICK_LINUXMODULE -I/usr/local/share/click/src
-I/usr/local/include -I/usr/src/linux/include -O2 -MD -c -DCLICK_PACKAGE -w
-fno-access-control devirtualize.cc -o devirtualize879.o
devirtualize.cc: In function `int init_module(...)':
devirtualize.cc:29: `MOD_IN_USE' undeclared (first use this function)
devirtualize.cc:29: (Each undeclared identifier is reported only once
devirtualize.cc:29: for each function it appears in.)
devirtualize.cc:30: `MOD_DEC_USE_COUNT' undeclared (first use this function)
'/usr/local/bin/click-compile --directory=/tmp/clicktmp873/ --target=kernel
--package=devirtualize.ko devirtualize.cc' failed
<stdin>: warning: empty configuration

I tried putting the config in /click, /usr/src/click and in /root, click.o
loaded & not loaded, but always the same error...

Can anyone help...?
Thanks,

Peter Lippens
Ghent University


Quoting Eddie Kohler <kohler at CS.UCLA.EDU>:

> Hi Peter,
>
> Looks like this was a bug.  It's fixed in anonymous CVS.  Thanks for
> reporting it!
>
> Eddie
>
>
> On Oct 7, 2004, at 4:33 AM, Peter Lippens wrote:
>
> > Hello,
> >
> > Using Linux 2.4.26 with Click 1.4.1, i'm having problems optimizing the
> > (working) config (named 'config') of a standard IP-router.
> > When I issue the command 'click-fastclassifier config |
> > click-devirtualize |
> > click-install' , I get the following error:
> >
> > click-install: Compiling package fastclassifier.cc from config archive
> > g++ -w -W -Wall -fno-exceptions -fno-rtti -fvtable-thunks
> > -DHAVE_CONFIG_H
> > -DCLICK_LINUXMODULE -I/usr/local/share/click/src -I/usr/local/include
> > -I/usr/src/linux/include -O2 -MD -c -DCLICK_PACKAGE -w
> > fastclassifier.cc -o
> > fastclassifier20023.o
> > fastclassifier.cc: In function `int init_module(...)':
> > fastclassifier.cc:57: passing `FastClassifier_a_ac0 *' as argument 2 of
> > `click_add_element_type(const char *, Element * (*)(long unsigned
> > int), long
> > unsigned int)'
> > click-install: While compiling package 'fastclassifier.ko':
> > click-install:   '/usr/local/bin/click-compile --target=linuxmodule
> > --package=fastclassifier.ko fastclassifier.cc' failed
> >
> > In attach you can find the source.
> > Thanks in advance,
> >
> > Peter Lippens - University Ghent
> >
> >
> > --
> > <test.cc>_______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>


--




More information about the click mailing list