Jump to content

kernel compilation problem [solved]


Guest Imac
 Share

Recommended Posts

Guest Imac

Hi, I'm a newbie Mandriva user. I've Mandriva 2007 installed on my machine.

I'm trying to compile the kernel source and install it. I've followed the steps specified in the FAQs section for kernel compilation, but I'm facing an error while doing that.

I've downloaded linux-kernel-2.6.20 from the www.kernel.org, as a .tar.gz file, and untarred it into /usr/src/ directory and then made a symbolic link as linux to the uncompressed linux-2.6.20 folder.

Then did cd to linux folder and therein executed the following commands:

make clean && make mrproper (executed fine)

make menuconfig(and got the following error)

 

[root@localhost linux]# make menuconfig

HOSTCC scripts/basic/fixdep

gcc: error trying to exec 'cc1' : execvp: No such file or directory

make[1]: *** [sripts/basic/fixdep] Error 1

make: *** [scripts_basic] Error 2

 

:unsure: I would appreciate any help in this regard

 

Thanks

Link to comment
Share on other sites

Guest Imac

sorry for the trouble guys, but I've figured it out myself. Actually some of GCC libraries where damaged or missing at the time of installation itself, and hence it was throwing error. Got the fresh installation done and its working fine now.

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...