[Click] Compile error : struct net_device has no br_port
Joonwoo Park
joonwpark81 at gmail.com
Fri May 27 12:20:31 EDT 2011
Hi,
I cced list. Please cc list next time.
How big is your click.ko?
Do you have CONFIG_DEBUG_INFO=y in your kernel config?
If then as a quick solution you might need to either :
1) turn off CONFIG_DEBUG_INFO, or
2) run strip -g /usr/local/lib/click.ko to strip debug info.
If not, please post result of 'dmesg | tail' after running click-install.
Regards,
Joonwoo
On Fri, May 27, 2011 at 5:24 AM, Fabrice Schuler
<fabrice.schuler at inrialpes.fr> wrote:
> On 05/26/11 16:53, 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.
>>
> Hello,
>
> Thanks a lot for the workaround, it compiles with 2.6.35.13.
> Now, I just have to understand why I can't load the module :-)
>
> # click-install -V test.click
> click-install: Installing Click module (/usr/local/lib/click.ko)
> insmod: error inserting '/usr/local/lib/click.ko': -1 Cannot allocate memory
> click-install: '/sbin/insmod /usr/local/lib/click.ko' failed
>
> Best regards,
> Fabrice
>
More information about the click
mailing list