[Click] devirtualize error
Shilpi Agarwal
shilpi at cae.wisc.edu
Fri Jul 11 13:29:36 EDT 2003
Hi!!
I am trying to us ethe tool devirtualize on the following configuration--
ss::StrideSched(100)
PollDevice(eth0,true)
->c0::Classifier (6/001094020740,-)
c0[0]
->Strip(12)
->Queue(32000)
->DelayShaper(.010)
->MacEncap(00:02:b3:b6:c5:31,00:10:94:02:07:14)
->[0]ss
c0[1]
->Discard;
ss[0]->ToDevice(eth0);
But its giving me some errors like-
click-install: Compiling package devirtualize.k.cc from config archive
g++ -w -W -Wall -fno-exceptions -fno-rtti -fvtable-thunks -MD -DHAVE_CONFIG_H
-DCLICK_LINUXMODULE -I/usr/local/share/click/src -I/usr/local/include
-I/usr/src/linux/include -O2 -c -DCLICK_PACKAGE -w -fno-access-control
devirtualize.cc
devirtualize.cc: In method `void Classifier_a_ac0::length_checked_push
(Packet *)':
devirtualize.cc:381: `UBYTES' undeclared (first use this function)
devirtualize.cc:381: (Each undeclared identifier is reported only once
for each function it appears in.)
devirtualize.cc: In method `Packet *DelayShaper_a_aDelayShaper_a5::pull
(int)':
devirtualize.cc:480: `elapsed_us' undeclared (first use this function)
click-install: While compiling package `devirtualize.ko':
click-install: `/usr/local/bin/click-compile --target=linuxmodule
--package=devirtualize.ko devirtualize.cc' failed
Above configuration works fine as it is (without using this tool). MacEncap is a
simple element like Etherencap just that it only encapsulate mac addresses not
ethernet type.
Please let me know how to get rid of this error.
Thanks a lot in advance
Shilpi
Shilpi Agarwal
Graduate Student
Dept of Electrical Engineering
University of Wisconsin
Madison-53706
phone:608-233-3714
More information about the click
mailing list