Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

Make utility does not work


Hi,

   I installed token ring card in my intel machine. I want to recompile the kernel for the toekn ring card. From madge.com web site I  downloaded the device driver for 16/4 pci card. On the OS I backed up lilo.conf, /boot/vmlinuz and /usr/src/redhat/* files. I did not have gcc complier. when I ran rpm -i command it gave dependecy errors. I ran rpm with -nodeps. Then when I typed /usr/src/redhat/make menuconfig it gives "make *** No rule to make target 'menuconfig'. Stop. " error. Could some tell me how to debug this error. Is it because of gcc --dependency error?

Thanks
muthusamy
0
muthusamy
Asked:
muthusamy
1 Solution
 
jlevieCommented:
You don't use /usr/src/RedHat to compile a kernel. That's done in /usr/src/linux which will exist when you install the kernel-source rpm (it's on the RedHat CD). Additionally on RedHat 7.0 only you must install the kgcc rpm in order to build a kernel.

If you are referring to dependancy errors when installing gcc, then I suspect that you don't have a working gcc environment. The solution is to remove gcc with "rpm -e" and then re-attempt the install. Make note of what the dependancies are and install the dependant packages alogin with gcc. You can specify multiple packages on one "rpm -i".
0
 
majorwooCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area to:
Accept jlevie's answer
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
majorwoo
EE Cleanup Volunteer
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now