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 ) id 1GHazu-0003C0-77 for garchives@archives.gentoo.org; Mon, 28 Aug 2006 06:53:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7S6pseL018912; Mon, 28 Aug 2006 06:51:54 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7S6psUv029663 for ; Mon, 28 Aug 2006 06:51:54 GMT Received: (qmail invoked by alias); 28 Aug 2006 06:51:54 -0000 Received: from host-6.mikroweb.hu (EHLO mail.bridge.intra) [193.17.175.6] by mail.gmx.net (mp028) with SMTP; 28 Aug 2006 08:51:54 +0200 X-Authenticated: #507653 Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 07E3A9E79 for ; Mon, 28 Aug 2006 08:51:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at bridge.intra Received: from mail.bridge.intra ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tiBA9FsY-ViZ for ; Mon, 28 Aug 2006 08:51:35 +0200 (CEST) Received: by mail.bridge.intra (Postfix, from userid 200) id CA5793C37; Mon, 28 Aug 2006 08:51:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.bridge.intra (Postfix) with ESMTP id 7A928383B for ; Mon, 28 Aug 2006 08:51:33 +0200 (CEST) Date: Mon, 28 Aug 2006 08:51:32 +0200 (CEST) From: "Peter S. Mazinger" To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Problem cross compiling modular X In-Reply-To: <769bedeb0608241331o7a28dd5bia66fd5631b5b7b35@mail.gmail.com> Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Y-GMX-Trusted: 0 X-Archives-Salt: c2f2b700-ed68-484f-b7d3-c7f4db707875 X-Archives-Hash: 86dd3bda21a02db0ed776d4b69409c8d On Thu, 24 Aug 2006, Leonardo Shiguemi Dinnouti wrote: > 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 if that is a cross-build, then you need the arm version of libXau, not the host one Peter > > Could someone help-me, please? > > Good luck Ryan, > Leonardo. > > > On 8/24/06, Enrico Weigelt wrote: > > * Ryan Baldwin 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 :( > > > > > > > > > This appears to indicate though that cross compiling Xorg is not > > > really supported under gentoo? > > > > Isn't supported really, at all. > > > > > > > > > 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. > > > > > > > > > >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 > > > > > -- Peter S. Mazinger ID: 0xA5F059F2 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 -- gentoo-embedded@gentoo.org mailing list