LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-15-2007, 10:56 AM   #1
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Rep: Reputation: 15
Exclamation How can i save my new kernel configuration


Hello

I use fedora 7,KDE
I just modified my kernel (with make menuconfig).

I saved it and at console i wrote :

Quote:
make all modules_install install
and it gave me :

Quote:
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86_64/Kconfig
#
# configuration written to .config
#
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: *** No rule to make target `missing-syscalls'. Stop.
make: *** [prepare0] Error 2
What i am supposed to do?What command should i use?

Thanks!
 
Old 09-15-2007, 06:10 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,603

Rep: Reputation: 128Reputation: 128
Have you seen this thread: http://www.linuxquestions.org/questi...d.php?t=583995
 
Old 09-16-2007, 12:37 PM   #3
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Original Poster
Rep: Reputation: 15
Hello,

I saw that this thread has another way.I want to see if i can do sth with the way i chose and if i can't i will try that.

The problem is that when i do make it gives me:

Quote:
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: *** No rule to make target `missing-syscalls'. Stop.
make: *** [prepare0] Error 2
If someone knows what to do..

Thanks
 
Old 09-16-2007, 12:48 PM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,603

Rep: Reputation: 128Reputation: 128
Everytime I read about kernel compiling with a 2.6.x kernel the steps are
Code:
make
make modules_install
make install
I don't know if your line gives a problem, but you could try if it makes any difference.
 
Old 09-16-2007, 12:53 PM   #5
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Original Poster
Rep: Reputation: 15
Hello

I am doing exactly this thing but at make it gives me what i wrote before.

At make modules_install it gives :

Quote:
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map 2.6.22.5-76.fc7; fi
and at make install :

Quote:
h /usr/src/kernels/2.6.22.5-76.fc7-x86_64/arch/x86_64/boot/install.sh 2.6.22.5-76.fc7 arch/x86_64/boot/bzImage System.map "/boot"
sh: /usr/src/kernels/2.6.22.5-76.fc7-x86_64/arch/x86_64/boot/install.sh: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
make[1]: *** [install] Error 127
make: *** [install] Error 2
 
Old 09-17-2007, 08:38 AM   #6
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Original Poster
Rep: Reputation: 15
Hello

I followed your link to

and i stuck in the command
Quote:
rpmbuild -bp --target='x86_64' kernel-2.6.spec
It gives me the prompt :
Quote:
-sh-3.2$
If i write it like:
Quote:
rpmbuild -bp --target=x86_64 kernel-2.6.spec
(without the ' ' )
it gives :
Quote:
Building target platforms: x86_64
Building for target x86_64
error: Failed build dependencies:
sparse >= 0.3 is needed by kernel-2.6.22.5-76.fc7.x86_64

It supposes to build the
~/rpmbuild/BUILD/kernel-<version>/linux-<version>.<arch> directory

Thanks

Last edited by ggeo; 09-17-2007 at 10:48 AM.
 
Old 09-17-2007, 09:28 AM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,603

Rep: Reputation: 128Reputation: 128
Sorry, but I'm no fedora expert - I'm not at all familiar with that rmpbuild stuff

I hope someone else can jump in and help you with this issue!
 
Old 10-03-2007, 09:07 AM   #8
dangogh
LQ Newbie
 
Registered: Sep 2004
Location: Denver, Colorado, USA
Distribution: redhat, fedora
Posts: 1

Rep: Reputation: 0
> error: Failed build dependencies:
> sparse >= 0.3 is needed by kernel-2.6.22.5-76.fc7.x86_64

I *think* the yum-builddep step is supposed to deal with issues like the above, but this is a clear indication of a missing package. 'yum install sparse' as root took care of it for me.. -dan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help to save wifi configuration jolphil Linux - Wireless Networking 2 06-25-2007 06:47 AM
Save Wireless Configuration GML3G0 Linux - Wireless Networking 4 01-31-2005 01:29 PM
How can i save and restore all configuration? Barata Linux - Networking 0 06-07-2004 04:12 PM
Cannot save alsa configuration Harp00 Slackware 4 03-25-2004 02:49 PM
Save the sound configuration hamsterdude Linux - Hardware 2 03-24-2002 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration