[ELDK] Problem building PPC user apps with ELDK

Chip chipslice at gmail.com
Wed Mar 10 23:14:51 CET 2010


Hi,

I have an amcc glacier (PPC-460GT)  and taishan(PPC-440) dev board.
I’ve installed two versions of ELDK, one that came with the glacier
board and the one that’s available on the denx site. Both have 4.2
version numbers. I can build different kernels without problems with
either one.

I’ve also downloaded these files from AMCC web site:

glacier_rcd3-1_filesystem.tar.gz and
taishan_rcd2_filesystem.tar.gz

and tried building the rootfs, but it fails because it is unable to
find some header files.

Trying to build latest downloads of busybox and utilities such as
lm_sensors also fail with similar messages.

I had a look at :

http://www.denx.de/wiki/view/DULG/ELDKIncludeFilesMissing

but this note indicates that this problem was fixed in 4.2

Any idea what’s going on here ?


Thanks
Gokhan.
.
Calling script to copy pre-built files
- Copying files from /home/gsozmen/ppc/eldk/ppc_4xx
Calling script to build and install packages
- Building and installing busybox (~4mins @ 2GHz)
  ERROR: busybox make failed. Re-attempting build without suppressing
make feedback.
  You will likely need to manually resolve the reported error.
In file included from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:15,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/busybox.h:12,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/applets/applets.c:15:
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/platform.h:85:23:
error: byteswap.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/platform.h:86:21:
error: endian.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/platform.h:118:24:
error: arpa/inet.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/platform.h:224:23:
error: sys/mount.h: No such file or directory
In file included from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/busybox.h:12,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/applets/applets.c:15:
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:17:19:
error: ctype.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:18:20:
error: dirent.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:19:19:
error: fcntl.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:20:22:
error: inttypes.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:21:19:
error: netdb.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:22:19:
error: stdio.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:23:20:
error: stdlib.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:25:20:
error: string.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:26:21:
error: strings.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:27:24:
error: sys/socket.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:28:22:
error: sys/stat.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:29:22:
error: sys/time.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:30:23:
error: sys/types.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:31:21:
error: termios.h: No such file or directory
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:32:20:
error: unistd.h: No such file or directory
In file included from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:38,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/busybox.h:12,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/applets/applets.c:15:
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/pwd_.h:24:17:
error: pwd.h: No such file or directory
In file included from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:39,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/busybox.h:12,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/applets/applets.c:15:
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/grp_.h:25:17:
error: grp.h: No such file or directory
In file included from
/home/gsozmen/ppc/DenxEldk/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/syslimits.h:7,
                 from
/home/gsozmen/ppc/DenxEldk/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/limits.h:11,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:48,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/busybox.h:12,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/applets/applets.c:15:
/home/gsozmen/ppc/DenxEldk/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/limits.h:122:61:
error: no include path in which to search for limits.h
In file included from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/busybox.h:12,
                 from
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/applets/applets.c:15:
/home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:49:23:
error: sys/param.h: No such file or directory


More information about the eldk mailing list