Re: Unresolved symbol during insmod

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

 



> I am trying to call 2 system call functions from my
> modules program. The system calls are sys_mount and
> sys_rename.
>
> I have exported both these function using
> EXPORT_SYMBOL( ) and both of these symbols appear both
You do "make distclean" after you this change in source and do "make
xconfig, make dep and make bzImage" again. This should solve your problem.

> # cat /proc/ksyms | grep sys_mount
> c015ed10 sys_mount_R__ver_sys_mount
> # cat /proc/ksyms | grep sys_rename
> c01518b0 sys_rename_R__ver_sys_rename
Certainly your problem lies here. You should not see _R__ver_sys_ but your
should see something like _Rsmp_

Regards
Mohanlal




--
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