From: Joshua Lock <joshua.lock@collabora.co.uk>
To: openembedded-core@lists.openembedded.org
Subject: Re: [fido][PATCH] oprofile: update --with-kernel option to find perf_event.h
Date: Fri, 23 Oct 2015 15:25:55 +0100 [thread overview]
Message-ID: <562A4373.6090406@collabora.co.uk> (raw)
In-Reply-To: <1445420828-7756-1-git-send-email-b28495@freescale.com>
On 21/10/15 10:47, b28495@freescale.com wrote:
> From: Ting Liu <ting.liu@freescale.com>
>
> Update --with-kernel=${STAGING_DIR_HOST}/${prefix} to find kernel
> headers (linux/*.h) to fix the error:
> | checking kernel supports perf_events... unknown -- perf_event.h not found
> | ERROR: You requested to build oprofile with '--with-kernel=/buildarea/lyang1/test_f2/tmp/work-shared/qemux86/kernel-source',
> | but headers were not accessible at the given location.
> | Be sure you have run the following command from within your kernel source tree:
> | make headers_install INSTALL_HDR_PATH=<kernel-hdrs-install-dir>
> | Then pass <kernel-hdrs-install-dir> to oprofile's '--with-kernel' configure option.
> | configure: error: Unable to build oprofile. Exiting.
>
> This is part of the commit b5b3085d9d6a351a1de86f95d5c8ba28dbfbddbb which
> already applied in poky master branch.
I've queued this patch in my joshuagl/fido-next[1] branch.
Thanks,
Joshua
1.
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=joshuagl/fido-next
>
> Signed-off-by: Ting Liu <ting.liu@freescale.com>
> ---
> meta/recipes-kernel/oprofile/oprofile.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc
> index 49e6b16..435e4ed 100644
> --- a/meta/recipes-kernel/oprofile/oprofile.inc
> +++ b/meta/recipes-kernel/oprofile/oprofile.inc
> @@ -27,7 +27,7 @@ SRC_URI = "file://filemode-fix.patch \
>
> inherit autotools pkgconfig ptest
>
> -EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR} --without-x ac_cv_prog_XSLTPROC="
> +EXTRA_OECONF = "--with-kernel=${STAGING_DIR_HOST}${prefix} --without-x ac_cv_prog_XSLTPROC="
> do_configure () {
> cp ${WORKDIR}/acinclude.m4 ${S}/
> autotools_do_configure
>
prev parent reply other threads:[~2015-10-23 14:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 9:47 [fido][PATCH] oprofile: update --with-kernel option to find perf_event.h b28495
2015-10-23 14:25 ` Joshua Lock [this message]
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=562A4373.6090406@collabora.co.uk \
--to=joshua.lock@collabora.co.uk \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox