Results 1 to 2 of 2
Hi I am trying to write a simple system call in the 2.6 linux kernel. While running the make mrproper command to recompile the kernel i am getting the following ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-13-2009 #1
- Join Date
- Nov 2009
Help with compiling new kernel..
I am trying to write a simple system call in the 2.6 linux kernel. While running the make mrproper command to recompile the kernel i am getting the following error
scripts/Makefile.clean:17: /usr/src/linux-22.214.171.124/block/mycall/Makefile: No such file or directory
make: *** No rule to make target `/usr/src/linux-126.96.36.199/block/mycall/Makefile'. Stop.
make: *** [_clean_block/mycall] Error 2
What does block directory contain in linux? Do i need to add my syscall file( mycall) to this directory too???
Can someone help..
- 11-14-2009 #2
Provide block layer support for the kernel.
Disable this option to remove the block layer support from the kernel. This may be useful for embedded devices.
If this option is disabled:
- block device files will become unusable
- some filesystems (such as ext3) will become unavailable.
Also, SCSI character devices and USB storage will be disabled since they make use of various block layer definitions and facilities.
I don't know a lot about kernel compiling but my advice is to put your mycall directory directly under the top-level directory, not in any of the specialised ones.
It might also be a good idea to run clean-up routines like make mrproper before adding in new source code.
Last edited by hazel; 11-14-2009 at 04:45 PM."I'm just a little old lady; don't try to dazzle me with jargon!"