Gentoo Archives: gentoo-embedded

From: Leonardo Shiguemi Dinnouti <leonardo.dinnouti@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Problem cross compiling modular X
Date: Thu, 24 Aug 2006 20:33:08
Message-Id: 769bedeb0608241331o7a28dd5bia66fd5631b5b7b35@mail.gmail.com
In Reply to: Re: [gentoo-embedded] Problem cross compiling modular X by Enrico Weigelt
1 Hi,
2
3 I've changed the ebuild (libX11-1.0.3.ebuild) in the following lines:
4
5 IUSE="ipv6 malloc0returnsnull"
6 CONFIGURE_OPTIONS="$(use_enable ipv6 malloc0returnsnull)"
7
8 and emerged with:
9
10 USE="ipv6 -malloc0returnsnull" emerge xorg-x11
11
12 But I'm still in trouble (can't find libXau.so, besides I'm sure that
13 it is there ...)
14
15 /usr/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld:
16 cannot find -lXau
17
18 gentoo-arm # find . -iname "libXau*"
19
20 ./usr/lib/libXau.so.6.0.0
21 ./usr/lib/libXau.so.6
22 ./usr/lib/libXau.a
23 ./usr/lib/libXau.la
24 ./usr/lib/libXau.so
25
26 Could someone help-me, please?
27
28 Good luck Ryan,
29 Leonardo.
30
31
32 On 8/24/06, Enrico Weigelt <weigelt@×××××.de> wrote:
33 > * Ryan Baldwin <ryan.baldwin@××××××××××.com> schrieb:
34 >
35 > Hi,
36 >
37 > > I have resolved this problem I think by referring to the Xorg cross
38 > > compilation guide. It seems I need to pass --enable-malloc0returnsnull
39 > > to configure, set CC_FOR_BUILD and apply a few patches.
40 >
41 > in other words: manually repair the broken buildfiles :(
42 >
43 > <snip>
44 >
45 > > This appears to indicate though that cross compiling Xorg is not
46 > > really supported under gentoo?
47 >
48 > Isn't supported really, at all.
49 >
50 > <snip>
51 >
52 > > Presumably this would be done when the 'cross' USE flag is set otherwise?
53 > > Is this the case or am I missing something obvious ?
54 >
55 > Eh, crosscompiling via USE flag ?!
56 > It's a matter of the right toolchain (including proper system root)
57 > and not the individual package configuration.
58 >
59 > <snip>
60 >
61 > > >Since sending my last post I have found:
62 > > >
63 > > > cp -r /tmp/target/usr/include/X11
64 > > >/usr/i686-pc-linux-uclibc/sys-include/
65 >
66 > Bad. You really should use an sysroot'ed toolchain and put all
67 > includes under $SYSROOT, in exactly the same way as would be
68 > installed on an normal system.
69 >
70 >
71 > cu
72 > --
73 > ---------------------------------------------------------------------
74 > Enrico Weigelt == metux IT service - http://www.metux.de/
75 > ---------------------------------------------------------------------
76 > Please visit the OpenSource QM Taskforce:
77 > http://wiki.metux.de/public/OpenSource_QM_Taskforce
78 > Patches / Fixes for a lot dozens of packages in dozens of versions:
79 > http://patches.metux.de/
80 > ---------------------------------------------------------------------
81 > --
82 > gentoo-embedded@g.o mailing list
83 >
84 >
85 --
86 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Problem cross compiling modular X "Peter S. Mazinger" <ps.m@×××.net>