kernel source install help needed on fc6 x64
I am trying to install the kernel source.
I have downloaded kernel-2.6.20-1.2948.fc6.src.rpm I am using fedora 6 64bit. here are my current kernels: kernel-headers-2.6.20-1.2948.fc6 kernel-devel-2.6.20-1.2944.fc6 yum-kernel-module-1.0.3-1.fc6 kernel-2.6.20-1.2944.fc6 kernel-devel-2.6.20-1.2948.fc6 kernel-2.6.20-1.2948.fc6 here is what I seen when I installed kernel-2.6.20-1.2948.fc6.src.rpm rpm -ivh kernel-2.6.20-1.2948.fc6.src.rpm 1:kernel warning: user brewbuilder does not exist - using root warning: group brewbuilder does not exist - using root warning: user brewbuilder does not exist - using root ########################################### [100%] warning: user brewbuilder does not exist - using root warning: group brewbuilder does not exist - using root then when I ran: rpmbuild -bp --target=$(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec I seen this error: + Arch=x86_64 + make ARCH=x86_64 nonint_oldconfig In file included from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/arpa/inet.h:23, from scripts/basic/fixdep.c:117: /usr/include/bits/socket.h:310:24: error: asm/socket.h: No such file or directory make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.93770 (%prep) suggestions or ideas? thanks |
You already have the kernel-headers the kernel-devel and the kernel rpm packages installed;
kernel-headers-2.6.20-1.2948.fc6 kernel-devel-2.6.20-1.2948.fc6 kernel-2.6.20-1.2948.fc6 You do not need the kernel source installed, you already have the equivalent, what are you attempting to do??? |
ya for this application we are working on, need to have kernel sources installed to get this application installed,
suggestions/ideas? thanks |
Quoting from: http://docs.fedoraproject.org/releas...html#id2980667 section; 8.7. Building Only Kernel Modules
An exploded source tree is not required to build a kernel module, such as your own device driver, against the currently in-use kernel. Only the kernel-devel package is required to build external modules. |
yes I have followed that guide above is the errors I get doing that?
thanks |
I would suggest that you download the kernel source again. I tried the source and it preps just fine on my system, maybe a bad download. I got the source directly from using wget;
wget ftp://chuck.ucs.indiana.edu/pub/linu...48.fc6.src.rpm |
Please Help!!!
I followed all the steps and made an ISO for my Linux kernel but it is not letting me start up my comp with it! The steps as explained that I took are as follows : I downloaded the kernel in iso format, then saved it to cd (80 min/700mb), and then changed my start order to boot from cd-r first! what have I done wrong?
|
please don't hijack other peoples threads.
|
Re: Please don't highjack other people's threads..
I apologize greatly and beg forgiveness! I don't really understand how to navigate this forum but I am getting the hang of it. Please ignore my rude interval and keep up the thread.
With much apology, NEBNEB333 |
I m also not understanding how to add new query or new thread. I am searching for new thread button but I didn't get it.Please help me.
|
I have now have my app installed and complied
thanks |
All times are GMT -5. The time now is 12:49 PM. |