[meta-freescale] About Yocto and Imx6

John Weber rjohnweber at gmail.com
Wed Apr 16 06:54:25 PDT 2014

Hi Jigar,

On 4/16/14, 7:49 AM, jigar chokshi wrote:
> Hello,
> Here i attached important parameter of my local.conf file of core-image-minimal.
> MACHINE ??= 'imx6qsabreauto'
> DISTRO ?= 'poky'
> PACKAGE_CLASSES ?= "package_rpm"
> EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh"
> IMAGE_INSTALL_append = " gcc g++ binutils libgcc libgcc-dev libstdc++ 
> libstdc++-dev glib-2.0 libsigc++-2.0-dev libstdc++-staticdev tslib-conf 
> tslib-tests tslib-calibrate openssh-sftp-server alsa-lib alsa-tools alsa-state 
> alsa-utils-alsaconf tslib evtest dbus nano qtbase qtbase-fonts qtbase-plugins 
> qtbase-examples cinematicexperience gstreamer cairo pango fontconfig freetype 
> pulseaudio "
> DISTRO_FEATURES_remove = "x11 wayland"
> I tried to cross compile qt5 using poky tool chain and it was successful.
> Now when i tried build an application using same tool chain it required an 
> library that is developed by my colleague.
> so, when i tried to configured that library.
> echo $PATH
> /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
> ./configure --prefix=/home/x-chokshij/hmi_rbg/libudcu-arm/_Install 
> CC=arm-poky-linux-gnueabi-gcc CXX=arm-poky-linux-gnueabi-g++ 
> --host=arm-poky-linux-gnueabi --enable-shared --disable-static
> Now when i am giving make all
> i am getting following error
> /opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.1/ld: 
> cannot find -lglib-2.0
> I understand this error is because poky cant find glib-2.0 library. but as you 
> can see in local.conf file i installed glib-2.0 lib.
I think you need other environment variables set in order for your configure 
script to find the shared libraries (e.g. PKGCONFIG).  You might give this a try:

bitbake meta-ide-support


source ./tmp/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi

I believe that this should take care of most of it.  Let us know how it goes.


More information about the meta-freescale mailing list