From: Kang Kai <Kai.Kang@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH 1/1] ghostscript: fix run failure on mpc8315e
Date: Sat, 21 May 2011 09:36:18 +0800 [thread overview]
Message-ID: <4DD71712.4000601@windriver.com> (raw)
In-Reply-To: <1305908321.3424.658.camel@rex>
Hi Richard,
> Hi,
>
> On Fri, 2011-05-20 at 20:19 +0800, Kang Kai wrote:
>> From: Kang Kai<kai.kang@windriver.com>
>>
>> When run gs on mpc8315, it fails with:
>> GPL Ghostscript 9.02: ./psi/interp.c(291): Fatal error -20 in gs_interp_init!
>> It is caused by cross compile.
>>
>> Accoding to the ghostscript document on:
>> http://pages.cs.wisc.edu/~ghost/doc/cvs/Make.htm#Cross-compiling
>> it needs some manual work, so import patches from WindRiver Linux.
>>
>> Signed-off-by: Kang Kai<kai.kang@windriver.com>
> There is a way to do this more neatly within OE. You can create a
> directory structure of:
>
> recipes-extended/ghostscriptghostscript-9.02/powerpc/objarch.h
> recipes-extended/ghostscriptghostscript-9.02/powerpc/soobjarch.h
> recipes-extended/ghostscriptghostscript-9.02/i586/objarch.h
> recipes-extended/ghostscriptghostscript-9.02/i586/soobjarch.h
> recipes-extended/ghostscriptghostscript-9.02/mips/objarch.h
> recipes-extended/ghostscriptghostscript-9.02/mips/soobjarch.h
> recipes-extended/ghostscriptghostscript-9.02/x86_64/objarch.h
> recipes-extended/ghostscriptghostscript-9.02/x86_64/soobjarch.h
> recipes-extended/ghostscriptghostscript-9.02/arm/objarch.h
> recipes-extended/ghostscriptghostscript-9.02/arm/soobjarch.h
>
> Then just add file://objarch.h and file://soobjarch.h to SRC_URI and a
>
> do_configure_prepend () {
> cp ${WORKDIR}/objarch.h ${S}/obj/arch.h
> cp ${WORKDIR}/soobjarch.h ${S}/soobj/arch.h
> }
>
> and the rest will happen automatically (you'll still need the lib.mak
> bit of the patch applied unconditionally).
Thanks, I will update the pull request.
> Cheers,
>
> Richard
>
Regards,
Kai
next prev parent reply other threads:[~2011-05-21 1:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-20 12:19 [PATCH 0/1] ghostscript: add patches to make it run cross compile platform Kang Kai
2011-05-20 12:19 ` [PATCH 1/1] ghostscript: fix run failure on mpc8315e Kang Kai
2011-05-20 16:18 ` Richard Purdie
2011-05-21 1:36 ` Kang Kai [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-05-21 8:24 [PATCH 0/1]ghostscript: add patches to make it run cross compile platform V2 Kang Kai
2011-05-21 8:24 ` [PATCH 1/1] ghostscript: fix run failure on mpc8315e Kang Kai
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=4DD71712.4000601@windriver.com \
--to=kai.kang@windriver.com \
--cc=poky@yoctoproject.org \
--cc=richard.purdie@linuxfoundation.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.