lkml.org 
[lkml]   [2001]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Call kernel function from module
[snip]
>
> Hi! Could somebody help me? I added several functions (not sys calls) to
> kernel as hardcoded part. Then I write modules which will be call these
> functions. But when I load module insmod says me 'can't resolve symbol
> my_func_name'.
> I exported all my functions in netsyms.c file. Do you know how I can see
> my function?

use EXPORT_SYMBOL macro from include/module.h

>
> Regards,
> Niktar.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
Best regards.

--
Michael Rozhavsky Tel: +972-4-9936248
mrozhavsky@opticalaccess.com Fax: +972-4-9890564
Optical Access
Senior Software Engineer www.opticalaccess.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.072 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site