[ELDK] Rebuilding the ELDK 4.2 from Scratch

Wolfgang Denk wd at denx.de
Sat Nov 14 19:58:07 CET 2009


Dear Steve Lee,

In message <932782.77498.qm at web110411.mail.gq1.yahoo.com> you wrote:
> 
> I am a newbie to ELDK but I am experienced with building the Linux kernel 2.6.xx
> 
> I followed your instructions :
> 
> http://www.denx.de/wiki/view/DULG/ELDKRebuilding
> 3.10.  Rebuilding the ELDK from Scratch

Please see also (and especially) the Application Note "2009/02: ELDK
Release Build Environment" - see
http://www.denx.de/wiki/DULG/AN2009_02_EldkReleaseBuildEnvironment

> I downloaded the cdrom.
> Installed it 

Why? for rebuilding it this is not needed at all.

> bash$ ./ELDK_BUILD -a arm
> 
> The build fails several times on the exact same error.
> 
> I checked the log files: 
> /opt/eldk/build/<build_name>/logs/build_make.log
> 
> here is the following error when I tried to build using the command above.
> 
>    761 + echo ============END TESTING===========
>    762 ============END TESTING===========
>    763 + exit 0
>    764 Processing files: make-arm-3.81-6
>    765 error: File not found by glob:
>               /var/tmp/eldk.G24607/usr/share/info/*.inf    765 o*
---------------------------------------------------------^^^^^--^
>    766 Executing(%doc): /bin/sh -e
>               /opt/eldk/build/arm-2009-11-03/work/var/tmp/       766            rpm-tmp.35222
-----------------------------------------------------------^^^^^^^^---^^^^^^^^^^^^
>    767 + umask 022
>    768 + cd /opt/eldk/build/arm-2009-11-03/work/usr/src/denx/BUILD
>    769 + cd make-3.81
>    770 + DOCDIR=/var/tmp/eldk.G24607/usr/share/doc/make-arm-3.81
>    771 + export DOCDIR
>    772 + rm -rf /var/tmp/eldk.G24607/usr/share/doc/make-arm-3.81
>    773 + /bin/mkdir -p /var/tmp/eldk.G24607/usr/share/doc/make-arm-3.81
>    774 + cp -pr NEWS README /var/tmp/eldk.G24607/usr/share/doc/make- arm-3.81
----------------------------------------------------------------------^

I'm not sure where this output is coming from (i. e. how you formatted
the log file), but something is garbled here - I cannot say which is
part of broken formatting (the first marked lines above are clearly
formatting errors, see the inserted line numbers) or which are real
errors.

Do us and yourself a favour and provide logfiles as is, unaltered,
without any "clever" reformatting.

> I tried this same procedure on three host, Redhat 7.3, RHEL 4.6, and OpenSuse 10.3 and all three failed with the identical error message.

Of these, only RH7.3 is a supported build environment. And you really
need to have all available updates installed.

> Please advise on how to build from scratch.
> I like to be the build master of ELDK for all supported platforms.

Please see the Application Note mentioned above.

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
The day-to-day travails of the IBM programmer are so amusing to  most
of us who are fortunate enough never to have been one - like watching
Charlie Chaplin trying to cook a shoe.


More information about the eldk mailing list