[Click] error message while compilin element

Eddie Kohler kohler at cs.ucla.edu
Wed Apr 27 12:09:06 EDT 2005


You should make it an element.


On Apr 27, 2005, at 8:25 AM, Gaurav Shrivastava wrote:

> Hi Eddie,
>
>  I am confused.
>  Should I make IPtable2 as an element by pattern matching it with 
> existing router Lookup
>  or
>  Should I make it as package because IPtable2 is not an element?
>
>  Many Thanks,
>  Gaurav Shrivastava
>
> On 4/27/05, Eddie Kohler <kohler at cs.ucla.edu> wrote:
>>
>> 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
>> >
>>
>
>
>
> -- 
> -Gaurav
> www.getfirefox.com



More information about the click mailing list