* S P (sage_newbie@yahoo.com) wrote: > Hi,I changed certain kernel files in Linux Kernel 2.4.7-10. The kernel seems to compile properly except for one error. In fs/open.c file I get an error - fs/fs.o: In function 'vfs_statfs':fs/fs.o(.text+0x33): undefined reference to 'lock_kernel'fs/fs.o(.text+0x42): undefined reference to 'unlock_kernel' I get same error for few other files, which I haven't touched at all. Incidently, although lock_kernel has been used in the files I changed, they do not give the error. On the other hand fs/open.c, which I haven't changed gives the error. Any idea why this might be happening ? Thanks for the help,SP Looks like a RedHat kernel. Start by saving your .config file (perhaps mv .config ..), then make mrproper, mv ../.config ., make oldconfig, make dep, make bzImage... cheers, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/