From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f169.google.com (mail-yk0-f169.google.com [209.85.160.169]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 95EF5E00BF3 for ; Wed, 16 Apr 2014 06:54:29 -0700 (PDT) Received: by mail-yk0-f169.google.com with SMTP id 142so10105011ykq.14 for ; Wed, 16 Apr 2014 06:54:29 -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=eW8pPU4VbiUkDrIdg4WD/v3BaX4najZV1ktxtCWh/CI=; b=JLKkykzj3wsBNayUxtIdYsQQC1uU4YMu33SyzJOHkmIGbjPyK1SlJLAEKvUC8oiVwX tjx4Je9VMY51AU+e6fcWdTLea3L5A6kUCFBUV2XOPLBSILNVSYsgIQPwvZcbAQIA3I5w RUjU0wKv5tebSDjbmm0XByhNCgfw/g1UNwLXrJYcLCN6DD+/5xxJqE4n/QD/sT6Mbv41 xXEY5gICLNBt/jKqw8TLGgEuAjtDVX6//dUtAwMn+F/gHBrxXG3Cu94G6bnB3lIw34Is nQKmUWxJIH1eibmJXHx9LEu6F4nHId9RYeUmwwzLyjSJRvpgF07nnlZT50KkTQ0Bo8oU dtLQ== X-Received: by 10.236.120.66 with SMTP id o42mr13231691yhh.66.1397656469003; Wed, 16 Apr 2014 06:54:29 -0700 (PDT) Received: from goober-2.local ([75.76.197.2]) by mx.google.com with ESMTPSA id n5sm42521241yhn.43.2014.04.16.06.54.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Apr 2014 06:54:28 -0700 (PDT) Message-ID: <534E8B91.1040805@gmail.com> Date: Wed, 16 Apr 2014 08:54:25 -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: 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: Wed, 16 Apr 2014 13:54:32 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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