Why am I getting a compilation error in menu.c when building LTIB?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why am I getting a compilation error in menu.c when building LTIB?

Jump to solution
764 Views
m4l490n
Contributor V

I'm following the steps on page 27 from i.MX28 EVK Linux User’s Guide, Rev. L2.6.35_1.1.0 regarding the Installing and Building of the LTIB and I'm having the process stop with the following error (taken from the log):

/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4/menu.c:416: undefined reference to `next_id'
/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4/menu.c:427: undefined reference to `next_id'
collect2: error: ld returned 1 exit status
Makefile:106: recipe for target 'conf' failed
make: *** [conf] Error 1
error: Bad exit status from /home/m4l490n/Projects/ltib/tmp/rpm-tmp.27037 (%build)


RPM build errors:
Bad exit status from /home/m4l490n/Projects/ltib/tmp/rpm-tmp.27037 (%build)
Build time for lkc: 1 seconds

Failed building lkc
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
main::host_checks:1447
main:554


Started: Thu Jan 30 12:48:18 2020
Ended: Thu Jan 30 12:51:54 2020
Elapsed: 216 seconds

These packages failed to build:
lkc

Build Failed

Does anyone know why I'm getting that error? Do I absolutely need to install Ubuntu 9.04, 9.10, or 10.04 as the document mentions?

I include the complete log in case somebody knows how to do this and can get more information out of the log.

These are the specs for my host computer where I need LTIB:

OS: Linux Mint 18.3 Sylvia x86_64
VMware Virtual Platform None
Kernel: 4.15.0-76-generic
Uptime: 22 hours, 29 mins
Packages: 3278 (dpkg), 5 (flatpak), 6 (snap)
Shell: zsh 5.1.1
Resolution: 2560x1440, 2560x1440
DE: Plasma
WM: KWin
Theme: Breeze [GTK2/3]
Icons: breeze [GTK2/3]
Terminal: gnome-terminal
CPU: Intel Xeon E3-1505M v6 (4) @ 2.999GHz
GPU: 00:0f.0 VMware SVGA II Adapter
Memory: 4012MiB / 7953MiB

Labels (1)
Tags (1)
0 Kudos
1 Solution
672 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Manuel Malagon,

LTIB have not been updated in a while, which makes it tricky to run on newer Ubuntu distributions. There are some posts that may be of help where they have worked out the package name changes an availability, but I would recommend using an older Ubuntu release if you can. (I understand you may not want to go all the way back to 9.04 but I’ve seen users using LTIB with Ubuntu 12.04, I would try to use 12.04 or 14.04)

https://community.nxp.com/docs/DOC-1442

https://community.nxp.com/thread/263972#264975

 

You could also consider switching to Yocto. Support for the i.MX28 is only provided on the Community BSP which is part of the Yocto Project and thus Open Source and supported by the Community, but it may be of help.

https://freescale.github.io/#documentation

I hope this information helps!

Regards,

View solution in original post

0 Kudos
1 Reply
673 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Manuel Malagon,

LTIB have not been updated in a while, which makes it tricky to run on newer Ubuntu distributions. There are some posts that may be of help where they have worked out the package name changes an availability, but I would recommend using an older Ubuntu release if you can. (I understand you may not want to go all the way back to 9.04 but I’ve seen users using LTIB with Ubuntu 12.04, I would try to use 12.04 or 14.04)

https://community.nxp.com/docs/DOC-1442

https://community.nxp.com/thread/263972#264975

 

You could also consider switching to Yocto. Support for the i.MX28 is only provided on the Community BSP which is part of the Yocto Project and thus Open Source and supported by the Community, but it may be of help.

https://freescale.github.io/#documentation

I hope this information helps!

Regards,

0 Kudos