Re: sys_open undefined! when i try to load module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 8/25/06, Octavian Purdila <tavi@xxxxxxxxx> wrote:
On Friday 25 August 2006 17:07, suman adak wrote:

>
> You prababily didn't read my mail. I already told i found this sysmbol in
> System.map  file which contain all exported sysmbol address.
>
> root@ajit my_module]# cat /boot/System.map-2.6.15-1.2054_FC5 | grep -i
> "sys_open"
> c0152074 T do_sys_open
> c015211e T sys_openat
> c0152139 T sys_open
> c032a29c r __ksymtab_sys_openat
> c032d4dc r __kcrctab_sys_openat
> c0330175 r __kstrtab_sys_openat
> [root@ajit my_module]#
>

grepping in System.map (or in /proc/kallsym) will not tell you if a symbol is
exported to be used by modules. It will just tell you that the symbol is a
global one.

> I am running 2.6.15 kernel. look at this file
> http://lxr.linux.no/source/fs/open.c[line : 962].....

Right... Do you have a MODULE_LICENSE("GPL") line in you module?


yes , i have...

tavi

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux