Linux Forums - Linux Help,Advice & support

Linux in General => Linux Kernel => Topic started by: Equinox on May 18, 2007, 04:08:47 AM

Title: SOS!!!!Help required
Post by: Equinox on May 18, 2007, 04:08:47 AM
Hi one and all,

I am new to Linux, using a Linux Mandrake distro. I need urgent help in this..please help me

1. Where do I get to see the kernel code in my system..

2. How do I build a kernel?

3. From where can I get an original mainstream kernel, one that is not too much divergent from the existing ones or the one that is not changed by local vendors?

4. How do I get to see/change my kernel tree

5. How do I compile and make .o, .ko files for kernel programming from .c files...

6. In my system make command is not working, and I am not able to understand it even....

Please help. Your help will be very much appreciated...
Title: Re: SOS!!!!Help required
Post by: Ricky on May 18, 2007, 06:29:20 PM
Answer to 1, 2 is

Answer to 3 , you can get it at

Answer to 4 is also in answer of 1,2

Answer 5, I am not sure

Answer 6, Install Gcc !
Title: Re: SOS!!!!Help required
Post by: Equinox on May 22, 2007, 06:51:17 AM
Hi....and thanks...I have gcc, and g++ compiler in my system yet I am not understanding how to use the make command....
If I want to install a particular software with configure file and makefile...its giving errors...
./configure is working properly
but when I type make...its giving all sorts of errors relating to the code....
Another interesting thing it works perfectly fine in FC4 distro...
help me...
do i need to change my kernel??

I certainly believe .o and .ko files can be made via gcc but what options has to be given I dont know...
Title: Re: SOS!!!!Help required
Post by: gauravbajaj on May 30, 2007, 12:00:12 PM
I am not sure why its giving the errors , it may be due to uncompatible libraries or versions ....

To create .o or .ko files with gcc compiler the option which you have to give is -c
like if your file name is test.c
give command
#gcc -c test.c
now it will produce a file named test.o which is a relocatable file