I'm experiencing the following problem when trying to build the toolkit
from Jason Chagas' SRPMs. Basically the build dies on my system (Intel
Redhat 6.2) upon trying to build glibc2.1.3. I've followed the order
that Jason
had in his README, which was:
>Build/install them in the correct order with the following commands:
>rpm -ba SPECS/arm-linux-binutils.spec
>rpm -ba SPECS/arm-linux-kernel-src.spec
>rpm -ba SPECS/arm-linux-gcc-preglibc.spec
>rpm -ba SPECS/arm-linux-glibc.spec
>rpm -ba SPECS/arm-linux-gcc.spec
(note: I first installed the toolkit using binary RPMS - that worked
fine.
I then wanted to build the toolkit from scratch, so that I can build for
EBSA if needs be.
So, I shifted the toolkit from the binary RPMS to one side ie I moved
/usr/local/arm-linux to /usr/local/arm_linux_0, and then I proceeded to
build using the SRPMS).
The problem I get is buried deep in one of the configure fragments::
checking for gcc -fexceptions... yes
checking for DWARF2 unwind info support... no
checking for __builtin_expect... no
running configure fragment for ./linuxthreads/sysdeps/unix/sysv/linux
running configure fragment for ./sysdeps/unix/sysv/linux
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel
header
files. To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.
Bad exit status from /var/tmp/rpm-tmp.90008 (%build)
What is the problem, and why is it happening when compiling from
SRPM - I thought it would be pretty solid. Shouldn't configure have
already inserted --with-headers if necessary??????????????????
Tim
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm