[Click] problems including a new element in click

Bart Braem bart.braem at ua.ac.be
Wed Sep 3 10:49:47 EDT 2008


On 03 Sep 2008, at 12:48, sendoa vaz wrote:

> elements.cc: In function 'Element* beetlemonkey(uintptr_t)':
> elements.cc:259: error: expected type-specifier before 'VlanEncap'
> elements.cc:259: error: cannot convert from 'int*' to 'Element*' in  
> return
> elements.cc:259: error: expected ';' before 'VlanEncap'
> elements.cc:259: error: 'VlanEncap' not declared...
> make[1]: *** [elements.o] Error 1
> make[1]: se sale del directorio
> `/home/sendoa/SENDOA_PFC/descargas/click-1.6.0/userlevel'
>
> The thing is that my element appears in the elements.cc file and in  
> the
> elements.conf file.... The code of the VlanEncap element is similar  
> the code
> of the etherencap element.


Please post the code, it is impossible to debug your problem without it.

Regards,
Bart Braem
-- 
Bart Braem
PATS research group - IBBT
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.30
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.32.91
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be



More information about the click mailing list