On Wednesday 07 December 2005 07:03, romel dutta wrote:
hello all, i m hacking on the code of tty_io.c file , in /usr/src/linux-2.6.9/drivers/char directory... i dunno how to compile it after making some changes there in the c file... actually,i have put on some printk in between..and want to see the response in /var/log/messages.. Bt,bt i have to compile it..,which i dunno,as to how to do.. if i give just make command in the directory . /usr/src/linux-2.6.9/drivers/char directory..it simply says..
make: *** No rule to make target `/cp437.uni', needed by `/consolemap_deftbl.c'. Stop.
plzzzz..help me out..how to do that..and ya, i am a newbie..(in LOVE WITH LINUX..like u all )
thanks in advance... cheers romel
Firstly, please tell us if that module is compiled right into the kernel or is it a loadable module? If its compiled into the kernel then you need to do the following:
./configure make && make modules && make install
if its just a module then you just need to do exactly the same but just drop the "make" at the begining.
Actually I dunno if its accurate for the latest kernels since I have stopped compiling my own kernel. But I hope you do realize that you are rebuilding the kernel just for a couple of printks. And always be careful with your kernel. If you break it. Then you are screwed IF you dont have a backup kernel ;)