From: Nikolay Dimitrov <picmaster@mail.bg>
To: Terry Farnham <terry.farnham@quanergy.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: Help - new to Yocto
Date: Fri, 28 Aug 2015 13:00:06 +0300 [thread overview]
Message-ID: <55E03126.1000107@mail.bg> (raw)
In-Reply-To: <000601d0e152$852581a0$8f7084e0$@quanergy.com>
Hi Terry,
On 08/28/2015 08:29 AM, Terry Farnham wrote:
> I attempted a clean build today to see if I could get past this
> issue. I am still encountering the same compile problem.
>
> I’m not exactly sure where I must be going wrong with the steps for
> setting up to build OE and the Yocto packages, but it always seems to
> fail to build the ptpd daemon. Looking at the Makefiles that are
> generated, it seems to me that the mechanics which sets up the
> compiler include directives are generating an include reference into
> the host machines /usr/include folder rather than into the proper arm
> version of the includes. I attached the Makefile from my
> "<build_folder>/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/ptpd/2.3.1-rc2-r0/build"
> folder. You can see that the includedir seems to improperly
> reference /usr/include. The error that gets generated is a result of
> including from nested includes that eventually land on
> /usr/include/bits/byteswap.h which happens to have x86 specific
> assembler in it. I’m surprised that I am not seeing more compile
> errors than this, as I suspect that a lot of the code being compiled
> from the cortexa9hf-vfp-neon-poky-linux-gnueabi is referencing into
> the host machines /usr/include instead of the hardware specific
> version.
>
> I'm hoping someone has a clue that will help me get past this
> problem.
>
> Thanks,
>
> Terry
Just tried to build ptpd on a Debian 7 host and it works like a charm.
Here's what I'm doing:
// Get Yocto
mkdir ~/yocto-master
cd ~/yocto-master
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b fido
repo sync
. setup-environment build
// Change PACKAGE_CLASSES to package_ipk to avoid waiting for RPMs
nano conf/local.conf
// Add meta-networking and meta-python to BBLAYERS
nano conf/bblayers.conf
// Default MACHINE is imx6qsabresd, so no need to set it explicitly
bitbake ptpd
This worked on both master and fido branches.
Regards,
Nikolay
next prev parent reply other threads:[~2015-08-28 10:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 0:50 Help - new to Yocto Terry Farnham
2015-08-27 11:46 ` Daiane Angolini
2015-08-27 13:21 ` Terry Farnham
2015-08-27 16:15 ` Daiane Angolini
2015-08-28 5:29 ` Terry Farnham
2015-08-28 10:00 ` Nikolay Dimitrov [this message]
2015-08-28 12:30 ` Daiane Angolini
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=55E03126.1000107@mail.bg \
--to=picmaster@mail.bg \
--cc=meta-freescale@yoctoproject.org \
--cc=terry.farnham@quanergy.com \
/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.