Alok Kumar Sahoo
2014-07-29 08:46:32 UTC
Dear Sir,
We are trying to build U-boot through ltib-mpc8360epb-20081112 , but we are getting some error messages, failing to build u-boot. Please reply how to sort out the problem and how to build u-boot.
We are using the following commands to build u-boot :
$./ltib -m scbuild -p u-boot
$./ltib -m scinstall -p u-boot
$./ltib -m scdeploy -p u-boot
We are getting the following error:
Processing: u-boot-1.2.0-mpc8360epb-rev2.1
============================================
rpmbuild --dbpath /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpmdb --define '_unpackaged_files_terminate_build 0' --define '_target_cpu ppc' --define '__strip strip' --define '_topdir /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpm' --define '_prefix /usr' --define '_tmppath /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/tmp' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/dist/lfs-5.1/u-boot/u-boot-1.2.0-mpc8360epb-rev2.1.spec
Executing(%build): /bin/sh -e /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/tmp/rpm-tmp.35901
+ umask 022
+ cd /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpm/BUILD
+ cd u-boot-1.2.0
+ PKG_U_BOOT_CONFIG_TYPE=MPC8360EMDS_config
+ make 'HOSTCC=/usr/bin/gcc -B/usr/bin//' CROSS_COMPILE=powerpc-linux- MPC8360EMDS_config
Configuring for MPC8360EMDS board...
+ echo '#undef CONFIG_DDR_ECC'
+ echo '#undef CONFIG_DDR_ECC_CMD'
+ make 'HOSTCC=/usr/bin/gcc -B/usr/bin//' HOSTSTRIP=/usr/bin/strip CROSS_COMPILE=powerpc-linux- OPTFLAGS=-Os all
for dir in ; do make -C $dir _depend ; done
make -C lib_generic/
make[1]: Entering directory `/home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpm/BUILD/u-boot-1.2.0/lib_generic'
make[1]: *** No rule to make target `/home/RR_Radio_Relay/ltib-mpc8360epb-20081112/rpm/BUILD/u-boot-1.2.0/include/config.h', needed by `bzlib.o'. Stop.
make[1]: Leaving directory `/home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpm/BUILD/u-boot-1.2.0/lib_generic'
make: *** [lib_generic/libgeneric.a] Error 2
error: Bad exit status from /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/tmp/rpm-tmp.35901 (%build)
RPM build errors:
Bad exit status from /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/tmp/rpm-tmp.35901 (%build)
Build time for u-boot-1.2.0-mpc8360epb-rev2.1: 0 seconds
Failed building u-boot-1.2.0-mpc8360epb-rev2.1
f_scbuild() returned an error, exiting
Exiting on error or interrupt
We are trying to build U-boot through ltib-mpc8360epb-20081112 , but we are getting some error messages, failing to build u-boot. Please reply how to sort out the problem and how to build u-boot.
We are using the following commands to build u-boot :
$./ltib -m scbuild -p u-boot
$./ltib -m scinstall -p u-boot
$./ltib -m scdeploy -p u-boot
We are getting the following error:
Processing: u-boot-1.2.0-mpc8360epb-rev2.1
============================================
rpmbuild --dbpath /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpmdb --define '_unpackaged_files_terminate_build 0' --define '_target_cpu ppc' --define '__strip strip' --define '_topdir /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpm' --define '_prefix /usr' --define '_tmppath /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/tmp' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/dist/lfs-5.1/u-boot/u-boot-1.2.0-mpc8360epb-rev2.1.spec
Executing(%build): /bin/sh -e /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/tmp/rpm-tmp.35901
+ umask 022
+ cd /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpm/BUILD
+ cd u-boot-1.2.0
+ PKG_U_BOOT_CONFIG_TYPE=MPC8360EMDS_config
+ make 'HOSTCC=/usr/bin/gcc -B/usr/bin//' CROSS_COMPILE=powerpc-linux- MPC8360EMDS_config
Configuring for MPC8360EMDS board...
+ echo '#undef CONFIG_DDR_ECC'
+ echo '#undef CONFIG_DDR_ECC_CMD'
+ make 'HOSTCC=/usr/bin/gcc -B/usr/bin//' HOSTSTRIP=/usr/bin/strip CROSS_COMPILE=powerpc-linux- OPTFLAGS=-Os all
for dir in ; do make -C $dir _depend ; done
make -C lib_generic/
make[1]: Entering directory `/home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpm/BUILD/u-boot-1.2.0/lib_generic'
make[1]: *** No rule to make target `/home/RR_Radio_Relay/ltib-mpc8360epb-20081112/rpm/BUILD/u-boot-1.2.0/include/config.h', needed by `bzlib.o'. Stop.
make[1]: Leaving directory `/home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/rpm/BUILD/u-boot-1.2.0/lib_generic'
make: *** [lib_generic/libgeneric.a] Error 2
error: Bad exit status from /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/tmp/rpm-tmp.35901 (%build)
RPM build errors:
Bad exit status from /home/gangadhar/Desktop/kishor_sr/ltib-mpc8360epb-20081112/tmp/rpm-tmp.35901 (%build)
Build time for u-boot-1.2.0-mpc8360epb-rev2.1: 0 seconds
Failed building u-boot-1.2.0-mpc8360epb-rev2.1
f_scbuild() returned an error, exiting
Exiting on error or interrupt