[ELDK] Problem building PPC user apps with ELDK

Wolfgang Denk wd at denx.de
Thu Mar 11 10:17:15 CET 2010


Dear Chip,

In message <15a867371003101414nf749d43i9cc8cb28837c2282 at mail.gmail.com> you wrote:
>
> 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.

You don't need two different installations. Just install ELDk 4.2 a
single time.All you need are the ppc_4xxFP packages for your 440 /
460 systems.

> 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.

we don;t know this AMCC provided code and cannot comment on it. Please
contact Applied Micro if you need help with this stuff.

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

Well, building complex packages in a cross envrionment is never a
trivial thing to do.


> 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 don't show us how you set up the build process, or how you
configure busybox.

> In file included from
> /home/gsozmen/ppc/glacier_cd/filesystem/packages/busybox-1.2.1/include/libbb.h:15,

This is most probably caused by incorrect setup, i. e. a pilot error.

ELDk 4.2 includes Busybox 1.7.1, so I see little use in building such
an old version when you have a more recent one ready to use (and the
SRPMS available in case you want to rebuild, for example with changed
configuration).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Research is what I'm doing when I don't know what I'm doing.
                                                 -- Wernher von Braun


More information about the eldk mailing list