From: Matteo Facchinetti <matteo.facchinetti@sirius-es.it>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] wxbase_2.8.9: fix includepath for SDL dependency
Date: Fri, 03 Jun 2011 13:38:53 +0200 [thread overview]
Message-ID: <4DE8C7CD.3020803@sirius-es.it> (raw)
In-Reply-To: <is5oca$sls$1@dough.gmane.org>
On 06/01/2011 06:11 PM, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01-06-11 15:29, Matteo Facchinetti wrote:
>> From: Matteo Facchinetti<engineering@sirius-es.it>
>>
>> Compile task fail with error:
>> | CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/SDL
>> | cc1plus: internal compiler error: in add_path, at c-incpath.c:425
>>
>> Fix it forcing right path in configuration.
>>
>>
>> Signed-off-by: Matteo Facchinetti<engineering@sirius-es.it>
>> ---
>> recipes/wxwidgets/wxbase_2.8.9.bb | 3 ++-
>> 1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/recipes/wxwidgets/wxbase_2.8.9.bb b/recipes/wxwidgets/wxbase_2.8.9.bb
>> index fb18710..7d593ad 100644
>> --- a/recipes/wxwidgets/wxbase_2.8.9.bb
>> +++ b/recipes/wxwidgets/wxbase_2.8.9.bb
>> @@ -9,7 +9,8 @@ SRC_URI += "file://Makefile.in.patch"
>> EXTRA_OECONF = " --disable-gui \
>> --enable-largefile \
>> --enable-gpe \
>> - --without-subdirs"
>> + --without-subdirs \
>> + --with-sdl-prefix=${D}"
> Usually that means you end with with references to $WORKDIR in the
> target binaries, is this one safe?
>
mmmm...
While checking about it I have discovered a mistake:
In this case "--with-sdl-prefix" is used only for the basepath where
sdl-config script is located.
Configure script set:
SDL_CONFIG=$sdl_prefix/bin/sdl-config
Then, if sdl-config is found (located in that position), it says to
wxbase the right path where SDL library is located.
Binaries seems to be created exactly like the other libraries.
For this reason the only right way I've found is to use:
--with-sdl-prefix="${STAGING_BINDIR_CROSS}/.."
Is it goes well?
if yes I prepare v2 of this patch...
prev parent reply other threads:[~2011-06-03 11:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 13:29 [PATCH] wxbase_2.8.9: fix includepath for SDL dependency Matteo Facchinetti
2011-06-01 16:01 ` Marco Cavallini
2011-06-01 16:11 ` Koen Kooi
2011-06-03 11:38 ` Matteo Facchinetti [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=4DE8C7CD.3020803@sirius-es.it \
--to=matteo.facchinetti@sirius-es.it \
--cc=openembedded-devel@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 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.