[Click] Problem compiling a new element

Ramanathan Palaniappan ramwisc at gmail.com
Tue Nov 15 15:37:24 EST 2005


Hi,

I tried with the user level driver and everything works fine, but the kernel
level driver is unable to identify my element class.

Thanks,
Ramanathan

On 11/15/05, Johan Theunis <johan.theunis at esat.kuleuven.be> wrote:
>
> Ramanathan Palaniappan wrote:
> > Hi,
> >
> > I have added a simple element to Click and I have compiled it
> successfully.
> > But when I use the element in my script, Click reports "unknown element
> > class". I have attached the *.cc and *.hh files for reference. The new
> > element was placed under "elements/local" and local was enabled during
> > configuration.
> >
> > Any suggestions would be greatly appreciated.
> >
>
>
> Hi,
>
> If I look at your .hh file, I see the line:
>
> "const char *class_name() const { return "Replicate"; }"
>
> Replace this line with
>
> "const char *class_name() const { return "ReplicateElement"; }"
> and try again.
>
> If this doesn't work, could you send us your elements.conf file as well?
>
> Hope this helps
>
> Johan
>
> --
> Johan Theunis
> Dept. ESAT-Telemic
> K.U.Leuven, Belgium
> Tel. +32 16 32 18 22
>
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
>
>


More information about the click mailing list