Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Linux Kernel compilation problem

Status
Not open for further replies.

scorrpeio

Full Member level 5
Joined
Dec 26, 2006
Messages
286
Helped
10
Reputation
20
Reaction score
9
Trophy points
1,298
Activity points
3,496
I am newbie in linux kernel field.
I have started linux compilation with the help of this link...

**broken link removed**

I have checked out the minimum s/w requirement mentioned in the link as....

2.6.x series

o Gnu C 2.95.3 # gcc --version
o Gnu make 3.78 # make --version
o binutils 2.12 # ld -v
o util-linux 2.10o # fdformat --version
o module-init-tools 0.9.10 # depmod -V
o e2fsprogs 1.29 # tune2fs
o jfsutils 1.1.3 # fsck.jfs -V
o reiserfsprogs 3.6.3 # reiserfsck -V 2>&1|grep reiserfsprogs
o xfsprogs 2.1.0 # xfs_db -V
o pcmcia-cs 3.1.21 # cardmgr -V
o quota-tools 3.09 # quota -V
o PPP 2.4.0 # pppd --version
o isdn4k-utils 3.1pre1 # isdnctrl 2>&1|grep version
o nfs-utils 1.0.5 # showmount --version
o procps 3.1.13 # ps --version
o oprofile 0.5.3 # oprofiled --version

Most of the versions I have, are greater than the above mentioned versions. But there are problem with following...

jfsutils 1.1.3 # fsck.jfs -V
reiserfsprogs 3.6.3 # reiserfsck -V 2>&1|grep reiserfsprogs
xfsprogs 2.1.0 # xfs_db -V
pcmcia-cs 3.1.21 # cardmgr -V



these instructions dont work for red hat and gives error as

-bash: fsck.jfs: command not found
-bash: cardmgr: command not found
-bash: xfs_db: command not found

And for # reiserfsck -V 2>&1|grep reiserfsprogs

it doesnot give any response.


When I searched for these errors on google... I got help about fsck.jfs and others a/c which command I entered is right.

Could you please tell me where does the problem lie? Or where to find the solution of it?
 

Try the following steps

extract the source files in /usr/src/kernels/linuxkernel*.*/ directory
make mrproper
make menuconfig

In menuconfig select all the components inside kernel and not as modules.
then save the configuration file in the menu.
finally give the command
make
then it should compile and update your bootloader file by creating a vmlinuz and initrd or initramfs.
 

Compiling custom kernel has its own advantages and disadvantages. However, new Linux user / admin find it difficult to compile Linux kernel. Compiling kernel needs to understand few things and then just type couple of commands. Step by step howto covers compiling Linux kernel version 2.6.xx under Debian GNU Linux. However, instructions remains the same for any other distribution except for apt-get command.
_____________
VLC Download
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top