Re: FC4 kernel compile (Further errors)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kenny Gow wrote:
david walcroft wrote:

david walcroft wrote:

Kenny Gow wrote:

david walcroft wrote:

Hi,
 My problem is the following error:

Makefile:447: /home/david/rpmbuild/BUILD/kernel-2.6.12/linux-2.6.12/arch//Makefile: No such file or directory

make: *** No rule to make target `/home/david/rpmbuild/BUILD/kernel-2.6.12/linux-2.6.12/arch//Makefile'.

Stop.

error: Bad exit status from /var/tmp/rpm-tmp.26847 (%prep)

I did a 'rpmbuild -bp --target=i686'
'cd BUILD/kernel-2.6.12/linux-2.6.12/' 'make menuconfig'
'cp .config SOURCES/kernel-2.6.12-i686.config'
'rpmbuild -bb --target=i686 SPECS/kernel-2.6.12.spec'

I have tried install/run several times,'cp Makefile BUILD/kernel-2.6.12/linux-2.6.12/arch/' nothing is working.

What am I doing wrong

 david


https://www.redhat.com/archives/fedora-list/2005-May/msg00401.html

Thanks Kenny,

Compiling as I write.   david

Another error close to the end of compiling (most frustrating)

well heres the end error:

+ mkdir -p /var/tmp/kernel-2.6.12-1.1398_FC4.Alsa.david-root/usr/lib/debug/boot
+ mkdir -p /var/tmp/kernel-2.6.12-1.1398_FC4.Alsa.david-root/boot
+ install -m 644 .config /var/tmp/kernel-2.6.12-1.1398_FC4.Alsa.david-root/boot/config-2.6.12-1.1398_FC4.Alsa.davidsmp + install -m 644 System.map /var/tmp/kernel-2.6.12-1.1398_FC4.Alsa.david-root/boot/System.map-2.6.12-1.1398_FC4.Alsa.davidsmp + cp arch/i386/boot/bzImage /var/tmp/kernel-2.6.12-1.1398_FC4.Alsa.david-root/boot/vmlinuz-2.6.12-1.1398_FC4.Alsa.davidsmp
+ '[' -f arch/i386/boot/zImage.stub ']'
+ mkdir -p /var/tmp/kernel-2.6.12-1.1398_FC4.Alsa.david-root/lib/modules/2.6.12-1.1398_FC4.Alsa.davidsmp + make -s ARCH=i386 INSTALL_MOD_PATH=/var/tmp/kernel-2.6.12-1.1398_FC4.Alsa.david-root modules_install KERNELRELEASE=2.6.12-1.1398_FC4.Alsa.davidsmp /bin/sh: line 1: 1369 Killed /sbin/depmod -ae -F System.map -b /var/tmp/kernel-2.6.12-1.1398_FC4.Alsa.david-root -r 2.6.12-1.1398_FC4.Alsa.davidsmp
make: *** [_modinst_post] Error 137
error: Bad exit status from /var/tmp/rpm-tmp.62431 (%build)

Watch for line wrap

Thanks  david


Just a guess, but in your original message, you put

 >>>> 'cp .config SOURCES/kernel-2.6.12-i686.config'

which indicates you were using the i686 non-SMP config file,
but your error output suggests you were building an SMP version of a kernel rpm.

Perhaps you should have started with the SMP config file,

kernel-2.6.12-i686-smp.config

I didn't run into any problems compiling but I turned off building SMP in the spec file: %define buildsmp 0

I did Kenny.

# Override generic defaults with per-arch defaults

%ifarch noarch
%define builddoc 1
%define buildup 0
%define buildsmp 0
%define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-*.config
%endif

from the kernel-2.6.spec.

 david


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux