Hi, I'm trying to build X as minimal as possible and I had this error:
gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../hw/xfree86 -I../../../../hw/xfree86/include -I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support -I../../../../hw/xfree86/os-support/bus -I../../../../os -DHAVE_XORG_CONFIG_H -DXF86PM -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/local/ssl/include -I../../../../include -I../../../../include -I../../../../Xext -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -g -O2 -MT linuxPci.lo -MD -MP -MF .deps/linuxPci.Tpo -c linuxPci.c -fPIC -DPIC -o .libs/linuxPci.o In file included from linuxPci.c:271: /usr/include/linux/pci.h:453: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_power_t' linuxPci.c:553: warning: no previous prototype for 'xf86AccResFromOS' I'm crosscompiling for ARM in a scratchbox environment: gcc 4.2.4 glibc 2.3.3 In this discussion [1] they say something about headers problem, can it be possible? how can i manage this error? Best regards, Diego A. Fons. [1] http://www.mail-archive.com/xorg@lists.freedesktop.org/msg03923.html _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg