Error configuring libXau-X11R7 and xproto

p z pjz1607 at gmail.com
Thu Jul 12 04:18:38 PDT 2007


Hello,

      I want to cross compile Xlib for my application. I am getting
error while compiling libXau and libXdmcp.

      It might be for Xproto. I dont know if i have complied Xproto corretly.

Please help

here is my compile option for libXau :

 ./configure CC=arm-linux-gcc --build=i386-redhat-linux
--host=arm-linux --prefix=$/home/midhun/xlib/xau
XAU_CFLAGS=/home/midhun/xlib/xproto/include/X11
XAU_LIBS=/home/midhun/xlib/xproto/lib/pkgconfig/xproto.pc

here is my make option and the error generated

 make install
rm -f XauFileName.3 XauReadAuth.3 XauLockAuth.3 XauUnlockAuth.3
XauWriteAuth.3 XauDisposeAuth.3 XauGetAuthByAddr.3
XauGetBestAuthByAddr.3
(for i in XauFileName.3 XauReadAuth.3 XauLockAuth.3 XauUnlockAuth.3
XauWriteAuth.3 XauDisposeAuth.3 XauGetAuthByAddr.3
XauGetBestAuthByAddr.3 ; do \
         echo .so man3/Xau.3 > $i; \
         done)
touch shadows.DONE
make  install-am
make[1]: Entering directory `/home/midhun/xlib/libXau-X11R7.2-1.0.3'
if /bin/sh ./libtool --tag=CC --mode=compile arm-linux-gcc
-DHAVE_CONFIG_H -I. -I. -I. -I./include   -Wall -Wpointer-arith
-Wstrict-prototypes         -Wmissing-prototypes
-Wmissing-declarations     -Wnested-externs -fno-strict-aliasing
/home/midhun/xlib/xproto/include/X11  -g -O2 -MT AuDispose.lo -MD -MP
-MF ".deps/AuDispose.Tpo" -c -o AuDispose.lo AuDispose.c; \
        then mv -f ".deps/AuDispose.Tpo" ".deps/AuDispose.Plo"; else
rm -f ".deps/AuDispose.Tpo"; exit 1; fi
mkdir .libs
 arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing
/home/midhun/xlib/xproto/include/X11 -g -O2 -MT AuDispose.lo -MD -MP
-MF .deps/AuDispose.Tpo -c AuDispose.c  -fPIC -DPIC -o
.libs/AuDispose.o
arm-linux-gcc: /home/midhun/xlib/xproto/include/X11: linker input file
unused because linking not done
cc1: /home/midhun/xlib/xproto/include/X11: No such file or directory
make[1]: *** [AuDispose.lo] Error 1
make[1]: Leaving directory `/home/midhun/xlib/libXau-X11R7.2-1.0.3'
make: *** [install] Error 2


Thank you

Prashant



More information about the xorg mailing list