I'm trying to compile the x11 for arm. I've done my host.def and cross.def (See bellow) but when I compile I get the following error: xf86Configure.c: En la función `DoConfigure': xf86Configure.c:887: `PATH_MAX' no ha sido declarado aquí (primero úselo en esta función) xf86Configure.c:887: (Cada identificador no declarado solamente se reporta una vez xf86Configure.c:887: para cada funcion en la que aparece.) make[5]: *** [xf86Configure.o] Error 1 make[5]: Leaving directory `/home/inaki/DAS/java/x11/build/programs/Xserver/hw/xfree86/common' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/inaki/DAS/java/x11/build/programs/Xserver/hw/xfree86' make[3]: *** [hw/xfree86] Error 2 make[3]: Leaving directory `/home/inaki/DAS/java/x11/build/programs/Xserver' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/inaki/DAS/java/x11/build/programs' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/inaki/DAS/java/x11/build' make: *** [all] Error 2 In english is: PATH MAX has not been declared. Here is my host.def #define KDriveXServer YES #define TinyXServer YES #define CrossCompiling YES #define TouchScreen YES #undef BuildRandR #define BuildRandR YES #define BuildXInputLib YES #define ProjectRoot /home/inaki/DAS/X11R6 #define Freetype2Dir $(TOP)/extras/freetype2 #define Freetype2LibDir $(TOP)/exports/lib #define BuildXTrueType YES #define BuildScreenSaverExt YES #define BuildScreenSaverLibrary YES #define SharedLibXss YES #define ServerXdmcpDefines #define XfbdevServer YES #define HasZlib NO And my cross.def /* $XFree86: xc/config/cf/cross.def,v 1.3 2002/04/04 14:05:33 eich Exp $ */ /* * This file contains redefinitions of some symbols to enable * cross compilation: e.g. paths for include files and paths to * compiler images. It will have to be edited to reflect these * given your local configuration. */ #if 0 #undef i386Architecture #define Arm32Architecture #undef OptimizedCDebugFlags #define OptimizedCDebugFlags -O2 #define ServerCDebugFlags -O2 #undef StandardDefines #define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \ -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE #undef CcCmd #define StdIncDir /usr/local/arm-linux/arm/include #define PreIncDir #undef PostIncDir #define PostIncDir /usr/local/arm-gcc/arm/lib/gcc-lib/arm-linux/3.2.3/include #define CcCmd /usr/local/arm-gcc/arm/bin/arm-linux-gcc #undef CplusplusCmd #define HasCplusplus YES #define CplusplusCmd /usr/local/arm-gcc/arm/bin/arm-linux-g++ #define DoRanlibCmd YES #define RanlibCmd /usr/local/arm-gcc/arm/bin/arm-linux-ranlib #undef ExtraLoadFlags #define ExtraLoadFlags #define FbNoPixelAddrCode #undef TermcapLibrary #define TermcapLibrary -ltermcap #undef LdPostLib #define LdPostLib -L/usr/local/arm-gcc/arm/arm-linux/lib #undef ExtensionOSDefines #define ExtensionOSDefines #define ServerXdmcpDefines /**/ #define HostCcCmd cc #endif #include <cross.rules> _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86