[Click] [click] Compile error : struct net_device has no br_port
Fabrice Schuler
fabrice.schuler at inrialpes.fr
Thu May 26 05:36:47 EDT 2011
Hello,
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:
In member function ���void AnyDevice::alter_from_device(int)���:
/home/fschuler/latest_click/linuxmodule/../elements/linuxmodule/anydevice.cc:127:
error: ���struct net_device��� has no member named ���br_port���
/home/fschuler/latest_click/linuxmodule/../elements/linuxmodule/anydevice.cc:135:
error: ���struct net_device��� has no member named ���br_port���
/home/fschuler/latest_click/linuxmodule/../elements/linuxmodule/anydevice.cc:142:
error: ���struct net_device��� has no member named ���br_port���
Is there anything I missed, or is the solution to use an older kernel,
as Eddie Kohler precised on the mail exchange on 01/25 :
This is a more significant problem that I think will require serious effort to
solve. The Ethernet bridging hooks used by Click patchless have been removed
in 2.6.37. I am not sure what alternative we have.
I believe 2.6.35 works. 2.6.36 might work.
Thanks for any advice,
Fabrice
More information about the click
mailing list