AnsweredAssumed Answered

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

Question asked by Manuel Malagon on Jan 30, 2020
Latest reply on Jan 31, 2020 by gusarambula

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.

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

These packages failed to build:

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