Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-15-2007, 11:56 AM
|
#1
|
Member
Registered: Aug 2006
Location: Greece
Posts: 96
Rep:
|
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!
|
|
|
09-15-2007, 07:10 PM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep:
|
|
|
|
09-16-2007, 01:37 PM
|
#3
|
Member
Registered: Aug 2006
Location: Greece
Posts: 96
Original Poster
Rep:
|
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
|
|
|
09-16-2007, 01:48 PM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep:
|
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.
|
|
|
09-16-2007, 01:53 PM
|
#5
|
Member
Registered: Aug 2006
Location: Greece
Posts: 96
Original Poster
Rep:
|
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
|
|
|
|
09-17-2007, 09:38 AM
|
#6
|
Member
Registered: Aug 2006
Location: Greece
Posts: 96
Original Poster
Rep:
|
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 : 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 11:48 AM.
|
|
|
09-17-2007, 10:28 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep:
|
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!
|
|
|
10-03-2007, 10:07 AM
|
#8
|
LQ Newbie
Registered: Sep 2004
Location: Denver, Colorado, USA
Distribution: redhat, fedora
Posts: 1
Rep:
|
> 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
|
|
|
All times are GMT -5. The time now is 06:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|