From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f48.google.com (mail-yh0-f48.google.com [209.85.213.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7D2FCE00C14 for ; Thu, 17 Apr 2014 07:18:33 -0700 (PDT) Received: by mail-yh0-f48.google.com with SMTP id z6so396257yhz.21 for ; Thu, 17 Apr 2014 07:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=x3BDdeudE2su6InnHumUWP2EagEWQkNRTABtKifOCGc=; b=UKE737mNCOu0fak4tdAU/WcRZPXxYViTw2KJjSWFX3f9F3gJn6Er63HpdSA/xCK8Bt jfLrVmHZeZUa0PEQGg68I6HtaKHC8tQrljuYbtK/3chcV2lZogvWftQ/7nCmcZyPfQs9 Op1ho8T7IZT6dp9BtnjgWrxtuT7bTvT6KQfphQZh9UTPuTTAI0LFkeu52D/HaihNyxFN ELwYlV0Gc/FJb1xD2MB2W0pjFKwDChMDSm8n9oaLkuFZYHvRDiJJpCjdxRYlzIdNvl+2 QIwVeR6N9CXwujWoiZBnoy4OGFryVDREGeUk1M4mDd2h9BAAtxUhTIN3AORmc/2Bu89G BfLw== X-Received: by 10.236.21.241 with SMTP id r77mr22710231yhr.7.1397744313071; Thu, 17 Apr 2014 07:18:33 -0700 (PDT) Received: from goober-2.local ([75.76.197.2]) by mx.google.com with ESMTPSA id c27sm48355129yhm.35.2014.04.17.07.18.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Apr 2014 07:18:32 -0700 (PDT) Message-ID: <534FE2AF.7000309@gmail.com> Date: Thu, 17 Apr 2014 09:18:23 -0500 From: John Weber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" References: <534E8B91.1040805@gmail.com> In-Reply-To: Subject: Re: About Yocto and Imx6 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 14:18:36 -0000 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Jigar,

Please do not top post.  This means we prefer that you reply with comments/responses inline with the previous message so that others in the list can more easily follow the conversation.

On 4/17/14, 4:43 AM, jigar chokshi wrote:
Hello John,
I have a question regarding your suggestion.

Do i have to create another directory for bitbake meta-ide-support or i have to do bitbake in the same directory where i did bitbake core-image -minimal??

No.
Bitbake needs to be run in the build directory always.

I am confused because i think bitbake core-image-minimal
will also generate new image then if i want to use core-image-minimal then what i have to do?
If you run bitbake core-image-minimal again, and if you changed something in any of the image dependencies, then it will build a new image. 

Running bitbake meta-ide-support does not require that you rebuild your image - you wanted to be able to build applications using the toolchain and libraries in the sysroot and this step builds an environment file that you can source which does that.

Thank you,
Jigar Chokshi

No problem.  I hope it helps.  In the future, you might want to email the oe-core mailing list as this question does not specifically pertain to the Freescale BSP but is more of an general OE question.
On Wed, Apr 16, 2014 at 3:54 PM, John Weber <rjohnweber@gmail.com> wrote:
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

then

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.

John
--
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale