LTIB build issue for MPC8272

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LTIB build issue for MPC8272

1,713件の閲覧回数
m_syed_ahmed
Contributor III

Hi,

We were planning to work on an MPC8248 processor for one of our projects. We need to take the NXP reference design and source code as a baseline for that project. I downloaded the ISO file from the below link

https://www.nxp.com/products/processors-and-microcontrollers/legacy-mpu-mcus/powerquicc-processors/p...

Now am using Ubuntu 20.04. Which latest Ubuntu version will support this build? Is the Ubuntu 14.04 latest? and what host packages need to be installed for LTIB build to pass through? When I tried in 20.04, I got the below error log

./ltib
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/%{ <-- HERE ([^}]+)}/ at /home/ltib-mpc8272ads-20080623/bin/Ltibutils.pm line 271.
Compilation failed in require at ./ltib line 39.
BEGIN failed--compilation aborted at ./ltib line 39

タグ(3)
0 件の賞賛
5 返答(返信)

1,584件の閲覧回数
m_syed_ahmed
Contributor III

am using Ubuntu 14 only. getting the same 3 packages not available error.

0 件の賞賛

1,494件の閲覧回数
JeremiahVelasquez
Contributor I

When it executes the first time, LTIB runs a number of host packages that need to be built and installed in order to support LTIB. This may take a few minutes. Then run ./ltib –c to modify the project configuration. This will prompt the platform/board configuration. In the board configuration screen, change settings and select packages as appropriate. When you exit the configuration screen, your target image will compile/build again to be adjusted accordingly.

FaceTime Download

0 件の賞賛

1,647件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

There is no problem if Ubuntu 12 32bit is used for LTIB. Ubuntu 14 also can be used.

Please refer to the following script to install necessary packages on Ubuntu machine to run ltib.

#/bin/bash
# Install LTIB dependant packages
sudo apt-get install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev
sudo apt-get install libdbus-glib-1-dev liborbit2-dev intltool
sudo apt-get install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool
sudo apt-get install uuid-dev liblzo2-dev
sudo apt-get install tcl dpkg
# Packages required for 64-bit Ubuntu
# Do "uname -a" and see if the word "x86_64" shows up.
if uname -a|grep -sq 'x86_64'; then
sudo apt-get install ia32-libs libc6-dev-i386 lib32z1
fi

0 件の賞賛

1,644件の閲覧回数
m_syed_ahmed
Contributor III

Got below log after running all the commands. Also these 2 packages not got installed. liborbit2-dev and ia32-libs. Is their any alternative for these packages and packages which were highlighted in bold

~/ltib-mpc8272ads-20080623$ ./ltib
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/%{ <-- HERE ([^}]+)}/ at /home/atc/ltib-mpc8272ads-20080623/bin/Ltibutils.pm line 271.

ltib cannot be run because one or more of the host packages needed
to run it are either missing or out of date.

Please install/upgrade these packages and then re-try.

Package Minimum ver Installed info
------- ----------- ---------------
glibc-devel 0 not installed
zlib 0 not installed
rpm-build 0 not installed
Died at ./ltib line 1241.
traceback:
main::host_checks:1241
main:489


Started: Thu May 5 03:51:08 2022
Ended: Thu May 5 03:51:09 2022
Elapsed: 1 seconds


Build Failed

Exiting on error or interrupt

0 件の賞賛

1,587件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please use Ubuntu 14.

0 件の賞賛