From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-1158-garchives=archives.gentoo.org@gentoo.org>)
	id 1GGLsy-000336-1V
	for garchives@archives.gentoo.org; Thu, 24 Aug 2006 20:33:08 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7OKVHFS023811;
	Thu, 24 Aug 2006 20:31:17 GMT
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7OKVGul017881
	for <gentoo-embedded@lists.gentoo.org>; Thu, 24 Aug 2006 20:31:16 GMT
Received: by wx-out-0506.google.com with SMTP id r21so667450wxc
        for <gentoo-embedded@lists.gentoo.org>; Thu, 24 Aug 2006 13:31:16 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=EgqWKXt6ONs0b5JBcQZbOqtbqjx/EUKlXh/RIKxt31P2IEiUc0gMkYT5UvaIxAmprqcCoHaF6XrPdm1hiCXBth291Hpl2hbKXz+v4EnBhr1F54zYJQfHnPCo16gd4djHC3OI7HPRdqR0jxBnMio13LAMLabCES/u0OBXjHd4+MQ=
Received: by 10.70.67.15 with SMTP id p15mr3123051wxa;
        Thu, 24 Aug 2006 13:31:15 -0700 (PDT)
Received: by 10.70.110.19 with HTTP; Thu, 24 Aug 2006 13:31:15 -0700 (PDT)
Message-ID: <769bedeb0608241331o7a28dd5bia66fd5631b5b7b35@mail.gmail.com>
Date: Thu, 24 Aug 2006 17:31:15 -0300
From: "Leonardo Shiguemi Dinnouti" <leonardo.dinnouti@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Problem cross compiling modular X
In-Reply-To: <20060824191912.GC14958@nibiru.local>
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <001201c6a0f4$194451d0$1a06a8c0@LXP0004>
	 <003601c6a109$a8733d20$1a06a8c0@LXP0004>
	 <20060824191912.GC14958@nibiru.local>
X-Archives-Salt: a7773a60-8617-41ab-ae9c-e9917b0795a8
X-Archives-Hash: 529bd7eb5af574470e2a2cfe6f4fea9f

Hi,

I've changed the ebuild (libX11-1.0.3.ebuild) in the following lines:

IUSE="ipv6 malloc0returnsnull"
CONFIGURE_OPTIONS="$(use_enable ipv6 malloc0returnsnull)"

and emerged with:

USE="ipv6 -malloc0returnsnull" emerge xorg-x11

But I'm still in trouble (can't find libXau.so, besides I'm sure that
it is there ...)

/usr/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find -lXau

gentoo-arm # find . -iname "libXau*"

./usr/lib/libXau.so.6.0.0
./usr/lib/libXau.so.6
./usr/lib/libXau.a
./usr/lib/libXau.la
./usr/lib/libXau.so

Could someone help-me, please?

Good luck Ryan,
Leonardo.


On 8/24/06, Enrico Weigelt <weigelt@metux.de> wrote:
> * Ryan Baldwin <ryan.baldwin@nexusalpha.com> schrieb:
>
> Hi,
>
> > I have resolved this problem I think by referring to the Xorg cross
> > compilation guide. It seems I need to pass --enable-malloc0returnsnull
> > to configure, set CC_FOR_BUILD and apply a few patches.
>
> in other words: manually repair the broken buildfiles :(
>
> <snip>
>
> > This appears to indicate though that cross compiling Xorg is not
> > really supported under gentoo?
>
> Isn't supported really, at all.
>
> <snip>
>
> > Presumably this would be done when the 'cross' USE flag is set otherwise?
> > Is this the case or am I missing something obvious ?
>
> Eh, crosscompiling via USE flag ?!
> It's a matter of the right toolchain (including proper system root)
> and not the individual package configuration.
>
> <snip>
>
> > >Since sending my last post I have found:
> > >
> > >     cp -r /tmp/target/usr/include/X11
> > >/usr/i686-pc-linux-uclibc/sys-include/
>
> Bad. You really should use an sysroot'ed toolchain and put all
> includes under $SYSROOT, in exactly the same way as would be
> installed on an normal system.
>
>
> cu
> --
> ---------------------------------------------------------------------
>  Enrico Weigelt    ==   metux IT service - http://www.metux.de/
> ---------------------------------------------------------------------
>  Please visit the OpenSource QM Taskforce:
>         http://wiki.metux.de/public/OpenSource_QM_Taskforce
>  Patches / Fixes for a lot dozens of packages in dozens of versions:
>         http://patches.metux.de/
> ---------------------------------------------------------------------
> --
> gentoo-embedded@gentoo.org mailing list
>
>
-- 
gentoo-embedded@gentoo.org mailing list