[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Linux in General  |  Linux Kernel  |  Topic: SOS!!!!Help required
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: SOS!!!!Help required  (Read 660 times)
0 Members and 1 Guest are viewing this topic.
Equinox
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« on: May 18, 2007, 12: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...
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #1 on: May 18, 2007, 02:29:20 PM »

Answer to 1, 2 is http://www.gentoo.org/doc/en/articles/linux-kernel-compiling.xml

Answer to 3 , you can get it at kernel.org

Answer to 4 is also in answer of 1,2

Answer 5, I am not sure

Answer 6, Install Gcc !
Logged
Equinox
Linux Noob !
*
Offline Offline

Posts: 6


View Profile
« Reply #2 on: May 22, 2007, 02: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...
PLZZZZ HElp!!!1
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #3 on: May 30, 2007, 08:00:12 AM »

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
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Help required with Kaffeine and Real Player Linux Video Support anybody1234 2 593 Last post October 26, 2006, 11:34:42 PM
by anybody1234
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 07:32:03 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:29:08 PM]

[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]
Members
Total Members: 6229
Latest: razon_nnn
Stats
Total Posts: 8270
Total Topics: 2254
Online Today: 14
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 10
Total: 10
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc