* Kernel build error
@ 2019-08-22 12:27 James David Lyons
0 siblings, 0 replies; 2+ messages in thread
From: James David Lyons @ 2019-08-22 12:27 UTC (permalink / raw)
To: linuxppc-dev
I'm have trouble building the latest stabe kernel linux-5.2.9 on Debian
10 ppc
uname -r
4.16.0-1-powerpc64
CC kernel/iomem.o
CC kernel/rseq.o
AR kernel/built-in.a
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
make[1]: *** [scripts/package/Makefile:75: deb-pkg] Error 2
make: *** [Makefile:1422: deb-pkg] Error 2
I'm not sure if it's a problem with the Tabs or white spaces in the
debian/rules file or another issue. I ran into this before but don't
remember how I fixed it, or if I downloaded and oldeer kernel.
#!/usr/bin/make -f
srctree ?= .
build:
$(MAKE) KERNELRELEASE=5.2.9
ARCH=powerpc KBUILD_BUILD_VERSION=1 -f $(srctree)/Makefile
binary-arch:
$(MAKE) KERNELRELEASE=5.2.9
ARCH=powerpc KBUILD_BUILD_VERSION=1 -f $(srctree)/Makefile
intdeb-pkg
clean:
rm -rf debian/*tmp debian/files
$(MAKE) clean
binary: binary-arch
Anyone know how to fix this, or what the error means?
^ permalink raw reply [flat|nested] 2+ messages in thread* Kernel build error
@ 2005-05-12 22:30 mcnernbm
0 siblings, 0 replies; 2+ messages in thread
From: mcnernbm @ 2005-05-12 22:30 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]
Using the 2.4 kernel tree with a 2.4.26 kernel I am receive the following
error when trying to build for the powerpc 405.
I set the arch: to arch: ppc and set the cross-compile line in the make
file.
Make dep and make modules runs fine.
But when I run make zImage I receive the follwoing error:
mv: can't stat source zvmlinux
make[2]: *** [zImage] Error 1
make[2]: Leaving directory
'/ppclinux/v2.4.26_linuxppc_2_4_devel/linuxppc_2_4_devel/arch/ppc/boot/simple'
make[1]: *** [zImage] Error 2
make[1]: Leaving directory
'/ppclinux/v2.4.26_linuxppc_2_4_devel/linuxppc_2_4_devel/arch/ppc/boot/'
make: *** [zImage] Error 2
I am using the default xilinx_ml300 arch config file so I can at least get
the kernel to build before attempting to build one for my specific virtex
II pro board. Does anyone know what might be causing this?
I am using gcc-3.4.1 and glibc-2.3.5. Not sure if this is part of the
issue or but if so which version should I be using? And is it the 2.4.26
kernel that is the issue? Should i go back to an older one that is used
in alot of the tutorials for the xilinx ml300 board.
Thanks
Brett
[-- Attachment #2: Type: text/html, Size: 1736 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-22 17:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-22 12:27 Kernel build error James David Lyons
-- strict thread matches above, loose matches on Subject: below --
2005-05-12 22:30 mcnernbm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox