* [PATCH] wxbase_2.8.9: fix includepath for SDL dependency
@ 2011-06-01 13:29 Matteo Facchinetti
2011-06-01 16:01 ` Marco Cavallini
2011-06-01 16:11 ` Koen Kooi
0 siblings, 2 replies; 4+ messages in thread
From: Matteo Facchinetti @ 2011-06-01 13:29 UTC (permalink / raw)
To: openembedded-devel; +Cc: Matteo Facchinetti
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}"
LEAD_SONAME = "libwx_base-2.8.so"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] wxbase_2.8.9: fix includepath for SDL dependency
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
1 sibling, 0 replies; 4+ messages in thread
From: Marco Cavallini @ 2011-06-01 16:01 UTC (permalink / raw)
To: openembedded-devel
Matteo Facchinetti ha scritto, Il 01/06/2011 15:29:
> 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}"
>
> LEAD_SONAME = "libwx_base-2.8.so"
>
Acked-by: Marco Cavallini <m.cavallini@koansoftware.com>
Thank you
Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen
--
Marco Cavallini | KOAN sas | Bergamo - Italia
embedded and real-time software engineering
Atmel third party certified consultant
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
http://www.KoanSoftware.com
http://www.KaeilOS.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] wxbase_2.8.9: fix includepath for SDL dependency
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
1 sibling, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2011-06-01 16:11 UTC (permalink / raw)
To: openembedded-devel
-----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?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFN5mTKMkyGM64RGpERAnjwAKC3KIkvLgvakTbi3WSVG4ihihnzvwCfRP22
jjC8gtfzfU3s4gmNSzFKLqs=
=93i7
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] wxbase_2.8.9: fix includepath for SDL dependency
2011-06-01 16:11 ` Koen Kooi
@ 2011-06-03 11:38 ` Matteo Facchinetti
0 siblings, 0 replies; 4+ messages in thread
From: Matteo Facchinetti @ 2011-06-03 11:38 UTC (permalink / raw)
To: openembedded-devel
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...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-03 11:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.