From: John Weber <rjohnweber@gmail.com>
To: meta-freescale@yoctoproject.org
Subject: Re: About Yocto and Imx6
Date: Wed, 16 Apr 2014 08:54:25 -0500 [thread overview]
Message-ID: <534E8B91.1040805@gmail.com> (raw)
In-Reply-To: <CAAEo+ZoHzSUzKO-GLiuO3gBPmE4oEj6s_TLnTt=i-d0XfaZgFA@mail.gmail.com>
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
next prev parent reply other threads:[~2014-04-16 13:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 12:49 About Yocto and Imx6 jigar chokshi
2014-04-16 13:54 ` John Weber [this message]
[not found] ` <CAAEo+ZoSTQZU34m_gx9JDT39at1M-5eigRUX3Vpj9Urd7wK5JA@mail.gmail.com>
2014-04-17 14:18 ` John Weber
2014-04-30 8:23 ` [meta-freescale] " jigar chokshi
2014-04-30 8:23 ` jigar chokshi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=534E8B91.1040805@gmail.com \
--to=rjohnweber@gmail.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.