[Click] Compile error : struct net_device has no br_port

Fabrice Schuler fabrice.schuler at inrialpes.fr
Thu May 26 09:35:03 EDT 2011


  On 05/26/11 11:36, Fabrice Schuler wrote:
> I'm trying to build the latest click version on vanilla kernel 2.6.36.4,
> but got this error :
>
> CXX [M] anydevice.o
>
> /home/fschuler/latest_click/linuxmodule/../elements/linuxmodule/anydevice.cc:127:
> error: struct net_device has no member named br_port
>
>
> Eddie Kohler precised on the mail exchange on 01/25 :
>
> I believe 2.6.35 works.  2.6.36 might work.
Well, I'm afraid I'm unlucky, but 2.6.35.13 does not work neither (same 
kind of error, but not exactly the same) :

   CXX [M] fromhost.o
/home/fschuler/latest_click/linuxmodule/../elements/linuxmodule/fromhost.cc: 
In member function int FromHost::set_device_addresses(ErrorHandler*):
/home/fschuler/latest_click/linuxmodule/../elements/linuxmodule/fromhost.cc:289: 
error: struct net_device has no member named nd_net


Any idea of an available kernel version that would match with current 
version of click ?

Any help would be gratefully appreciated,
Fabrice Schuler



More information about the click mailing list