[Click] Compile error : struct net_device has no br_port

Eddie Kohler kohler at cs.ucla.edu
Thu Jun 2 13:41:17 EDT 2011


I've also checked in a tweak that should make compilation work with or without 
CONFIG_NET_NS.  Thanks.

E


On 05/26/2011 07:53 AM, Joonwoo Park wrote:
> 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
>>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list