|
From: | Krzysztof Stankiewicz |
Subject: | Re: [Ltib] kernel function exporting to use in module? |
Date: | Wed, 25 May 2011 11:47:57 +1000 |
Its weird. Im missing something I think.. If I compile my module as being linked with the kernel, ie static link everything works fine. 'cat /proc/kallsyms | grep dosomething' shows my function is there.... But compiling a module that uses that function generates an error post-process when generating the .ko file that it cant find dosomething... extern int dosomething should do it no? (inside my module code) Before ive seen modules complain about undefined symbols while inserting into kernel space, not at compile... From: address@hidden To: address@hidden; address@hidden Date: Tue, 24 May 2011 13:51:30 +0200 Subject: Re: [Ltib] kernel function exporting to use in module? Hi,
Are you sure, the file which has the function (dosomething) is included & compiled with the kernel?
Regards, Giri
From: address@hidden [mailto:address@hidden On Behalf Of Krzysztof Stankiewicz
inside a kernel file I've added a new function _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/ltib |
[Prev in Thread] | Current Thread | [Next in Thread] |