Ken Moffat a écrit :
> On Tue, Jul 18, 2006 at 10:54:34AM +0200, kriss wrote:
>> Beyond Linux From Scratch - Version svn-20060715
>> Chapter 25. X Window System Environment
>> x86_64
>> i try to have x11 in 64 bits
>>
>> CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" make linux-dri
>> give :
>> mklib: Making Linux shared library: savage_dri.so
>> /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
>
> Kriss,
>
> for multilib you sometimes have to change things from what is in the
> (x86) blfs book. For X itself, that should just be a case of
> --datadir=/usr/lib64 --libdir=/usr/lib64, but Mesa is a different
> can of worms.
>
> I haven't built Mesa on x86_64, but my investigations for ppc64
> suggest that you will want to 'make linux-dri-x86-64' for 64-bit
> (and for anybody who wants to build a 32-bit Mesa on x86_64
> multilib, the target is probably 'linux-dri-x86').
>
> Whenever you see the 'skipping incompatible' message, it means ld
> is trying to link to the wrong set of libraries. Usually, this
> happens when you are building 32-bit and libtool picks up the 64-bit
> libs, but in this case it is a sign that CC is being overridden.
>
> HTH
>
> Ken
thanks ken
i have badly installed all x11 and deps in /lib
but now i've got a lot of warnings about the changed size of symbols and
an impossible stating
i will remake it properly after a sleep
thanks
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page