* Re: [gentoo-embedded] Problem cross compiling modular X
@ 2006-08-24 20:31 99% ` Leonardo Shiguemi Dinnouti
0 siblings, 0 replies; 1+ results
From: Leonardo Shiguemi Dinnouti @ 2006-08-24 20:31 UTC (permalink / raw
To: gentoo-embedded
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
^ 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-07-06 12:02 [gentoo-embedded] Problem cross compiling modular X Ryan Baldwin
2006-07-06 14:37 ` Ryan Baldwin
2006-08-24 19:19 ` Enrico Weigelt
2006-08-24 20:31 99% ` Leonardo Shiguemi Dinnouti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox