AnsweredAssumed Answered

ubuntu15.10 mpc8308 ltib出错

Question asked by Jack Jie on Dec 31, 2015
Latest reply on Jan 12, 2016 by alexander.yakovlev

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位存在这样的问题,有人在这个系统上运行成功过吗?

Outcomes