Hi All,

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)
/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: libXext.so.6, needed by
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so, not found (try
using -rpath or -rpath-link)
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `XGetErrorDatabaseText'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `XPending'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `XextAddDisplay'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `XFree'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `XextFindDisplay'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `_XReply'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `_XDeqAsyncHandler'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `XextCreateExtension'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `_XGetAsyncData'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `_XEatData'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `_XFlush'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `_XSend'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `_XRead'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `XextRemoveDisplay'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `XMissingExtension'
/home/shiv/lpc3250/new_ltib/ltib/rootfs/usr/lib/libXtst.so: undefined
reference to `XQueryExtension'

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

Reply via email to