Re: Unresolved symbol during insmod

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

 



> > 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.
> >
>
> this did not solve the problem and suddenly started
> giving errors with the fonts.c file inside the
> drivers/video folder. i downloaded a fresh copy of
> 2.4.26 and started doing this in it.
This is very strange. How come doing distclean and recompiling is giving
errors in totally unrelated file!! I recommend you to download a fresh copy,
do the changes you mentioned (exporting symbol etc), then do make xconfig,
make dep and make bzImage. I was also running in same problem and I was
succesfully able to solve this and also I did not need to download fresh
copy.

>
> > > # 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_
> >
>
> The __ver_sys_ is a normal pattern you would get when
> you export a system call i guess. The name is changes
> to "smp_*" from the include/linux/modules/ksyms.ver
> file.
>
I don't think so. Kernel should not make any differnece in exporting system
call and some other API. And I am sure, definitely this is your problem.
Once you get rid of __ver_sys_ and get a _Rsmp_<some checksum>, you are
done.

Regards
Mohanlal

> ---snip---
> #define __ver_vfs_rename        smp_0d161e69
> include/linux/modules/ksyms.ver:#define vfs_rename
>  _set_ver(vfs_rename)
> ---snap---
>
> The above example was for the function vfs_rename that
> has been exported.
>
> So i think that is not a problem. I have attached the
> config file with this emails if you want to take a
> look at it.
>



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