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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...