[ELDK] Rebuilding the ELDK from scratch

Jay York jay_york at verizon.net
Wed May 6 05:02:24 CEST 2009


Following the instructions on http://www.denx.de/wiki/view/DULG/ELDKRebuilding 
  and http://www.denx.de/wiki/DULG/ 
AN2009_02_EldkReleaseBuildEnvironment, I've been able to rebuild the  
ELDK from scratch, with one addition.  I found it necessary to create  
the following file:

# cat /opt/eldkbuild/home/microwin/Arch.rules

include $(MW_DIR_SRC)/Arch.rules

HOSTCC = /usr/bin/gcc -B/usr/bin/

#

Without this file, my build would stop in target step 84 while making  
microwindows:

# tail /opt/eldk/build/ppc.LOG
Done
Building freetype package step trg.83 at 18:27:18
Done
Installing freetype-ppc_4xx-2.3.4-3.ppc.rpm package
Installing freetype-devel-ppc_4xx-2.3.4-3.ppc.rpm package
Done
Building microwindows package step trg.84 at 18:28:57
parse_file: build_package failed for microwindows.spec
+ exit 1
+ rm -fr /tmp/pkg.952
#
# tail -23 /opt/eldk/build/ppc-2009-04-07/logs/ppc_4xx/ 
build_microwindows.log
make[2]: Leaving directory `/opt/eldk/build/ppc-2009-04-07/work/usr/ 
src/denx/BUILD/microwindows-0.91/src/drivers'
make -C /opt/eldk/build/ppc-2009-04-07/work/usr/src/denx/BUILD/ 
microwindows-0.91/src/mwin
make[2]: Entering directory `/opt/eldk/build/ppc-2009-04-07/work/usr/ 
src/denx/BUILD/microwindows-0.91/src/mwin'
make -C /opt/eldk/build/ppc-2009-04-07/work/usr/src/denx/BUILD/ 
microwindows-0.91/src/mwin/bmp
make[3]: Entering directory `/opt/eldk/build/ppc-2009-04-07/work/usr/ 
src/denx/BUILD/microwindows-0.91/src/mwin/bmp'
echo "Building convbmp tool ..."
Building convbmp tool ...
gcc  /opt/eldk/build/ppc-2009-04-07/work/usr/src/denx/BUILD/ 
microwindows-0.91/src/mwin/bmp/convbmp.c -o /opt/eldk/build/ 
ppc-2009-04-07/work/usr/src/denx/BUILD/microwindows-0.91/src/bin/convbmp
echo "Converting mwin/bmp/car8.bmp ..."
Converting mwin/bmp/car8.bmp ...
/opt/eldk/build/ppc-2009-04-07/work/usr/src/denx/BUILD/ 
microwindows-0.91/src/bin/convbmp -o /opt/eldk/build/ppc-2009-04-07/ 
work/usr/src/denx/BUILD/microwindows-0.91/src/obj/mwin/bmp/car8.c /opt/ 
eldk/build/ppc-2009-04-07/work/usr/src/denx/BUILD/microwindows-0.91/ 
src/mwin/bmp/car8.bmp
/opt/eldk/build/ppc-2009-04-07/work/usr/src/denx/BUILD/ 
microwindows-0.91/src/bin/convbmp: /opt/eldk/build/ppc-2009-04-07/work/ 
usr/src/denx/BUILD/microwindows-0.91/src/bin/convbmp: cannot execute  
binary file
make[3]: *** [/opt/eldk/build/ppc-2009-04-07/work/usr/src/denx/BUILD/ 
microwindows-0.91/src/obj/mwin/bmp/car8.c] Error 126
make[3]: Leaving directory `/opt/eldk/build/ppc-2009-04-07/work/usr/ 
src/denx/BUILD/microwindows-0.91/src/mwin/bmp'
make[2]: *** [subdir-/opt/eldk/build/ppc-2009-04-07/work/usr/src/denx/ 
BUILD/microwindows-0.91/src/mwin/bmp] Error 2
make[2]: Leaving directory `/opt/eldk/build/ppc-2009-04-07/work/usr/ 
src/denx/BUILD/microwindows-0.91/src/mwin'
make[1]: *** [subdir-/opt/eldk/build/ppc-2009-04-07/work/usr/src/denx/ 
BUILD/microwindows-0.91/src/mwin] Error 2
make[1]: Leaving directory `/opt/eldk/build/ppc-2009-04-07/work/usr/ 
src/denx/BUILD/microwindows-0.91/src'
error: Bad exit status from /opt/eldk/build/ppc-2009-04-07/work/var/ 
tmp/rpm-tmp.25790 (%build)


RPM build errors:
     Bad exit status from /opt/eldk/build/ppc-2009-04-07/work/var/tmp/ 
rpm-tmp.25790 (%build)
#

Has anybody else had this same problem?

-Jay York



More information about the eldk mailing list