[Click] Fwd: Error inserting click.ko module in kernel mode

Cliff Frey cliff at meraki.com
Thu Feb 16 10:16:16 EST 2012


Forwarding to mailing list

---------- Forwarded message ----------
From: udit kumar <yudistrange at gmail.com>
Date: Thu, Feb 16, 2012 at 1:55 AM
Subject: Re: [Click] Error inserting click.ko module in kernel mode
To: cliff at meraki.com


Hello Cliff,

I am using click version 2.0.1.
I did not do any changes in the source. And while configuring I supplied
click with the option

--with-linux=/usr/src/linux-headers-2.6.24-30-generic

This configures without any error. However as mentioned earlier when I run
make install the installation process exits with the following error:

Modification of a read-only value attempted at ./click-elem2man line 231.
make[1]: ***[install-man] Error 25
make[1]: Leaving directory '/home/udit/Desktop/click-2.0.1/doc'
make: *** [install-doc] Error 2

But the click.ko and proclikefs.ko file were generated in the folder
linuxmodules. So I copied them to the folder /usr/local/lib and tried
running the test.click file in conf folder. It exited with the error:

insmod: error inserting '/usr/local/lib/click.ko': -1 Unknown symbol in
module
click-install: '/sbin/insmod /usr/local/lib/click.ko' failed

I really don't have a clue what I did wrong.

Regards,
Udit



On Thu, Feb 16, 2012 at 10:49 AM, Cliff Frey <cliff at meraki.com> wrote:

> What version of click are you running?  Have you made any changes to the
> source at all?  What options did you use to configure/make?
>
> What is the exact symbol error that you are getting?
>
> Cliff
>
> On Tue, Feb 14, 2012 at 10:26 PM, udit kumar <yudistrange at gmail.com>wrote:
>
>> Hi,
>>
>> I am an Mtech student from India. I wanted to use click for my thesis
>> which
>> relates to changing the routing table on the fly.
>> For this I compiled and installed a Linux kernel 2.6.24 with the the
>> appropriate patch 2.6.24.7 (hopefully the version number is not a problem)
>> It all compiled peacefully and is running fine. Then I configured and
>> installed click.
>> It exited with an error stating that cannot perform changes on man pages
>> and doc files as they are read only.
>>
>> Now that I try to install the click.ko module it returns an error saying
>> that it contains unknown symbol. I tried searching for it and got the hint
>> that it has something to do with floating point usage in click config
>> file.
>> But in that case I am using the test config files supplied with click
>> only.
>> They should atleast run.
>> This is my first time with click so I have no idea what blunder i am
>> committing.
>> Please help.
>>
>> Regards ,
>> Udit
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
>
>


More information about the click mailing list