Skip to main content.
Navigation:
DENX
>
DULG
>
ELDKIncludeFilesMissing
Translations:
Edit
|
Attach
|
Raw
|
Ref-By
|
Printable
|
More
DULG
Sections of this site:
DENX Home
|
DULG
|
ELDK-5
|
Know
|
Training
|
U-Boot
|
U-Bootdoc
Topics
DULG Home
BoardSelect
Manual
FAQ
Application Notes
Changes
Index
List of pages in DULG
Search
%SECTION0{name=ELDKIncludeFilesMissing }% ELDK Include Files Missing Question:: After configuring and compiling a Linux kernel in the kernel source tree that comes with the ELDK, I cannot compile user space programs any more - I get error messages because many #include file like <errno.h> etc. are missing. %BR% This is with ELDK 4.0 or 4.1. Answer:: This problem is caused by the way how the ELDK is packaged. At the moment, the ELDK kernel headers are not packed into a separate "kernel-headers" RPM to avoid duplication, because the kernel source tree is always installed. Instead, the ELDK "kernel-headers" package is just a set of symlinks. This worked fine in the past, but fails with the new support for ARCH=powerpc systems. %BR% The next version of the ELDK will contain a real kernel-headers RPM, which will fix this problem. %BR% As a workaround on current systems, you can install the real kernel include files into the ="include/asm"=, ="include/linux"= and ="include/mtd"= directories. %BR% To do this, the following commands can be used: <verbatim> bash$ <eldkroot>/bin/rpm -e kernel-headers-ppc_<target> bash$ cd <eldkroot>/ppc_<target> bash$ rm usr/include/asm bash$ tar -xvzf kernel-headers-powerpc.tar.gz </verbatim> The tarball mentioned above can be downloaded [[%ATTACHURL%/kernel-headers-powerpc.tar.gz][here]]. It contains the include files that get installed by running the ="make ARCH=powerpc headers_install"= command in the Linux kernel tree. %BR% %BR% This problem is fixed in ELDK 4.2 and later releases.
14.1.6. patch: command not found
1. Abstract
14.1.8. Using the ELDK on a 64 bit platform
Prev
Home
Next