Siva Prakash Reddy Nareddy
2016-09-29 06:03:02 UTC
Hi,
After configuring ltib kernel image using "./ltib --configure", I am
getting following message..
#
# configuration written to .config
#
+ '[' -f /home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/
config/platform/mpc832x_rdb/linux_2.6.20_mpc832x_rdb.config
']'
+ cp -f ./.config
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/
config/platform/mpc832x_rdb/linux_2.6.20_mpc832x_rdb.config.dev
+ '[' -n '' ']'
+ '[' '%{kernel_series}' = 2.4 ']'
+ make ARCH=powerpc CROSS_COMPILE= 'HOSTCC=/usr/bin/gcc -B/usr/bin//' uImage
scripts/kconfig/conf -s arch/powerpc/Kconfig
:0: error: bad value (e300c2) for -mcpu= switch
:0: error: bad value (e300c2) for -mcpu= switch
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/rpm/
BUILD/linux-2.6.20/scripts/gcc-version.sh:
line 13: printf: #: invalid number
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/rpm/
BUILD/linux-2.6.20/scripts/gcc-version.sh:
line 13: printf: #: invalid number
CHK include/linux/version.h
CHK include/linux/utsrelease.h
HOSTCC scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function 'get_src_version':
scripts/mod/sumversion.c:384: error: 'PATH_MAX' undeclared (first use
in this function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is
reported only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
scripts/mod/sumversion.c:384: warning: unused variable 'filelist'
make[2]: *** [scripts/mod/sumversion.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
error: Bad exit status from
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.98912
(%build)
RPM build errors:
Bad exit status from
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.98912
(%build)
Build time for kernel-2.6.20-mpc832x_rdb: 2 seconds
Failed building kernel-2.6.20-mpc832x_rdb
f_buildrpms() returned an error, exiting
traceback:
main:491
Started: Thu Sep 29 11:08:10 2016
Ended: Thu Sep 29 11:09:25 2016
Elapsed: 75 seconds
These packages failed to build:
kernel-2.6.20-mpc832x_rdb
Build Failed
Exiting on error or interrupt
I am using Ubuntu 8.10 and MPC8323E-RDB development board
Please, help me in solving this..
Thanks and Regards,
Siva Prakash Reddy N
After configuring ltib kernel image using "./ltib --configure", I am
getting following message..
#
# configuration written to .config
#
+ '[' -f /home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/
config/platform/mpc832x_rdb/linux_2.6.20_mpc832x_rdb.config
']'
+ cp -f ./.config
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/
config/platform/mpc832x_rdb/linux_2.6.20_mpc832x_rdb.config.dev
+ '[' -n '' ']'
+ '[' '%{kernel_series}' = 2.4 ']'
+ make ARCH=powerpc CROSS_COMPILE= 'HOSTCC=/usr/bin/gcc -B/usr/bin//' uImage
scripts/kconfig/conf -s arch/powerpc/Kconfig
:0: error: bad value (e300c2) for -mcpu= switch
:0: error: bad value (e300c2) for -mcpu= switch
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/rpm/
BUILD/linux-2.6.20/scripts/gcc-version.sh:
line 13: printf: #: invalid number
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/rpm/
BUILD/linux-2.6.20/scripts/gcc-version.sh:
line 13: printf: #: invalid number
CHK include/linux/version.h
CHK include/linux/utsrelease.h
HOSTCC scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function 'get_src_version':
scripts/mod/sumversion.c:384: error: 'PATH_MAX' undeclared (first use
in this function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is
reported only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
scripts/mod/sumversion.c:384: warning: unused variable 'filelist'
make[2]: *** [scripts/mod/sumversion.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
error: Bad exit status from
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.98912
(%build)
RPM build errors:
Bad exit status from
/home/rnd/Desktop/MPC8323/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.98912
(%build)
Build time for kernel-2.6.20-mpc832x_rdb: 2 seconds
Failed building kernel-2.6.20-mpc832x_rdb
f_buildrpms() returned an error, exiting
traceback:
main:491
Started: Thu Sep 29 11:08:10 2016
Ended: Thu Sep 29 11:09:25 2016
Elapsed: 75 seconds
These packages failed to build:
kernel-2.6.20-mpc832x_rdb
Build Failed
Exiting on error or interrupt
I am using Ubuntu 8.10 and MPC8323E-RDB development board
Please, help me in solving this..
Thanks and Regards,
Siva Prakash Reddy N
--
*SIVA*
*SIVA*