[Click] Problem compiling a new element
Johan Theunis
johan.theunis at esat.kuleuven.be
Tue Nov 15 10:57:18 EST 2005
Hi,
In 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?
(after following the suggestions already posted)
Hope this helps
Johan
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.
>
> Thanks,
> Ramanathan
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
--
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