All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerard van den Bosch <gerard@de-haardt.com>
To: poky@yoctoproject.org
Subject: compile application header file missing
Date: Tue, 15 Mar 2011 11:57:52 +0100	[thread overview]
Message-ID: <4D7F4630.3030705@de-haardt.com> (raw)

Hello,

I have programmed an application that uses the OpenSLP library and thus 
needs the header file from it.
OpenSLP is already compiled and running fine on the target.

But when I try to compile my application it can't find the header file.
When I print out the CFLAGS with bitbake myimage -e | grep CFLAGS the 
BUILD_CFLAGS point to:
/home/gerard/green-3.3/build/tmp/sysroots/i686-linux/usr/include
The slp.h is indeed missing, but it is located at:
/home/gerard/green-3.3/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/include

How can I change the CFLAGS to look in the other folder or force OpenSLP 
to drop it in the i686 folder?

I have added OpenSLP to my DEPENDS in the recipe, also tried RDEPENDS 
but it didn't solve the problem.

Regards,
Gerard





             reply	other threads:[~2011-03-15 10:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15 10:57 Gerard van den Bosch [this message]
2011-03-15 13:38 ` compile application header file missing Richard Purdie
2011-03-15 15:03   ` Gerard van den Bosch
2011-03-16 16:08     ` Richard Purdie
2011-03-17  7:43       ` Gerard van den Bosch
2011-03-17  7:52         ` Khem Raj
2011-03-17  8:00           ` Gerard van den Bosch
2011-03-17  8:22             ` Gerard van den Bosch
2011-03-17 13:54               ` Gerard van den Bosch

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=4D7F4630.3030705@de-haardt.com \
    --to=gerard@de-haardt.com \
    --cc=poky@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.