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 <[EMAIL PROTECTED]> wrote: > > * Ryan Baldwin <[EMAIL PROTECTED]> 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/ > > --------------------------------------------------------------------- > > -- > > [email protected] 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 -- [email protected] mailing list
