public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-embedded] Problem cross compiling modular X
  @ 2006-08-28  6:51 99% ` Peter S. Mazinger
  0 siblings, 0 replies; 1+ results
From: Peter S. Mazinger @ 2006-08-28  6:51 UTC (permalink / raw
  To: gentoo-embedded

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 <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
> >
> >
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2006-08-24 20:31     [gentoo-embedded] Problem cross compiling modular X Leonardo Shiguemi Dinnouti
2006-08-28  6:51 99% ` Peter S. Mazinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox