AnsweredAssumed Answered

i.mx6 ltib elftosb build

Question asked by frankmiller on Mar 1, 2013
Latest reply on Mar 1, 2013 by frankmiller

Greeting,

 

I'm trying run ltib for the first time from the i.MX6 source tarball.  I'm using Ubuntu 12.10  Here's the error I get after awhile:

 

 

Executing(%build): /bin/sh -e /home/fwmiller/Freescale/ltib/tmp/rpm-tmp.25768

+ umask 022

+ cd /opt/freescale/ltib/usr/src/rpm/BUILD

+ cd elftosb-12.09.01

+ make

make -C bld/linux -f /opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/makefile.rules SRC_DIR=/opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01 all;

make[1]: Entering directory `/opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/bld/linux'

gcc -g -I/opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/elftosb2 -I/opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/keygen -I/opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/sbtool -I/opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/common -DLinux -c /opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/common/AESKey.cpp

In file included from /opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/common/AESKey.h:10:0,

                 from /opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/common/AESKey.cpp:8:

/opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/common/stdafx.h:30:36: fatal error: /usr/include/sys/types.h: No such file or directory

compilation terminated.

make[1]: *** [AESKey.o] Error 1

make[1]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-12.09.01/bld/linux'

make: *** [all] Error 2

error: Bad exit status from /home/fwmiller/Freescale/ltib/tmp/rpm-tmp.25768 (%build)

 

 

RPM build errors:

    Bad exit status from /home/fwmiller/Freescale/ltib/tmp/rpm-tmp.25768 (%build)

Build time for elftosb: 0 seconds

 

Failed building elftosb

Died at ./ltib line 1392.

traceback:

main::build_host_rpms:1392

  main::host_checks:1447

   main:554

 

 

Started: Fri Mar  1 09:43:46 2013

Ended:   Fri Mar  1 09:57:04 2013

Elapsed: 798 seconds

 

These packages failed to build:

elftosb

 

Build Failed

 

Any thoughts?

 

Thanks,

FM

 

 


Outcomes