[Click] Compile a non-element class in Click

Giovanni Di Stasi giovanni.distasi at unina.it
Thu Sep 4 05:52:30 EDT 2008


On Thursday 04 September 2008 11:40:46 Adam Greenhalgh wrote:
> Have you tried rebuilding the elements list ?
>
> Adam
>
> 2008/9/3 Giovanni Di Stasi <gdistasi at gmail.com>:
> > On Wednesday 03 September 2008 18:34:44 Tushar Soni wrote:
> >> Hi,
> >>
> >> Rename your files to testcompile.hh and testcompile.cc.
> >> According to the FAQs section:
> >>
> >> "Each element class should be written as two C++ source files, FILE.cc
> >> and FILE.hh."
> >>
> >>
> >> I think this holds true for a normal class as well (which is not an
> >> element).
> >
> > Hi,
> > unfortunately, nothing changes after renaming the header file.
> > The file name is not present in elements.conf, and is not compiled.


Yes, with make elemlist...
-- 
Giovanni Di Stasi, Junior Researcher
Dipartimento di Informatica e Sistemistica
Università degli Studi di Napoli "Federico II"
Via Claudio, 21 - 80125 Napoli - Italy

Phone:    +39 081 7683821
Fax:      +39 081 7683816
E-mail:   giovanni.distasi at unina.it



More information about the click mailing list