ubuntu15.10 mpc8308 ltib出错

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

ubuntu15.10 mpc8308 ltib出错

851 Views
jackjie
Contributor I

ubuntu15.10 mpc8308 ltib出错

host_config.log:

Processing platform: Host support packages

============================================

using /home/ltib-mpc8308erdb-20100413/config/platform/host/ltib.preconfig

Processing: fake-provides

===========================

Processing: mkspooflinks

==========================

Processing: distcc

====================

Processing: ccache

====================

Processing: bison

===================

Processing: flex

==================

Processing: texinfo

=====================

Processing: autoconf

======================

Processing: libtool

=====================

Processing: lkc

=================

Build path taken because: directory build, no prebuilt rpm,

Cowardly refusing to clobber existing directory:

/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4

Remove this by hand if you really want to rebuild this package from scratch

Died at ./ltib line 1380.

traceback:

main::build_host_rpms:1380

   main::host_checks:1435

    main:542

Started: Wed Dec 30 20:14:57 2015

Ended:   Wed Dec 30 20:14:57 2015

Elapsed: 0 seconds

These packages failed to build:

lkc

Build Failed

/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4

修改menu.c

inline int next_id(int id, bool forward)  to int next_id(int id, bool forward)

gcc -O -Wall -g -fPIC -c conf.c -o conf.o

bison -l -b zconf -p zconf zconf.y

flex -L -Pzconf zconf.l

gcc -O0 -Wall -g -fPIC -c zconf.tab.c -o zconf.tab.o

gcc  conf.o zconf.tab.o -o conf

gcc -O0 -Wall -g -fPIC -c mconf.c -o mconf.o

cd lxdialog && make

make[1]: Entering directory '/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4/lxdialog'

cc  -DCURSES_LOC="<ncurses.h>" -I. -c checklist.c -o checklist.o

cc  -DCURSES_LOC="<ncurses.h>" -I. -c menubox.c -o menubox.o

cc  -DCURSES_LOC="<ncurses.h>" -I. -c textbox.c -o textbox.o

cc  -DCURSES_LOC="<ncurses.h>" -I. -c yesno.c -o yesno.o

cc  -DCURSES_LOC="<ncurses.h>" -I. -c inputbox.c -o inputbox.o

cc  -DCURSES_LOC="<ncurses.h>" -I. -c util.c -o util.o

cc  -DCURSES_LOC="<ncurses.h>" -I. -c msgbox.c -o msgbox.o

ar rc lxdialog.a checklist.o menubox.o textbox.o yesno.o inputbox.o util.o msgbox.o

ranlib lxdialog.a

make[1]: Leaving directory '/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4/lxdialog'

gcc   mconf.o zconf.tab.o lxdialog/lxdialog.a -o mconf -lncurses

修改后编译正常,但ltib运行还是存在问题。

主要是使用ubuntu15.10 64位存在这样的问题,有人在这个系统上运行成功过吗?

0 Kudos
1 Reply

438 Views
alexander_yakov
NXP Employee
NXP Employee

LTIB is quite old software and initially it was designed to run on redhat-type systems.

It is also possible to run LTIB on ealier versions of Ubuntu with just a minor additional packages installed.

But starting from Ubuntu 12.04, LTIB does not work on Ubuntu without special patch.

Please seach this community for "Ubuntu Ltib patch".

For example, please look the following link:

ubuntu-ltib-patch.tgz

For Ubuntu 15.10 - I do not think any body have an experience running this particular quite old (5 years old) Linux BSP on most recent Ubuntu 15.10,

but there is a number of other LTIB-based BSPs, so I do not expect any issues.


Have a great day,
Alexander

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

0 Kudos