custom kernel
ShashankBhide
bhides at gmail.com
Sat Feb 5 18:23:17 UTC 2005
Paul Howarth wrote:
> On Fri, 2005-02-04 at 22:46 -0600, S B wrote:
>
>>Hi all,
>> I made an attempt to custom build a kernel from the src.rpm. I
>>followed the tutorial by Kevin Hobbs to complete the task.
>> I have several questions with the build process. I did read a couple
>>of tutorials before I actually build the kernel.
>>
>>
>>1. The build process failed at prep when I tried to build the binaries.
>> rpmbuild -bb --target=i686 ~/rpmbuild/SPECS/kernel-2.*.spec .
>> I followed the tutorial (Kernel Compilation Tutorial-Kevin Hobbs)
>>step by step but could not build the kernerl.
>
>
> What error message did you get?
>
>
>>2. So, I decided to build the binaries directly without rpmbuild -bp step.
>> So i installed the src.rpm,
>> then rpmbuild -bb ~/rpmbuild/SPECS/kernel-2.*.spec. This went
>>smooth, except it took more
>> than a couple of hours to build the rpms.
>>
>>So, is it normal for the build process to take this long?
>
>
> Depends on machine you're building on, but I'd say "yes".
>
>
>>Why did the build process fail via the first method? (I should be able
>>to provide more information on this, I do not have the tmp files right
>>now)
>
>
> The error messages you get would be necessary to diagnose this.
>
> Paul.
I am builing the kernel version 2.6.10-1.1121_FC4 on a sony vaio PCG
GRV550 Laptop with pentium 4 processor.
I do not know how much of the output is going to be needed; I am going
to paste the end part of the rpmbuild -bb command here.
.config:4476: trying to assign nonexistent symbol X86_P4_CLOCKMOD
.config:4477: trying to assign nonexistent symbol X86_LONGRUN
.config:4478: trying to assign nonexistent symbol X86_LONGHAUL
.config:4479: trying to assign nonexistent symbol X86_CPUFREQ_NFORCE2
.config:4481: trying to assign nonexistent symbol X86_HT
.config:4492: trying to assign nonexistent symbol SOFTWARE_SUSPEND
.config:4493: trying to assign nonexistent symbol PM_DEBUG
.config:4494: trying to assign nonexistent symbol CPU_FREQ
.config:4495: trying to assign nonexistent symbol CPU_FREQ_DEBUG
.config:4496: trying to assign nonexistent symbol
CPU_FREQ_DEFAULT_GOV_PERFORMANCE
.config:4497: trying to assign nonexistent symbol
CPU_FREQ_DEFAULT_GOV_USERSPACE
.config:4498: trying to assign nonexistent symbol CPU_FREQ_GOV_PERFORMANCE
.config:4499: trying to assign nonexistent symbol CPU_FREQ_GOV_POWERSAVE
.config:4500: trying to assign nonexistent symbol CPU_FREQ_GOV_USERSPACE
.config:4501: trying to assign nonexistent symbol CPU_FREQ_GOV_ONDEMAND
.config:4502: trying to assign nonexistent symbol CPU_FREQ_TABLE
.config:4503: trying to assign nonexistent symbol CPU_FREQ_STAT
.config:4504: trying to assign nonexistent symbol CPU_FREQ_STAT_DETAILS
.config:4509: trying to assign nonexistent symbol KPROBES
.config:4511: trying to assign nonexistent symbol PCI_MMCONFIG
.config:4521: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE
.config:4522: trying to assign nonexistent symbol
HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
.config:4545: trying to assign nonexistent symbol FOREIGN_PAGES
+ echo '# xen'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.10-i686.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=
+ make ARCH= nonint_oldconfig
Makefile:448:
/home/shashank/rpmbuild/BUILD/kernel-2.6.10/linux-2.6.10/arch//Makefile:
No such file or directory
make: *** No rule to make target
`/home/shashank/rpmbuild/BUILD/kernel-2.6.10/linux-2.6.10/arch//Makefile'.
Stop.
error: Bad exit status from /var/tmp/rpm-tmp.83269 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.83269 (%prep)
Please find attached herewith the rpm-tmp.83269 file.
Thanks,
Shashank
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rpm-tmp.83269
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050205/80d7b06b/attachment-0001.ksh>
More information about the fedora-list
mailing list