Re: Error while cross compiling classpath-0.93 with ltib toolchain.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-01-11 at 23:14 +0530, ashwin athram wrote:
> I am getting following error while compiling the classpath:
> checking for X... libraries
> /home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/, headers
> /home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/include/
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for gethostbyname... yes
> checking for connect... (cached) yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking for XTestQueryExtension in -lXtst... no
> configure: error: libXtst NOT found, required for GdkRobot
>
> My config.log:
> 
> configure:25244:
> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
> -o conftest -g -O2
> -I/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/arm-none-linux-gnueabi/sysroot/usr/include
> -L/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib conftest.c -lXtst
> -L/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/  >&5
> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/../../../../arm-none-linux-gnueabi/bin/ld:
> warning: libX11.so.6, needed by
> /home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so, not found (try
> using -rpath or -rpath-link)

This is your real problem. Somehow libX11.so.6 isn't found when linking
with libXtst.so. But I admit to not know how that can happen.

> my .configure command is as follows:
> ./configure
> CC=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
> --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
> CPPFLAGS=-I/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/include
> LDFLAGS=-L/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib
> --x-libraries=/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/
> --x-includes=/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/include/
> --disable-rpath
> CPPFLAGS=-I/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/arm-none-linux-gnueabi/sysroot/usr/include
> --with-x
> 
> Thanks for your kind help in advance.
> 
> Regards,
> Ashwin





[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux