[Click] anydevice and fromdevice compilation errors
Eddie Kohler
kohler at cs.ucla.edu
Thu Jun 23 13:43:36 EDT 2011
I think I forgot to send mail that this is now fixed. Thanks!
Eddie
On 06/16/2011 03:15 PM, Roman Chertov wrote:
> I pulled click from git today and have the following compilation issue.
>
> I am using gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) and
> 2.6.35.13-91.fc14.i686 kernel
>
> CXX [M] anydevice.o
> /usr/local/click-git/linuxmodule/../elements/linuxmodule/anydevice.cc:129:34:
> error: #elif with no expression
> make[3]: *** [/usr/local/click-git/linuxmodule/anydevice.o] Error 1
>
> The code in question is
>
> #if HAVE_CLICK_KERNEL
> (void) delta;
> #elif CLICK_FROMDEVICE_USE_BRIDGE
> if (!_dev)
>
> If I change the #elif to #elseif then everything works fine. Similar issues
> arise in fromdevice.cc
>
> Roman
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list