From: Jamie Lenehan <lenehan@twibble.org>
To: Alain2210 <alain2210@free.fr>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: gd package and cross compile badness
Date: Fri, 1 Sep 2006 11:32:35 +1000 [thread overview]
Message-ID: <20060901013235.GA12885@twibble.org> (raw)
In-Reply-To: <1156967236.44f5eb4411b36@imp5-g19.free.fr>
On Wed, Aug 30, 2006 at 09:47:16PM +0200, Alain2210 wrote:
> Hello,
>
> I'm trying to compile tetex with org.openembedded.dev but it needs to compile gd
> (gd_2.0.33) but it does not work. It seems to be a problem in configure. In the
> config.log
> I can see
> CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
> cc1: internal compiler error: Aborted
>
> I have not well understood the message on http://www.openembedded.org/
> about this. So I'm writing to this list.
The configure script is looking in /usr/include for headers, but
those headers are for your host system and not for the target system.
I suspect you have one of those distro's that include the X header in
/usr/include only and not in /usr/X11R6/include and so it's the
search for the X headers that is the issue.
It looks for the X headers because they are needed if freetype or xpm
is support is being included in gd. It looks like neither of these
are included, so disabling the check for X is probably the correct
fix:
#
# old_revision [63b7883c8cd45c0306b301ca925831ff27775b20]
#
# patch "packages/gd/gd_2.0.33.bb"
# from [09dd91fdad9775cef7f151a0565b024ee673a635]
# to [1216c7c3c1dba874b78d93bcaa926ba3217bb075]
#
============================================================
--- packages/gd/gd_2.0.33.bb 09dd91fdad9775cef7f151a0565b024ee673a635
+++ packages/gd/gd_2.0.33.bb 1216c7c3c1dba874b78d93bcaa926ba3217bb075
@@ -13,7 +13,8 @@ EXTRA_OECONF += " --with-zlib=${STAGING_
EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
--with-png=${STAGING_LIBDIR}/.. \
--with-jpeg=${STAGING_LIBDIR}/.. \
- --without-xpm"
+ --without-xpm \
+ --without-x"
EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}"
--
Jamie Lenehan <lenehan@twibble.org>
next prev parent reply other threads:[~2006-09-01 1:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-30 19:47 gd package and cross compile badness Alain2210
2006-09-01 1:32 ` Jamie Lenehan [this message]
2006-09-01 10:01 ` Alain2210
2006-09-01 14:20 ` Jamie Lenehan
2006-09-01 14:55 ` Alain2210
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=20060901013235.GA12885@twibble.org \
--to=lenehan@twibble.org \
--cc=alain2210@free.fr \
--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.