ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Ltib issue while building Kernel


From: Siva Prakash Reddy Nareddy
Subject: Re: [Ltib] Ltib issue while building Kernel
Date: Thu, 29 Sep 2016 11:53:31 +0530

sir,

I didn't found <limits.h> in sumversion.c which is located at
/rpm/BUILD/linux-2.6.20/scripts/mod.

Please look at the attached sumversion.c file



On 9/29/16, Eric Zang <address@hidden> wrote:
> HI Siva
>
> From the log attached, I suggest that you first check the item of cross
> toolchain in configure file, make sure it is a proper PowerPC’s toolchain
> with correct C library. Then
> Go to kernel directory, to check if /scripts/mod/sumversion.c already has
> include <limits.h>. If has, the best bet is the issue happened in cross
> toolchain or its configuration.
> Good luck!
>
>
>
>
>
>
> Eric Zang
>
> Embed International Pty Ltd
> 2 Neil Street, Osborne Park WA 6017
> Tel : +61 8 9340 0100 | Fax: +61 8 9340 0199
> Website : www.embedcard.com<http://www.embedcard.com/>
> E-mail : address@hidden<mailto:address@hidden>
>
> From: Ltib [mailto:address@hidden On Behalf Of
> Siva Prakash Reddy Nareddy
> Sent: Thursday, September 29, 2016 2:03 PM
> To: ltib <address@hidden>
> Subject: [Ltib] Ltib issue while building Kernel
>
> 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
>
> --
> SIVA
>


-- 
*SIVA*

Attachment: sumversion.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]