Build failure in SDKV2.0 & SDKv1.7 for T1024RDB BUILDS.

cancel
Showing results for 
Search instead for 
Did you mean: 

Build failure in SDKV2.0 & SDKv1.7 for T1024RDB BUILDS.

293 Views
sreekumartp
Contributor I

I get the following build error when building T1024RDB configuration. T1024RDB-64B does not throw any error during the build.

 

pes -Wno-missing-field-initializers -Wredundant-decls -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes -I/home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/sysroots/x86_64-linux/usr/include -isystem/home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o misc-utils/cal-cal.o `test -f 'misc-utils/cal.c' || echo '/home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/util-linux-2.24.1/'`misc-utils/cal.c
| In file included from /home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/util-linux-2.24.1/sys-utils/unshare.c:36:
| /home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/util-linux-2.24.1/include/namespace.h: In function 'setns':
| /home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/util-linux-2.24.1/include/namespace.h:40: error: '__NR_setns' undeclared (first use in this function)
| /home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/util-linux-2.24.1/include/namespace.h:40: error: (Each undeclared identifier is reported only once
| /home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/util-linux-2.24.1/include/namespace.h:40: error: for each function it appears in.)
| make[2]: *** [sys-utils/unshare-unshare.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory `/home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/build'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/temp/run.do_compile.61693:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/build_t1024rdb_release/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/temp/log.do_compile.61693)
ERROR: Task 359 (virtual:native:/home/clouduser/QorIQ-SDK-V1.7-20141218-yocto/poky/meta/recipes-core/util-linux/util-linux_2.24.1.bb, do_compile) failed with exit code '1'

Original Attachment has been moved to: log.do_compile.61693.zip

0 Kudos
3 Replies

111 Views
Pavel
NXP TechSupport
NXP TechSupport

Usually the following command sequence is used for SDK installing under Ubuntu 14.04 and Ubuntu 16.04:

 

  1. sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos

 

  1. a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

  1. b) command: sudo dpkg-reconfigure dash

                Answer after password – No

                Message:

                Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'

                Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'

                Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'

                Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'

  1. c) command for checking: ls -l /bin/sh

                Message: /bin/sh -> bash

 

  1. install SDK cache:
  2. install SDK source
  3. cd <sdk-install-dir>.
  4. ./sources/meta-freescale/scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

  1. bitbake fsl-image-minimal


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

111 Views
sreekumartp
Contributor I

This does not solve the problem Pavel. 

0 Kudos

111 Views
Pavel
NXP TechSupport
NXP TechSupport

What Linux version is used on your PC?

 

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

Look at your Linux message dump. Are there error messages at "./sources/meta-freescale/scripts/host-prepare.sh" command?

 

Send please message dump for SDK installing.

 


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos