[Click] error message while compilin element

Eddie Kohler kohler at cs.ucla.edu
Wed Apr 27 10:04:36 EDT 2005


It means you need to read the FAQ Section 3.

IPTable2 is not an element, you cannot treat it like one.


On Apr 26, 2005, at 11:50 PM, Gaurav Shrivastava wrote:

> Hi All,
>
> What does this mean??
>
> [root at prithvi userlevel]# make
> g++ -W -Wall -fno-exceptions -fno-rtti -DHAVE_CONFIG_H -I../include
> -I../include -I. -I.. -DCLICK_USERLEVEL -g -O2 -MD -c
> ../elements/ip/lulea.cc
> ../click-buildtool elem2export < elements.conf > elements.cc
> g++ -W -Wall -fno-exceptions -fno-rtti -DHAVE_CONFIG_H -I../include
> -I../include -I. -I.. -DCLICK_USERLEVEL -g -O2 -MD -c elements.cc
> elements.cc: In function `Element* beetlemonkey(uintptr_t)':
> elements.cc:217: error: cannot convert `IPTable2*' to `Element*' in 
> return
> elements.cc: In function `void click_export_elements()':
> elements.cc:446: error: `static_initialize' is not a member of 
> `IPTable2'
> elements.cc: In function `void click_unexport_elements()':
> elements.cc:761: error: `static_cleanup' is not a member of `IPTable2'
> make: *** [elements.o] Error 1
>
> Thanks,
> -- 
> -Gaurav
> www.getfirefox.com <http://www.getfirefox.com>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



More information about the click mailing list