AnsweredAssumed Answered

IMX280 ./ltib ERR

Question asked by ting ning on Feb 22, 2016

look this

lxdialog/lxdialog.a(util.o): In function `draw_shadow':

util.c:(.text+0xa95): undefined reference to `has_colors'

util.c:(.text+0xacf): undefined reference to `wmove'

util.c:(.text+0xae4): undefined reference to `winch'

util.c:(.text+0xaf6): undefined reference to `waddch'

util.c:(.text+0xb26): undefined reference to `wmove'

util.c:(.text+0xb32): undefined reference to `winch'

util.c:(.text+0xb44): undefined reference to `waddch'

util.c:(.text+0xb50): undefined reference to `winch'

util.c:(.text+0xb62): undefined reference to `waddch'

util.c:(.text+0xb82): undefined reference to `wnoutrefresh'

collect2: ld returned 1 exit status

make: *** [mconf] Error 1

error: Bad exit status from /work/imx280/ltib/tmp/rpm-tmp.90388 (%build)





RPM build errors:

    Bad exit status from /work/imx280/ltib/tmp/rpm-tmp.90388 (%build)

Build time for lkc: 2 seconds



Failed building lkc

Died at ./ltib line 1392.


i don't know why that appear it

I do like this

1 down load ubuntu 12.04 and install

2 install arm-fsl-linux-gnueabi-gcc

3 down load  L2.6.35_1.1.0_130130_source.tar.gz  and install

4 install host packeages needed by LTIB,Execute this script

this script content:

# Install packages needed by LTIB
sudo aptitude -y install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev
sudo aptitude -y install libdbus-glib-1-dev liborbit2-dev intltool
sudo aptitude -y install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool
sudo aptitude -y install uuid-dev liblzo2-dev
sudo aptitude -y 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 aptitude -y install ia32-libs libc6-dev-i386 lib32z1
# The following recommended for Linux development.
# They are not required by LTIB.
sudo aptitude -y install gparted emacs22-nox openssh-server
sudo aptitude -y install nfs-common nfs-kernel-server lintian
sudo aptitude -y install git-core git-doc git-email git-gui gitk
sudo aptitude -y install diffstat indent tofrodos fakeroot doxygen uboot-mkimage
sudo aptitude -y install sendmail mailutils meld atftpd sharutils
sudo aptitude -y install manpages-dev manpages-posix manpages-posix-dev linux-doc
sudo aptitude -y install vnc4server xvnc4viewer

5 ccache -M 50M  and ccache -c
annex is inmformation which printf log

Original Attachment has been moved to: