[oe] [PATCH v2] wxbase_2.8.9: fix includepath for SDL dependency

Paul Menzel paulepanter at users.sourceforge.net
Wed Jun 8 16:49:45 UTC 2011


Am Mittwoch, den 08.06.2011, 15:56 +0200 schrieb Matteo Facchinetti:
> From: Matteo Facchinetti <engineering at 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.

It builds fine for me without this patch using `minimal` for `MACHINE =
"beagleboard"`. How can I reproduce your build error?

> Signed-off-by: Matteo Facchinetti <engineering at 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..b87da11 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=${STAGING_BINDIR_CROSS}/.."

Maybe add `\` to the end and put the `"` to the new line so that future
patches will be smaller.

-                 --without-subdirs"
+                 --without-subdirs \
+                 --with-sdl-prefix=${STAGING_BINDIR_CROSS}/.. \
+                 "

>  LEAD_SONAME = "libwx_base-2.8.so"


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110608/01ef9fc1/attachment-0002.sig>


More information about the Openembedded-devel mailing list