AnsweredAssumed Answered

Hi,

Question asked by Deepak nath on Mar 26, 2018
Latest reply on Mar 26, 2018 by igorpadykov

Hi,

 

using iMX25 BSP on ubuntu 14.04LTS

i tried to configure it was successful and once i tried to make i got below error:

 

  • #
    # qmake configuration for building with arm-none-linux-gnueabi-g++
    #

qmake.conf

 

include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)

 

# modifications to g++.conf
QMAKE_CC                = /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
QMAKE_CXX               = /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-g++
QMAKE_LINK              = /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-g++
QMAKE_LINK_SHLIB        = /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-g++

 

QMAKE_INCDIR        = /home/dne1cob/ltib/ltib_setup/ltib/rootfs/usr/include
QMAKE_LIBDIR        = /home/dne1cob/ltis/ltib_setup/ltib/rootfs/usr/lib
#QMAKE_INCDIR           = /home/dne1cob/Software/Build/iMX25/ltib/rootfs/usr/include
#QMAKE_LIBDIR           = /home/dne1cob/Software/Build/iMX25/ltib/rootfs/usr/lib

 

# modifications to linux.conf
QMAKE_AR                = /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ar cqs
QMAKE_OBJCOPY           = /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-objcopy
QMAKE_STRIP             = /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-strip

 

# modification for freescale imx25 (as per document)
PKG_CONFIG        = /home/dne1cob/Softwares/Scripts/pkg-config-wrapper.sh
QMAKE_LIBS        = /home/dne1cob/ltis/ltib_setup/ltib/rootfs/usr/lib -lglib-2.0 -lgthread-2.0 -lgstreamer-0.10 -lxml2 -lz -lgmodule-2.0 -lgobject-2.0 -lts -lasound

 

load(qt_config)

 

 

errors############################################################3

tup/ltib/rootfs/usr/lib -lglib-2.0 -lgthread-2.0 -lgstreamer-0.10 -lxml2 -lz -lgmodule-2.0 -lgobject-2.0 -lts -lasound -lpthread -lm -ldl
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make[1]: *** [../../lib/libQtCore.so.4.7.4] Error 1
make[1]: Leaving directory `/home/dne1cob/Software/Build/iMX25/qt-4.7.4/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2

#################################################################

 

configure command:

$HOME/Software/Packages/qt-everywhere-opensource-src-4.7.4/configure -embedded arm -xplatform qws/linux-mxc-g++ -release -opensource -prefix $HOME/Software/QtEmbedded-4.7.4-imx -qt-gfx-linuxfb -qt-kbd-tty -qt-mouse-tslib -little-endian -host-little-endian -multimedia -audio-backend -phonon -phonon-backend -gstreamer -glib -force-pkg-config -confirm-license -I$HOME/home/dne1cob/ltib/ltib_setup/ltib/rootfs/usr/include -L/home/dne1cob/ltib/ltib_setup/ltib/rootfs/usr

Outcomes