[Click] weird compile problems

Eddie Kohler kohler at cs.ucla.edu
Tue May 24 10:49:06 EDT 2005


Hi Ashwin,

My guess is that you copied red.hh to make a new element, but did not change the 
#ifndef CLICK_RED_HH ... #endif wrapper symbol (from CLICK_RED_HH).  This means 
that although Click #include's the "red.hh" wrapper, it does not see the RED 
element.

E


Ashwin Chandra wrote:
> I get the following error when compiling:
> 
> elements.cc: In function `Element* beetlemonkey(unsigned int)':
> elements.cc:231: error: parse error before `;' token
> 
> These are lines 230,231,and232 of elements.cc
>  case 24: return new AdaptiveRED;
>    case 25: return new RED;
>    case 26: return new ARPFaker;
> 
> 
> apparently it doesn't like RED, but it checks out ok..
> 
> any ideas on this? ive been having this problem before but it went away somehow...
> ive tried make clean, make elemlist, and make too
> 
> 
> Ash
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 


More information about the click mailing list