Hi,
--- On Fri, May 8, 2009 at 11:19 AM, Srinivas G.
wrote:
| When I build the export_func.ko file, I got the Module.symvers file
| with my exported function names.
\--
Because the Module.symvers contains the list of exported functions.
---
| However, I got the Module.symvers file in the import
> I used the following Makefile, and built export_func and import_func
> modules, and it works fine on Fedora 10, 2.6.27.5-117.fc10.i686:
>
> === Makefile ===
>
> obj-m += export_func.o
>
> all:
> make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
>
> clean:
> make -C /li
Hi,
--- On Fri, May 8, 2009 at 10:06 AM, Srinivas G.
wrote:
| I am getting the following errors
| in 2.6.28 kernel version only.
|
| insmod: error inserting 'import_func.ko': -1 Unknown symbol in module
\--
Firstly, that was a well written technical query with detailed code
and output messages.
Dear All,
I have written a small sample code for testing the EXPORT_SYMBOL macro
which exports the symbols to the global kernel symbol table. The sample
code is working fine in 2.6.9-1.667 kernel version, however it does not
works fine in 2.6.28 kernel version. I am getting the following errors
in