problem with __getname() and putname()

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

 



hi

I am adding versioning capability to linux filesystem
by developing a module.I have couple of problems with
that

1. I want that module compiled for one kernel runs on
another kernel. So I have enabled CONFIG_MODVERSIONS
and also use gcc -I "/lib/modules/$(uname -r)/....."
Because of this i have problems in using  __getname()
and putname(name).Whenever i use these functions to
allocate or free some memory, i get error message "
names_cahcep_Rsmp_d25469b4 undeclared".If I remove
CONFIG_MODVERSIONS everything is fine.
  
2. lookup_dentry is not resolved when i insert module.

3. When i turn CONFIG_MODVERSIONS on, it also gives
warning with many calls like sys_lseek, sys_read,
spprintf "implicit declaration of sprintf_Rsmp_******
etc"

Thx 
mandeep    

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--
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