[Click] Compile error : struct net_device has no br_port

Joonwoo Park joonwpark81 at gmail.com
Thu May 26 10:53:28 EDT 2011


If your kernel doesn't have CONFIG_NET_NS=y, please build with it then
try again.
I think you can workaround with this.

Joonwoo

On Thu, May 26, 2011 at 6:35 AM, Fabrice Schuler
<fabrice.schuler at inrialpes.fr> wrote:
>  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
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



More information about the click mailing list